High-Volume Embeddings RAG Cost for 1 Million Documents
One-time corpus vectorization plus recurring monthly updates and semantic search query budgets across OpenAI, Google, Voyage AI, Cohere, and Mistral.
Reference Workload Profile
1,000,000 docs (~500 words each = 665M initial tokens) + 50,000 monthly updates + 25,000 daily search queries
Pre-Calculated Monthly & Annual Model Cost Breakdown
| Model / Hardware Option | Provider / Tier | Monthly Cost | Annual Cost | Notes |
|---|---|---|---|---|
| text-embedding-3-small | OpenAI (1536 dims) | $1.04 | $25.78 | One-time index: $13.30 ($0.02/1M) |
| Voyage-3 | Voyage AI (1024 dims) | $3.12 | $77.34 | One-time index: $39.90 ($0.06/1M) |
| Cohere Embed v3 | Cohere (1024 dims) | $5.20 | $128.90 | One-time index: $66.50 ($0.10/1M) |
| Mistral Embed | Mistral (1024 dims) | $5.20 | $128.90 | One-time index: $66.50 ($0.10/1M) |
| text-embedding-3-large | OpenAI (3072 dims) | $6.76 | $167.57 | One-time index: $86.45 ($0.13/1M) |
| Gemini Embedding 001 | Google (3072 dims) | $7.80 | $193.35 | One-time index: $99.75 ($0.15/1M) |
Architectural Takeaway & Optimization Tips
Initial vectorization of 1M 500-word documents (~665M tokens) costs just $13.30 on OpenAI text-embedding-3-small (or $6.65 with 50% Batch mode) vs $86.45β$99.75 on 3072-dimension large embeddings.
Use-Case Engineering FAQ
How expensive is indexing 1 million documents into a vector database?
At ~500 words (~665 tokens) per document, embedding 665M tokens costs between $13.30 (OpenAI text-embedding-3-small) and $99.75 (Gemini Embedding 001), before ongoing vector DB RAM hosting.
Does embedding dimension size change infrastructure cost?
Yes: 3072-dim vectors consume 2Γ more memory in pgvector, Qdrant, or Pinecone than 1536-dim vectors and 3Γ more than 1024-dim models like Voyage-3.