Convex
Published
At a glance
- What it is
- Convex is a reactive backend platform built by Convex, Inc.
- Price from
- Free plan, paid plans from $25 a month per user Details
- Best for
- TypeScript teams building realtime AI chat or agent apps; Apps that need a database, backend functions and live sync in one service
- Official site
- convex.dev
- Last checked
- November 2026
- Watch out for
- Vector search only runs inside Convex actions, not in queries or mutations, so results are not reactive in the way regular queries are.
Convex is a reactive backend platform built by Convex, Inc. Its docs describe it as an open source, reactive database where queries are TypeScript code running inside the database. You get a database, a place to write server functions, and client libraries in one package. The database is document-relational: you store JSON-like nested objects in tables and link them with IDs. On the hosted cloud, Convex runs on PlanetScale with MySQL as the persistence layer. The open source version can use SQLite, Postgres or MySQL.
Developers write queries, mutations and actions in a convex/ folder. Queries only read. Mutations are full transactions with serializable isolation, and neither may make network calls. Actions are where outside work happens, such as calling an LLM or an embedding API. When data that a query depends on changes, Convex reruns the query and pushes the new result to subscribed clients. For AI apps this matters because chat history and agent output update live in the UI without extra plumbing.
The AI pieces are vector search, an Agent component and an AI Gateway. Vector indexes are declared in the schema, but vector searches can only run inside actions, and results return IDs and scores rather than documents. The @convex-dev/agent component manages threads, messages, tools, RAG and workflows. Client libraries cover React, Next.js, Vue, Svelte, Python, Swift, Rust and more. You can also self-host the backend with Docker or a prebuilt binary, with community support on Discord.
Key features
- Reactive queries
- Queries rerun when the data they read changes, and client subscriptions update automatically.
- TypeScript server functions
- Queries, mutations and actions are written in TypeScript with no SQL or ORM, and each mutation runs as a transaction.
- Vector search
- Vector indexes are defined in the schema with a fixed dimension and optional filter fields, and searches return up to 256 results from inside an action.
- Agent component
- The @convex-dev/agent package stores threads and messages, supports tools, streaming, RAG and workflows, and includes hybrid vector and text search over message history.
- AI Gateway
- Lets you call major models from one API, and the pricing page lists its cost as the same as OpenRouter.
- Built-in platform services
- File storage, text search, crons, auth, Node.js actions and preview deployments are included on every plan.
- Self-hosting
- The open source backend runs via Docker or a binary and includes the dashboard and CLI.
Pricing
As of November 2026, Convex lists a Free & Starter plan described as "Free or $0/month and pay as you go" for 1 to 6 developers. The Free plan has built-in resource limits, and Starter is pay-as-you-go beyond them, for example 1M function calls included and $2.20 per additional 1M. Professional costs $25 per developer/month for 1 to 20 developers and adds log streaming, daily backups, custom domains, HIPAA/SOC 2 reports and email support, with higher included usage such as 25M function calls. Business & Enterprise has a $2,500 monthly minimum and adds SAML/SSO, service SLAs and dedicated deployments. Resource prices shown are for US East (N. Virginia) at 1.0x pricing.
Best for
- TypeScript teams building realtime AI chat or agent apps
- Apps that need a database, backend functions and live sync in one service
- Prototypes that may grow into production on the same stack
- Adding vector search next to app data without a separate vector store
Limitations
- Vector search only runs inside Convex actions, not in queries or mutations, so results are not reactive in the way regular queries are.
- A vector search returns only document IDs and scores, so you need a second query to load the documents.
- Each vector search is limited to between 1 and 256 results, and the index has a fixed dimension that must match your embeddings.
- Log streaming, exception reporting and daily backups are not available on the Free & Starter plan.
- Self-hosting gets community support on Discord, and the repository says the internal test suites are not part of the open source release.
Verdict
Convex suits developers who want their database, backend logic and live UI updates handled in TypeScript, with vector search and an agent framework close to the data. The action-only vector search and the extra lookup step take some getting used to. Teams that want plain SQL or a dedicated vector store will find Supabase, Neon or a specialised database a more direct fit.
Sources
Written from the vendor's own site and documentation, checked November 2026. We have no paid relationship that affects what this page says.
- convex.dev /pricing
- docs.convex.dev /understanding
- docs.convex.dev /search/vector-search
- docs.convex.dev /agents
- github.com /get-convex/convex-backend
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.