Why Putting Heavy RAG Inside Your OLTP Postgres Taxes Both Workloads
Full-stack TypeScript, Go, and Next.js builders love Supabase and Neon for good reason: instant PostgreSQL, clean branching/auth primitives, and built-in pgvector. Comparing Supabase Vector against Neon pgvector honestly reveals where each shines, and why stuffing 10 GB to 50 GB of RAG chunks into your primary app database backfires:
Supabase Vector(batteries-included BaaS, fixed VM RAM cliffs): Supabase’s$25/moPro plan gives your app Postgres, Auth, and S3-backed Storage on a1 GB/2 GBNano/Micro compute slice. The moment you index1M+embeddings (1536dor3072d) with HNSW, memory pressure forces upgrades to Large/XL/2XL/4XL Compute Add-ons ($110to$410+/mo), and heavy vector scans compete for CPU and buffer cache with live checkout and login queries.Neon pgvector(instant Postgres branching, CU wake/keep-alive physics): Neon’s serverless architecture ($19/moLaunch,$69/moScale) makes preview-branch testing effortless and scales dev databases to zero. Under production RAG or 24/7 coding-agent MCP polling, however, two things happen: continuous queries pin autoscaled Compute Units (4to8+CUs at$0.106-$0.222/CU-hr, or$300-$600+/mo) warm around the clock, or cold-wake events suffer Pageserver page-fetch spikes while warming multi-gigabyte HNSW graphs.- Five layers you still write and maintain by hand in Edge Functions / Next.js:
- Parsing multi-page PDFs, DOCX files, and tables without severing column headers,
- Calling OpenAI/Voyage embeddings and managing re-index queues on schema updates,
- Wiring Cohere Rerank (
$2.00 / 1,000searches) because rawpgvector<=>cosine misses fine numeric distinctions, - Detecting contradictory docs (
0built-in conflict checks in SQL), and - Building & hosting customer-facing help/docs portals plus Streamable HTTP MCP endpoints.
Three-Way Comparison: Supabase Vector vs Neon pgvector vs Voxell Forge
| Capability / Cost Line | Supabase Vector (Postgres + Edge) |
Neon (Serverless pgvector) |
Voxell Forge (Paired with Lean Postgres OLTP) |
|---|---|---|---|
| Best Role in Your Stack | Auth, RLS, Realtime, OLTP rows | Branchable serverless OLTP Postgres | Dedicated 5-stage retrieval, Spaces & HTTP /mcp |
Compute Cost @ 25 GB Index |
$210 - $410+/mo (2XL-4XL RAM add-on) |
$250 - $550+/mo (pinned warm multi-CU) |
$199/mo annual (Team; $39/mo Builder 5 GB) |
| OLTP Isolation | Vector scans share OLTP CPU/RAM unless split | Shared branch compute unless separate project | 100% isolated GPU-native retrieval (87 ms P50) |
| PDF / DOCX / PPTX Chunking | DIY in Deno Edge Functions / external OCR | DIY worker + external OCR API | Included (header cleanup + table column binding) |
| Embeddings + Conditioning | External OpenAI API ($0.13/1M) |
External OpenAI API ($0.13/1M) |
Turbo $0 forever + C_corpus (99.04% Recall@20) |
| Neural Reranking | External Cohere API ($2.00/1k queries) |
External Cohere API ($2.00/1k queries) |
Included Max reranker (0.8849 nDCG@10, 75.93% Strict@1) |
| Contradiction Detection | None (SELECT ... ORDER BY embedding <=> blends conflicts) |
None (0 conflict holds) |
Coherence POST /vqs + GET /conflicts + --as-of |
| Hosted Docs Spaces & Seats | Build your own Next.js UI | Build your own Next.js UI | Included Branded Spaces ($0 reader & agent seats) |
Architectural Win: Keep Supabase/Neon at $19-$25/mo, Ship 0.8849 nDCG@10 Retrieval Today
Instead of upgrading your transactional Postgres cluster to $300+/mo RAM instances and maintaining 2,000 lines of chunking/reranking glue, keep Supabase or Neon lean for relational state and call Voxell Forge over REST or Remote Streamable HTTP MCP:
# 1. Verify C_corpus + Max reranking + conflict audit right now (zero API key)
curl -sS -X POST https://api.voxell.ai/api/v1/agent/xray \
-H "Content-Type: application/json" \
-d '{
"documents": [
{"name": "billing-faq.md", "text": "Pro workspaces include 14-day free trials without a credit card."},
{"name": "checkout-terms.md", "text": "Pro workspace trials require upfront card authorization and convert after 7 days."}
]
}'
# 2. Add Voxell Forge Remote HTTP MCP to Claude Code or Cursor in one line
claude mcp add --transport http voxell-forge https://api.voxell.ai/mcp/try
Supabase Vector, Neon pgvector & Voxell Forge Sizing References
- Vector Store Deep Dives: Pinecone vs Qdrant vs pgvector and Mintlify vs ReadMe vs Branded Spaces.
- API & Pricing: Answers & MCP API Reference, Branded Spaces, and Voxell Forge Pricing.