Embedding Model API Pricing 2026
Embedding cost is a formula, not a mystery: tokens times unit price. Build cost is small; rebuilds, queries and vector storage are the real line items.
📖 Keep reading
Commercial embedding APIs bill per input token; the output vector is not charged separately. Cost = total tokens × unit price / 1M, and total tokens ≈ documents × average tokens per document. Chinese runs roughly 1-2 tokens per character depending on tokenizer, English about 1.3 tokens per word.
One million documents at 500 tokens each is 500M tokens. At 0.02 USD per million that is about 10 USD; at 0.13 USD about 65 USD. Indexing is cheap. Rebuilding after a chunking change, switching models, or re-indexing new fields repeats that cost, and query traffic bills every day.
Options: OpenAI text-embedding-3-small (1536 dims, supports dimension reduction) and 3-large (3072 dims) as the general baseline; Cohere multilingual for mixed-language corpora; Voyage for retrieval-focused tiers; Gemini embedding with a free tier; self-hosted BGE-M3 (1024 dims, multilingual, dense plus sparse), bge-large-zh-v1.5 for Chinese, and Qwen3-Embedding (0.6B/4B/8B, custom dimensions). Check current unit prices on each vendor's official pricing page; quoting stale numbers breaks budgets.
Self-hosting is not free: GPU, electricity, operations and your own evaluation work. It pays off when data cannot leave the premises or throughput is very high.
Storage: 1536 dims in fp32 is about 6KB per vector, so 1M vectors is roughly 6GB before index overhead; 3072 dims doubles it. Reduce with Matryoshka dimension truncation, int8 or binary quantization, and keeping original text in object storage.
Selection: build a 50-200 query set from real traffic, label the correct documents, and measure Recall@10 and MRR. Leaderboard gaps often do not survive contact with your own corpus.
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.