Independent resource. Not affiliated with any provider. Always verify pricing on provider sites.
$embeddingcost

Real-World RAG Embedding Cost Examples: 5 Production Scenarios (September 2026)

Pricing pages tell you $0.02 per million tokens. Here is what that means for five actual RAG applications, with full cost breakdowns: one-time embedding, monthly query cost, monthly storage, and Year 1 total.

Verified September 2026

Customer Support Bot

50k historical tickets, 2k new queries/day, citation-required answers

Full breakdown
Corpus to index
50k tickets x 500 tokens = 25M tokens to embed
Monthly queries
2k queries/day x 30 tokens = 1.8M tokens/month
Storage
50k vectors x 1536 dims x 4 bytes = 307 MB
StackEmbed (once)Query/moVector DB/moYear 1
OpenAI small + pgvector(cheapest)$0.50$0.04$0.0070$1.02
voyage-4 + pgvector$1.50$0.11$0.0070$2.88
OpenAI small + Pinecone (Standard plan) *$0.50$0.04$50$601

* The Pinecone row is the bill, not storage alone. Storage of $0.09 plus about 17k read units a month ($0.27-$0.31) is under the $50/month Standard minimum, so the minimum is what you pay. The free Starter plan (up to 2 GB, 1M read units and 2M write units a month) also fits this workload.

Semantic Search Engine

1M documents, 10k queries/day, fast response required

Corpus to index
1M docs x 500 tokens = 500M tokens to embed
Monthly queries
10k queries/day x 30 tokens = 9M tokens/month
Storage
1M vectors x 1536 dims = 5.72 GB
StackEmbed (once)Query/moVector DB/moYear 1
voyage-4 + Qdrant Cloud$30$0.54$0.69$45
OAI small batch + pgvector(cheapest)$5.00$0.18$0.13$8.72

Internal Knowledge Base

10k Notion pages, 500 employees, general Q&A

Corpus to index
10k pages x 400 tokens = 4M tokens to embed
Monthly queries
500 queries/day x 25 tokens = 375k tokens/month
Storage
10k vectors x 1536 dims = 57 MB
StackEmbed (once)Query/moVector DB/moYear 1
OpenAI small + pgvector(cheapest)$0.08$0.0075$0.0010$0.18
voyage-4 + pgvector$0.24$0.02$0.0010$0.52

E-Commerce Product Search

500k SKUs, 100k queries/day, multilingual

Corpus to index
500k SKUs x 200 tokens = 100M tokens to embed
Monthly queries
100k queries/day x 20 tokens = 60M tokens/month
Storage
500k vectors x 1024 dims = 1.91 GB
StackEmbed (once)Query/moVector DB/moYear 1
Cohere v4 + Qdrant Cloud$10$6.00$0.23$85
OAI small + pgvector(cheapest)$2.00$1.20$0.04$17

Legal Document RAG

100k contracts, accuracy-critical retrieval

Corpus to index
100k docs x 3000 tokens (long docs) = 300M tokens to embed
Monthly queries
500 queries/day x 50 tokens = 750k tokens/month
Storage
100k vectors x 1536 dims = 572 MB
StackEmbed (once)Query/moVector DB/moYear 1
Voyage 3-large + Qdrant Cloud$54$0.14$0.07$56
Voyage law-2 + Qdrant Cloud$36$0.09$0.07$38
OAI large batch + Qdrant(cheapest)$20$0.10$0.07$21

Vector DB/mo for pgvector and Qdrant Cloud is the raw-vector storage footprint at each option's per-GB rate (an estimate for Qdrant, which publishes no per-GB rate), not a managed-database bill. Pinecone rows use Pinecone's published storage and read-unit rates and its $50/month Standard minimum, read from pinecone.io/pricing on 1 October 2026. Plan minimums for each vendor are on the Pinecone, Qdrant and Weaviate guides.

Frequently Asked Questions

How much does a RAG application cost?
On the embedding side, very little. In the scenarios above, the internal knowledge base (10k pages, 500 queries/day) costs $0.08-$0.24 to index once and under $0.03/month in query embeddings. The semantic search engine (1M documents, 10k queries/day) costs $5-$30 to index once and $0.18-$0.54/month in query embeddings. The vector database is usually the bigger recurring line: managed plans carry minimums (Pinecone Standard $50/month, Weaviate Cloud Flex $45/month) that exceed the embedding bill at these sizes, while pgvector on an existing Postgres database adds almost nothing. LLM generation for answers is separate and usually larger than both.
Is embedding cost or LLM generation cost higher in RAG?
LLM generation cost is almost always higher for production RAG applications. Embedding a query costs about $0.0000006 (0.6 millionths of a dollar) on OpenAI small at 30 tokens. Generating a 500-token answer with Claude 3.5 Sonnet costs about $0.0015. The LLM is roughly 2,500x more expensive per request. Embedding optimization matters most for large indexing workloads, not query-time costs.
What is the cheapest way to build a RAG application?
For a small knowledge base: OpenAI text-embedding-3-small for embeddings (cheapest commercial API), pgvector on an existing Postgres database (near-zero storage cost), and a local or smaller LLM for generation. Total embedding cost for a 100k-document knowledge base with 100 daily queries is under $2/month.
How often do I need to re-embed documents?
Only when documents change or when you upgrade embedding models. Static document sets (legal contracts, product manuals) rarely need re-embedding. Frequently updated content (news, tickets, knowledge base articles) should be re-embedded on update. The re-embedding cost is usually small relative to the initial indexing pass.
Does the vector database or the embedding API cost more?
For large corpora, usually the database. Embedding 1 billion tokens with OpenAI text-embedding-3-small costs $20 once. At 500 tokens per chunk that is 2M vectors, about 11.4 GB at 1,536 dimensions, so Pinecone serverless storage at $0.33/GB comes to about $3.78/month. That is more than the Builder plan's 10 GB, and on Standard the $50/month minimum is the real floor, so the database bill passes the one-time embedding cost in the first month. Storage alone would pass it in month 6. Loading the vectors also uses at least 12.3M write units ($49-$55 once at Standard rates, before IDs and metadata). Read units for queries are extra and depend on traffic, which this example does not assume. pgvector or self-hosted Qdrant keeps this cost lowest.
OpenAI pricing deep-dive
The model behind 4 of the 5 cheapest scenarios above
Full calculator
Enter your own numbers for any scenario
Optimization tips
Reduce any scenario cost by 30-80%
Disclaimer: Scenario costs use public pricing as of September 2026. Actual costs depend on token counting, chunk strategy, and specific infrastructure choices. LLM generation costs (for answers) are not included - those are typically the largest component.

Updated September 2026