Direct answer
- Best for solo builders: At 50,000 chunks and 50,000 queries a month, Pinecone Standard costs its $50 minimum because roughly $8 of usage sits inside it, Supabase Pro costs $25 and a self-hosted pgvector database on a Hostinger KVM 2 VPS costs $14.99 at the renewal rate. Pinecone's usage only passes its $50 minimum at about 312,000 queries a month, assuming 10 read units per query at $16 per million. Pinecone's flat $20 Builder plan suits small indexes.
- Best for agencies: At 1 million chunks and 1 million queries the calculator gives about $162 on Pinecone Standard against $25 on Supabase Pro and $14.99 self-hosted, so query-heavy clients widen the gap. Pinecone's read units depend on index size, and practitioners report bills landing 2.5 to 4 times above early estimates, so measure real units on a sample. Keep each client in a separate namespace or schema and track queries per client.
- Pricing trap: Answer generation usually costs more than storage. A query that sends four 500-token chunks plus a 200-token prompt and returns 300 tokens costs about $0.0074 on Claude Sonnet 5.5, or roughly $370 for 50,000 queries, against about $51 on DeepSeek V4.1 Flash. Pinecone also raised its Standard minimum from $25 to $50 in October 2025, and Supabase's free plan pauses after a week of inactivity.
Copy-paste workflow prompt
I am building a question-answering knowledge base from these documents: {describe document types and total size}. Recommend a chunking strategy: chunk size in tokens, overlap, how to split by headings or sections, and what metadata to store with each chunk. Estimate how many chunks I will end up with and how many of them a typical question should retrieve. Explain the trade-off between larger and smaller chunks for answer quality and cost.How the numbers are calculated
The default scenario is 50,000 stored chunks and 50,000 queries a month. The calculator assumes each 1,536-dimension chunk takes about 6 KB, so 50,000 chunks are about 0.3 GB, which at Pinecone's $0.33 per GB is about $0.10. It assumes 10 read units per query, so 50,000 queries use 500,000 read units, which at $16 per million is $8, for about $8.10 in usage. Standard bills the larger of usage and its $50 monthly minimum, so the result is $50. At 1 million chunks and 1 million queries it is $1.98 plus $160, or $161.98. Supabase Pro is $25 a month and includes 8 GB of database, about 1.33 million chunks, plus a $10 compute credit, with extra disk at $0.125 per GB and no per-query charge, assuming the included small compute is enough. The self-hosted option is a Hostinger KVM 2 VPS at $14.99, with your maintenance time not counted. The 6 KB per chunk and 10 read units per query are assumptions, and Pinecone read units scale with index size, so real bills differ. We have not measured recall, latency or throughput on any of them. Index a 10,000-chunk sample on each and read the usage dashboards. Prices and plan limits change, so confirm them on each vendor's page.
| Tool / Tier | Base Monthly Price | Included Credits / Rate | Hidden Overage Trap |
|---|---|---|---|
| Pinecone Starter / Builder | Free / $20 per month | Starter: 2 GB, 2M write and 1M read units; Builder: 10 GB, 5M write and 2M read units | Starter is limited to one AWS region and 5 indexes; Builder has fixed unit caps. |
| Pinecone Standard | $50 per month minimum, then pay as you go | $0.33 per GB storage; reads $16 to $18 and writes $4 to $4.50 per million units | Read units rise with index size; reported bills run 2.5 to 4 times above estimates. |
| Supabase Pro with pgvector | $25 per month | 8 GB database, $10 compute credit; extra disk $0.125 per GB; no per-query charge | Larger indexes need bigger compute, which starts at $10 for Micro; free plan pauses after a week idle. |
| Hostinger KVM 2 VPS (self-hosted pgvector) | $8.99 per month intro; $14.99 at renewal | 2 vCPU, 8 GB RAM, 100 GB NVMe | Billed upfront for the term; backups, updates and security are yours. |
FAQ
Frequently asked questions
What is a chunk?
A chunk is a piece of a document, such as a few paragraphs, that is converted into a vector and stored so it can be searched. Chunk size affects both answer quality and cost.
What drives the cost of a RAG system?
For most workloads the answer model dominates, because every query pays for the retrieved context as input tokens plus the generated answer. Vector storage and queries are usually the smaller line item, unless query volume is very high.
Do I need a dedicated vector database?
Not always. Postgres with a vector extension can handle small and medium knowledge bases at a low fixed cost. Move to a dedicated service when your scale, latency needs or operations capacity justify the extra bill.
What happens if I change my chunk size?
You usually need to re-embed and re-index your documents, which costs embedding fees and write units. Decide your chunking strategy on a sample before indexing everything.
How can I reduce the cost per query?
Retrieve fewer and more relevant chunks, cap context length, use a cheaper model for simple questions, and turn on prompt caching for repeated instructions. Measure answer quality each time you make a change.