Supabase pgvector vs. Pinecone for Production RAG Workflows: Real Monthly Cost at 1M Vectors
The Verdict Up Front
For 1 million 1536-dimension embeddings, Supabase pgvector lands around $135/mo — Pro at $25 plus a $110+/mo compute add-on to hold the HNSW index in RAM — and that bill stays flat no matter how many times you query. Pinecone Serverless starts cheaper: $20/mo Builder covers about 330,000 queries, and stays near the $50/mo Standard floor if you split vectors across namespaces. Above roughly 900,000 queries a month the read-unit meter overtakes Supabase's fixed bill — that is where the two curves cross.
Supabase pgvector (above ~900K queries/mo)
Best for: Builders already on Postgres who want a flat, predictable vector bill at 1M embeddings
At 1 million 1536-dimension vectors, Supabase pgvector costs about $135/mo — Pro plus a $110+/mo compute add-on to hold the HNSW index in RAM — and that bill is flat regardless of query volume. Pinecone Serverless is cheaper at low traffic, from $20/mo on Builder up to $96-$112/mo on Standard at 1M queries. The two curves cross near 900,000 queries a month.
Start with SupabaseWhat We Actually Tested
We sized both stacks for the same job: a production RAG app holding 1 million 1536-dimension embeddings, serving steady semantic search across a range of query volumes.
The corpus is about 6 GB of raw vectors. That one fact decides most of the cost, because it fits Supabase Pro's 8 GB disk but not the RAM the HNSW index needs to answer fast.
Tested & Verified: December 2026. Every figure below is a published list rate at that date; the Supabase compute line is the add-on, not the base plan.
- Corpus size: 1M × 1536 dims × 4 bytes ≈ 6.1 GB of raw vector data
- Supabase Pro base: $25/mo (8 GB disk, 250 GB egress)
- Supabase compute add-on for HNSW RAM indexing: ~$15/mo at entry → $110+/mo on the larger instance a 1M index forces
- Supabase realistic monthly at 1M vectors: $25 + $110 ≈ $135/mo, flat regardless of query count
- Supabase uncached egress overage beyond 250 GB: $0.09/GB
- Pinecone Builder: $20/mo, ~2M read units ≈ 330,000 queries at ~6 RU each
- Pinecone Standard floor: $50/mo minimum, storage $0.33/GB, reads $16/million RU, writes $4/million WU
- Ingesting 1M vectors: ~6M write units ≈ $24 one-off — spread it over two months or it exceeds Builder's 5M WU
Pricing Math
Supabase is a fixed bill; Pinecone is a metered one. The table below prices both at the same 1M-vector corpus.
| Line item | Supabase pgvector | Pinecone Serverless |
|---|---|---|
| Platform base | Pro $25/mo — 8 GB disk, 250 GB egress | Standard $50/mo minimum; Builder $20/mo |
| Compute for HNSW RAM index | +$15/mo entry, +$110+/mo at the 1M-vector instance | Serverless — no instance to size |
| 1M vectors (1536-dim) storage | ~6.1 GB — fits the 8 GB disk, not base RAM | ~6.1 GB × $0.33/GB ≈ $2/mo |
| Ingest 1M vectors (one-off) | Included; build the index after import | ~6M write units ≈ $24 (≈ $28 on Standard) |
| Steady reads at 1M queries/mo | $0 extra — flat instance price | ~6 RU/query → ~6M RU ≈ $96-$112/mo (one namespace) |
| Realistic monthly at 1M vectors | ~$135/mo, independent of query count | $20-$112/mo, set by traffic and namespaces |
The Supabase column barely moves once the instance is sized. The Pinecone column is cheap at low traffic and expensive at high traffic — the opposite shape.
The Hidden Limit Nobody Mentions
Both stacks hide one trap, and they are mirror images of each other.
Supabase Pro's 8 GB disk holds the 6.1 GB corpus, which makes it look like 1M vectors fit on the base plan. They do not. pgvector's HNSW index must sit in RAM to return results in milliseconds, so once you cross a few hundred thousand vectors you are pushed onto a compute add-on — $15/mo at entry, $110+/mo on the larger instance. The disk is a decoy; the RAM is the bill. The free tier also pauses after 7 days idle, so a prototype that goes quiet for a week cold-starts into failure.
Pinecone bills storage, read units, and write units on separate meters. Loading 1M vectors is a one-off ~6M write-unit burst — more than Builder's 5M monthly allowance, so you spread the load over two months or move to Standard. Steady cost is reads: a query costs 1 read unit per GB of the namespace it searches, so a 6.1 GB namespace bills ~6 RU per query, about $96-$112/mo at 1M queries. Split the corpus into many namespaces and each query drops to the 0.25 RU minimum, keeping you near the $50 floor.
The Winner
Above roughly 900,000 queries a month, Supabase's ~$135/mo fixed bill beats Pinecone's read-unit meter, and it keeps winning as traffic grows — until the index outgrows the instance's RAM.
Below that line, especially for prototypes and low-traffic internal tools, Pinecone's $20-$50 floor is the cheaper, lower-ops choice. If you already run Postgres, Supabase also collapses two systems into one: vectors, relational data, and auth live in the same database, so there is no second store to keep in sync.
Pro is $25/mo — budget the plus-$110 compute add-on once the 1M-vector index needs RAM · Affiliate link — we may earn a commission.
Builder is $20/mo for ~330K queries — spread the initial write burst or it rolls into Standard · Affiliate link — we may earn a commission.
If your RAG pipeline has to ingest documents before it embeds them, the Firecrawl vs Apify vs Jina Reader cost teardown prices that scraping layer, and Firecrawl is the ingestion tool most teams wire in front of Supabase. For the orchestration bill that runs the pipeline, the Zapier vs Make vs n8n cost calculator models the run-count line directly.
Frequently asked questions
Q: Is Supabase pgvector cheaper than Pinecone at 1 million vectors?
At 1M 1536-dimension vectors, Supabase runs about $135/mo — Pro at $25 plus a $110+/mo compute add-on for the HNSW index — and that is fixed regardless of traffic. Pinecone ranges from $20/mo on Builder (roughly 330,000 queries) to $96-$112/mo on Standard at 1M queries. Below ~900,000 queries a month Pinecone is cheaper; above it, Supabase wins.
Q: How much RAM does 1 million 1536-dimension vectors need for HNSW?
The raw corpus is about 6.1 GB (1M × 1536 × 4 bytes). pgvector's HNSW index must be resident in RAM to answer queries in milliseconds, so the base Pro instance is not enough — you add compute, which starts at ~$15/mo and jumps to $110+/mo on the larger instance the 1M index forces. Supabase Pro's 8 GB disk holds the data but not the working index.
Q: How does Pinecone's read-unit billing work at this scale?
A query bills 1 read unit per GB of the namespace it searches, with a 0.25 RU minimum. A 6.1 GB namespace therefore costs ~6 RU per query — about $96-$112/mo at 1M queries at $16/million RU. Split the same corpus into 100 namespaces and every query hits the 0.25 floor, keeping you near the $50/mo Standard minimum.
Q: What does it cost to ingest 1 million vectors into Pinecone?
The initial load is a one-off ~6M write-unit burst at $4/million WU — roughly $24, or about $28 on Standard. That exceeds Builder's 5M monthly write-unit allowance, so spread the import across two months or step up to Standard. On Supabase the import is included; you build the HNSW index after loading.
Q: When does pgvector stop making sense and Pinecone win?
pgvector hits a wall when the HNSW index no longer fits the instance's RAM — practically in the low tens of millions of vectors, or when you need to scale reads past what one Postgres instance serves. Pinecone is built for that: serverless scaling, no instance to size. For prototypes and low-traffic apps, Pinecone's $20-$50 floor also undercuts Supabase's fixed ~$135/mo.
Q: Does the Supabase free tier work for a production RAG app?
No. The free tier is 500 MB of database and 5 GB of egress, and it pauses after 7 days of inactivity — a quiet week puts your vector store to sleep. Use it to prototype the schema and queries, then move to Pro before launch.
Written by
Marcus ChenLead Automation Architect
Marcus builds and benchmarks AI operations workflows for e-commerce and agency teams. He previously ran a 12-person ops team and has shipped 400+ production Make and n8n scenarios.