RAG Chunking & Embedding Cost Calculator
Estimate how chunk size and overlap change your vector index, initial embedding bill, and recurring costs.
Estimate assumptions
Enter total characters or estimate them from pages. This models one continuous corpus and a 30-day month.
Corpus setup
Index and cost preview
Enter valid values to see the estimate.
- Total chunks
- Monthly total
- Initial embedding
- Estimated corpus tokens
- Tokens after chunk overlap
- Overlap per chunk
- Vector index storage
- Vector index RAM
- Monthly re-index embedding
- Monthly query embedding
- Monthly vector storage
Monthly total includes re-indexing, query embeddings, and disk storage. RAM is a capacity estimate.
Plan your vector database budget
Use your chunk count, index size, and monthly query workload to compare providers in BudgetHub.
Explore BudgetHubMethod & FAQ
How is the chunk count calculated?
Estimated tokens equal total characters divided by characters per token, rounded up. Overlap tokens are rounded down. Chunk count is one plus the remaining tokens divided by the chunk size minus overlap, rounded up. A corpus with zero tokens produces zero chunks. Splitting separately at document boundaries can change the count.
How are vector RAM and storage estimated?
Disk bytes equal chunks × dimensions × 4 bytes per float32 value × (1 + index overhead). RAM is disk size times the resident share. GB uses one billion bytes. Actual graph, metadata, replicas, compression, and RAM usage depend on index configuration.
Which costs make up the estimate?
The initial embedding bill uses the full token count after overlap. Monthly embedding costs cover the re-indexed share of that count and the query volume times tokens per query. The monthly total adds vector disk storage. Database compute, search charges, replicas, and taxes are outside this estimate.