Embedding Model API Pricing 2026

📘 Tutorials 2026-07-16 · Updated 2026-11-07 4 min read

Embedding API spend is rarely the big cost; storage and re-embedding are. Five providers compared on dimensions, input limits and price tier.

📜 Table of Contents

📖 Keep reading

Embedding API Pricing Compared: OpenAI, Cohere, Voyage, BGE

A counterintuitive starting point: embedding API cost is almost never the big line item. Embedding a 100,000-page corpus costs a few dollars. The real costs are vector storage, re-embedding and retrieval latency. So do not start with "who is cheapest" — start with language, document length and whether data may leave your network.

Options side by side

Model Dimensions Max input Multilingual Self-host Price tier
OpenAI text-embedding-3-small 1536 (truncatable) 8191 tokens Good No Very low
OpenAI text-embedding-3-large 3072 (truncatable) 8191 tokens Good No Low
Cohere Embed v3 1024 512 tokens Strong (multilingual variant) No Medium
Voyage family 1024 / 2048 Long context Strong No Medium
BGE-M3 (open) 1024 8192 tokens Strong, especially Chinese Yes Electricity
jina-embeddings-v3 (open) 1024 8192 tokens Strong Yes Electricity

Per-token prices move every year. Treat the tiers above as relative ordering and check each vendor's pricing page for current figures.

How cheap is cheap

At public list prices, embedding a million tokens costs cents. A 300-page technical book is roughly 150k tokens — under a cent to embed.

The real ledger:

Item Order of magnitude Note
First embedding of 100k pages A few dollars at most One-off, effectively negligible
Storing 1M x 1024 dims 4.1 GB raw 6-10 GB with index; this is the monthly bill
Re-embedding after a model change Same as first run Cheap in money, expensive in downtime
Per-query embedding Under a cent per thousand But latency counts against response time

The takeaway: optimizing API spend is not where the money is. Dimension choice, avoiding model churn and cutting retrieval latency are.

Notes per provider

OpenAI text-embedding-3 is the default in most frameworks. 3-small at 1536 dimensions handles ordinary retrieval; 3-large at 3072 is stronger on fine-grained distinctions. The dimensions parameter truncates output to 1024 or 512 (Matryoshka training), halving storage for a small recall cost — high value for the effort. Once you index at 1024, every query must also use 1024.

r = client.embeddings.create(model="text-embedding-3-small",
                             input=["return policy"], dimensions=1024)

Cohere Embed v3 stands out for input_type: index documents with search_document, query with search_query. The two projections differ, and skipping the parameter wastes a real quality gain. The 512-token input cap means long documents need chunking first — and chunking strategy affects recall more than model choice.

Voyage optimizes for retrieval and has a good reputation on long documents and code. Mid-priced, suitable when recall matters and you do not want to host a model. Model names and context limits change; check current docs.

BGE-M3 is the common Chinese-first choice: 1024 dimensions, 8192 tokens, and it emits dense, sparse and multi-vector representations from one model. Self-hosted means no API fee and no data leaving the network, at the cost of deployment and scaling work.

from FlagEmbedding import BGEM3FlagModel
m = BGEM3FlagModel("BAAI/bge-m3", use_fp16=True)
out = m.encode(["return policy"], return_dense=True, return_sparse=True)

jina-embeddings-v3 also runs 1024 dimensions at 8192 tokens, with task-specific low-rank adapters for retrieval, classification and clustering selected via a task argument. Solid multilingual performance, available as API or self-hosted.

Four decision points

  1. Is the corpus mostly Chinese? Prefer BGE-M3 or jina. Chinese retrieval gaps outweigh price gaps.
  2. Are documents very long? Choose a long-context model, or chunk semantically. Stuffing long text usually loses to chunking with parent-document retrieval.
  3. Must data stay inside the network? Then self-hosting is mandatory and BGE-M3 is the default answer.
  4. Do you need hybrid retrieval? Then BGE-M3's multi-vector output saves maintaining a separate BM25 stack.

A common mistake: taking whatever tops MTEB. Leaderboards average English general tasks; your corpus is Chinese contracts or tickets, and the ranking often inverts. Sample 50-100 real queries, label the correct documents, compute Recall@10. That beats any leaderboard.

Four traps

  1. Changing models without re-indexing. Query vectors from a new model against old vectors are noise, and nothing errors.
  2. Inconsistent truncation. Index at 1024 and query at 1536 either errors or silently misbehaves.
  3. No normalization. With inner product, unnormalized vectors let long documents dominate.
  4. Embedding every query live. Cache vectors for repeated queries; saves both money and tens of milliseconds.

FAQ

3-small versus 3-large? A few recall points in general retrieval, more on long documents. Build a baseline with large, then compare with small.

Must the embedding model match the LLM vendor? No. Retrieval and generation are independent; cross-vendor combinations are common as long as dimensions align.

How much hardware for self-hosting? A 500M-parameter model like BGE-M3 fits one consumer GPU; CPU works at lower throughput. Use GPU for bulk ingestion.

How often to re-embed? If the model, chunking and text cleaning are unchanged, never — just add increments. Change any of the three and you need a full re-embed.

Note: prices, dimension limits and context lengths change. Check vendor pricing pages and model cards.

Related Articles
2026-08-02
Pydantic for LLMs 2026: Guarantee Structured JSON Output From Any Model (28k Stars)
2026-11-21
vLLM on a Mac: pip Has No Wheel, Metal Comes From a Plugin
2026-07-19
Local LLM on Linux: Environment, Service and Troubleshooting
2026-10-19
Best AI Lease Abstraction Software for Commercial Property Managers in 2026: Scoring Clause Coverage, Not Just Fields
2026-08-13
Multimodal LLM vs VLM 2026: The Difference That Decides Your Model Choice
2026-08-14
Excel AI Data Analysis 2026: 6 Tools for People Who Hate Pivot Tables

Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only — no paid placements.

💬 Comments (0)

No comments yet. Be the first!

Login to comment