Skip to main content
Back

Supavec Rises From Carbon.ai's Ashes as Open-Source RAG Infrastructure

Supavec is an open-source RAG-as-a-Service platform that spins up vector search and chat APIs in under 5 minutes, with no vendor lock-in.

Pro

Repo, Full Access
  • Supavec is an open-source RAG-as-a-Service platform that spins up vector search and chat APIs in under 5 minutes.
  • Built as a direct response to Carbon.ai's shutdown, offering full transparency and self-hosting as an alternative to vendor lock-in.
  • Key optimizations: 65% OpenAI cost reduction via batch embeddings, P95 210ms hybrid vector search latency, and +12 pts recall from configurable chunking.
  • Multi-tenant Row-Level Security enforced at the Postgres database level, making it suitable for regulated industries like healthcare and finance.
  • Cloud pricing starts free (100 API calls/month), with paid tiers at $190/year (750 calls) and $1,490/year (5,000 calls); fully self-hostable under Apache 2.0.
  • Python SDK and REST API available; full API docs cover ingestion, search, and streaming chat endpoints.

Supavec is an open-source RAG-as-a-Service platform that lets you go from zero to a working vector search and chat API in under five minutes. It was born out of a real pain point: when Carbon.ai shut down, developers who had built their RAG pipelines on top of it were left scrambling. The creator, Taishi, announced Supavec as a direct response to Carbon.ai's shutdown, seeing a clear need for a reliable, open-source alternative.

RAG (Retrieval-Augmented Generation) is a technique where, instead of asking an LLM to answer purely from its training data, you first retrieve the most relevant chunks from your own documents and feed those as context into the prompt. The result is answers grounded in your actual data rather than hallucinated general knowledge. The hard part has always been building the infrastructure around it: ingestion pipelines, embedding generation, vector storage, hybrid search, multi-tenancy, rate limiting. Supavec packages all of that into a hosted API.

What it actually does

Supavec is a complete infrastructure layer for building RAG applications with any data source at any scale, providing a unified API for document ingestion, vector embedding, semantic search, and conversational AI, all backed by a robust multi-tenant architecture. You bring your documents; Supavec handles everything else.

The core API surface is deliberately small:

  • Upload File / Upload Text -- ingest a document or raw text, get back a file_id
  • Resync / Overwrite -- update documents without re-creating them
  • Search -- semantic retrieval against one or more files
  • Chat -- full conversational endpoint with streaming support

A minimal ingestion call looks like this:

curl -X POST https://api.supavec.com/upload_text \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contents": "your text here"}'

From there, querying is a single POST to /search or /chat with the file_ids you want to search over. A Python API client is also available alongside the REST API, so you are not locked into TypeScript tooling.

The engineering underneath

Built on Next.js, Supabase, and Bun, it features multi-tenant row-level security, batch embeddings with 65% cost reduction, hybrid vector filtering at P95 210ms, PostHog analytics integration, and Redis-backed rate limiting. A few of those numbers are worth unpacking.

  • Batch embeddings (-65% cost): Instead of calling the OpenAI embeddings API once per document chunk, Supavec batches up to 100 documents per request. OpenAI charges per token regardless, so batching eliminates per-request overhead and cuts costs significantly.
  • Configurable chunk and overlap (+12 pts recall): Chunking is how you split a document into pieces before embedding. Overlap means adjacent chunks share some text, so a relevant sentence near a chunk boundary still gets retrieved. Configurable chunk and overlap settings add 12 points of recall improvement.
  • Hybrid filter at P95 210ms: Queries combine a cosine similarity search on the embedding vector with an exact filter on file_id, keeping latency tight even across large corpora.
  • Row-Level Security (RLS): Row-Level Security is enforced at the database level for every query, meaning tenant data isolation is not an application-layer concern -- it is baked into Postgres itself via Supabase.

Self-host or cloud

The platform hits the sweet spot between convenience and control -- unlike Carbon.ai's black-box approach, you can inspect, modify, and self-host every component. The cloud version at supavec.com is the fastest path to production. Self-hosting requires Supabase, Bun, and Upstash (for Redis rate limiting), and the repo includes a LocalSetup.md with step-by-step instructions.

Pricing on the cloud tier is usage-based:

PlanPriceAPI calls/monthRate limit
Free$01005 req/min
Basic$190/year (~$15.83/mo)75015 req/min
Enterprise$1,490/year (~$124/mo)5,00050 req/min

Sign-up is free with no credit card required and no complex configuration needed. The free tier is enough to prototype and validate a use case before committing to a paid plan.

Where it shines

Compared to building custom, you save months of engineering time while getting superior performance through battle-tested optimizations -- the 210ms P95 latency and 65% cost reduction are measurable outcomes from intelligent architecture. The platform is particularly well-suited for:

  • Support knowledge bases: Connect Zendesk, Notion, or Confluence; agents get cited answers without tab-switching
  • Sales call analysis: Ingest meeting transcripts and query for pricing objections, next steps, or sentiment
  • Internal policy Q&A: Keep HR or legal PDFs on-prem; employees query via Slack with exact clause references
  • Developer docs search: Sync your docs repo hourly and ship an AI search bar that returns code snippets and links in under 300ms
  • Legal and compliance: Law firms use Supavec to quickly extract clauses from contracts, cutting review time by 60%

The limits to know about

The free tier's 100 API calls per month will run out fast in any real workload -- each document upload and each search query counts as a call. The platform currently leans heavily on OpenAI for embeddings, which means your embedding costs are separate from Supavec's subscription. And while the self-hosted path is fully supported, you will need to manage Supabase, Upstash, and the Next.js app yourself, which is a non-trivial ops surface for small teams.

The bigger picture

The team saw how Carbon AI's shutdown affected its users, which inspired them to build a sustainable platform -- they believe that through transparency and community, they create software that lasts. That philosophy is reflected in the Apache 2.0 license and the fully open codebase. Unlike proprietary SaaS models, Supavec's open-source nature guarantees your documents are not used to train third-party models.

With over 1,100 GitHub stars and a Python SDK alongside the core TypeScript repo, Supavec is gaining traction as the default starting point for teams that want production-grade RAG infrastructure without writing it from scratch. The official docs cover every endpoint in detail, and the Discord community is active for questions and contributions.