SurrealDB
A multi-model database written in Rust that combines document, graph, relational, time-series and vector data with real-time features, from embedded use to distributed clusters.
- GitHub stars
- 33k
- Last commit
- 2 days ago
- Latest release
- v3.3.0
- Self-hosted
- Yes
- Hosted version
- Available

SurrealDB is a Rust-based multi-model database that brings several data models into one engine: key-value, document, graph, relational, time-series and geospatial data. Search and retrieval options include full-text, vector and hybrid, and it adds real-time and event-driven capabilities, queried through its SQL-like language, SurrealQL.
Because it supports end-user authentication, SurrealDB can also act as a backend-as-a-service, reducing the amount of server-side code an app needs. It ships as a single Rust binary that can run embedded inside an application, in the browser via WebAssembly, at the edge, as a self-hosted single node, or as a distributed cluster in the cloud. Typical workloads include data-intensive systems that need several data types, storage for AI agents, knowledge graphs, live applications such as recommenders and fraud detection, and embedded or edge deployments.
The repository license is listed as 'Other' on GitHub, so confirm the terms before commercial use. SurrealDB also offers cloud-hosted database service, and topics tag it as a serverless, realtime database for the web.
Key features
- Document, graph and relational models in one engine
- Full-text, vector and hybrid search
- Real-time and event-driven queries
- Built-in user authentication
- Single binary: embedded, edge or cluster
- SurrealQL SQL-like query language
Pricing: The Start plan includes one free instance with 1GB of storage; extra instances are from $0.021 per hour. Scale is $0.192 per node hour with a three-node minimum; self-hosted Enterprise is custom.



