SurrealDB
by SurrealDB Ltd
Multi-model database for AI agents: vector, graph, document and relational data in one Rust engine, now serverless on Cloudflare
SurrealDB is a multi-model database that stores documents, graphs, vectors, time-series and relational data in one engine and queries them together. It is for engineering teams building RAG systems and AI agents who want agent memory, vector search and graph relationships in one transactional store instead of four or five separate databases.
SurrealDB is a source-available database written in Rust that combines document, graph, relational, time-series, geospatial, key-value, full-text and vector search in one engine queried with SurrealQL, REST or JSON-RPC over WebSockets. It runs as an embedded library, in the browser through WebAssembly, at the edge, as a single node or as a distributed cluster, and its SDKs cover Rust, JavaScript, Node.js, Deno, Python, Go, .NET, PHP and Java. Version 3.0 reached general availability on February 17, 2026, alongside a $23M Series A extension that brought total funding to $44M, with Chalfen Ventures and Begin Capital joining FirstMark and Georgian. That release pitched the database as agent memory: memory is stored as graph relationships plus semantic metadata, and the Surrealism plugin system lets developers define how agents build and query it inside the database. In November 2026 the company announced SurrealDB 4, with a rebuilt query core, more than 240 fixes over 3.x, PostgreSQL and MySQL wire-protocol compatibility and vendor benchmarks showing much faster indexed and filtered vector queries, together with SurrealDB Earth, a serverless edition on Cloudflare Workers, Durable Objects and R2 that scales to zero. The company reported 2.3 million downloads and 31,000 GitHub stars in February 2026, and its pricing page lists Samsung, Nvidia, Verizon, Tencent and Walmart as running on SurrealDB. The engine is licensed under BSL 1.1, converting to Apache 2.0 within four years of each release. It competes with Postgres plus pgvector, Neo4j, MongoDB and dedicated vector stores such as Pinecone and Qdrant.
A platform or AI engineering lead running a RAG or agent stack spread across a vector store, a graph database and an operational database, who wants to consolidate them.
Vector search, graph traversal and relational queries run transactionally in one database, so agent memory and context live in one store with one query language.
At a Glance
- Category
- Data & Analytics
- Pricing
- Freemium, Usage-based, Contact for pricing
- Target Market
- CTOs, Data Engineers, Enterprise Developers, AI Engineers
- Deployment
- Self-hosted, Multi-cloud, Edge-first, Hybrid
- Founded
- 2022
- Headquarters
- United Kingdom
- Customers
- 14,000+ developers on Surreal Cloud and 2.3M downloads (vendor figures, 2026)
Key Features
- ✓Multi-model engine
Documents, graphs, relational tables, time-series, geospatial, key-value, full-text and vector search share one transactional engine and one query language.
- ✓Agent memory and Surrealism plugins
Stores agent memory as graph relationships with semantic metadata, and plugins let developers run memory logic inside the database.
- ✓Deploy anywhere
The same engine runs embedded, in the browser via WebAssembly, at the edge, as a single node, as a cluster or on Kubernetes.
- ✓SurrealDB Earth serverless
A Cloudflare-hosted edition with isolated per-database storage, about 300 ms cold starts and scale to zero, for per-tenant or bursty workloads.
- ✓Postgres and MySQL wire compatibility
SurrealDB 4 accepts PostgreSQL and MySQL clients over their wire protocols for a defined SQL subset, easing migration from existing tooling.
- ✓Live queries and MCP server
Real-time live queries push changes to clients, and an MCP server lets AI agents create and query databases directly.
Capabilities
Use Cases
- •Consolidating a RAG stack
Replace a separate vector store, graph database and operational database with one engine, cutting sync jobs and keeping retrieval consistent with the source data.
- •Persistent agent memory
Give agents long-term memory that links facts, users and past actions as a graph and retrieves them by semantic similarity in one query.
- •Edge and embedded AI
Run the database embedded on devices such as vehicles or in the browser, then sync with a server running the same engine.
- •Per-customer serverless databases
Spin up an isolated SurrealDB Earth database per tenant or per agent in about half a second and pay nothing while it is idle.
Ideal For
Best For
- ✓Agent memory that mixes semantic vectors with graph relationships between users, entities and events
- ✓RAG pipelines that currently stitch together a vector database, a graph database and Postgres
- ✓Local-first and edge applications that need an embedded or in-browser database with the same engine as the server
- ✓Serverless prototypes and per-tenant databases that should scale to zero when idle, via SurrealDB Earth
- ✓Real-time applications that use live queries to push changes to clients
Not Ideal For
- ✗Teams that need an OSI open-source licence today; the engine is BSL 1.1 until each release converts to Apache 2.0
- ✗Workloads that already run well on Postgres and only need basic vector search, where pgvector avoids a new database
- ✗Organisations that want years of production track record; independent reports have raised durability defaults and past performance issues
- ✗Buyers who want serverless without a Cloudflare dependency, since SurrealDB Earth runs only on Cloudflare
Integrations
Deployment
Market & Ratings
14,000+ developers on Surreal Cloud and 2.3M downloads (vendor figures, 2026)
Market Analysis
Pros
- ✓Large developer community: about 33,400 GitHub stars and 1,400 forks as of November 2026
- ✓A real free tier and published usage pricing for both serverless and dedicated cloud
- ✓Broad compliance list on the pricing page: SOC 2 Type 2, ISO 27001, GDPR, CCPA and Cyber Essentials Plus, with HIPAA available
- ✓Unusually wide deployment range, from embedded and WebAssembly to clusters and Cloudflare serverless
Cons
- ✗An August 2025 analysis argued RocksDB and SurrealKV instances were not crash-safe unless SURREAL_SYNC_DATA was set, and that benchmarks compared SurrealDB without durable writes against a durable MongoDB
- ✗Hacker News users cite earlier performance problems, and SurrealDB 4's own notes list more than 240 fixes missing from 3.x
- ✗BSL 1.1 licensing rules out some uses that a permissive open-source database would allow
- ✗Upgrading to SurrealDB 4 requires rebuilding vector indexes, and its MongoDB compatibility covers only the Node.js driver
- ✗The CEO concedes it is not the best database for every task, and no G2 ratings were available to check
Pricing
Earth Free
$0
- ✓3M requests per month
- ✓10 GB storage
- ✓100 database active hours
- ✓Up to 100 databases
- ✓Pauses at the limit and keeps data
Earth Pro
From $15/mo
- ✓Launch price per account
- ✓10M requests
- ✓25 GB storage
- ✓1,000 database hours
- ✓Unlimited databases
- ✓Overage: $0.65 per 1M requests, $0.25 per GB, $0.05 per database hour
Cloud
From $0.021/hr per node
- ✓Runs on AWS and Azure
- ✓Single node or cluster
Enterprise (self-hosted)
Contact for pricing
- ✓FIPS-compliant cryptography
- ✓Priority security patches
- ✓Audit logging
- ✓Distributed live queries
- ✓Object file storage
- ✓HIPAA included
The engine itself is free to self-host under BSL 1.1. Serverless Earth is metered on requests, storage and database active hours, with a free tier and a $15 per month Pro launch price; dedicated Cloud nodes start at $0.021 per hour. FIPS cryptography, audit logging and distributed live queries are Enterprise-only and quoted on request, and HIPAA is an add-on below Enterprise. Prices as listed on surrealdb.com/pricing, checked November 26, 2026.
Security & Compliance
Connect
Sources
This page was written from 9 sources, 5 on domains other than surrealdb.com.
- 1.surrealdb.com — pricingvendor
- 2.surrealdb.com — earthvendor
- 3.surrealdb.com — 4vendor
- 4.surrealdb.com — surrealdb raises 23m series a extension to power the ai nativendor
- 5.github.com — surrealdb
- 6.venturebeat.com — surrealdb 3 0 wants to replace your five database rag stack
- 7.tech.eu — surrealdb secures 23m and launches surrealdb 3 0 to address
- 8.blog.cf8.gg — surrealdbs ch
- 9.hn.algolia.com — 47047825
Stay Ahead of the Curve
Weekly enterprise AI insights for technology leaders. No spam, no vendor pitches—unsubscribe anytime.
SubscribeRelated Products
MariaDB Enterprise Platform 2027
A MariaDB subscription bundle that puts vector search, agent memory and a semantic cache next to the transactional database
Natter
Employee listening through recorded one-to-one conversations, with AI theme analysis back within hours
Unsiloed AI
Document parsing APIs that turn PDFs, slides, scans and spreadsheets into cited JSON and Markdown for AI agents.
Nebuly
AI ROI platform that measures what employee and customer AI agents are worth to the business