Softwr

Databases · head to head

SurrealDB vs Valkey

SurrealDB logo

SurrealDB

Databases

Multi-model database combining documents, graphs, vectors and time-series

From
Free
Free plan
Yes
Valkey logo

Valkey

Databases

Open-source in-memory data store forked from Redis

From
Free
Free plan
Yes

The short version

  • Valkey is free; SurrealDB starts at $0.192/mo.
  • Only SurrealDB lists multi-model engine; only Valkey lists BSD licensed.
  • Where SurrealDB falls short: the listed $0.192/node/hr Scale pricing lacks transparent higher-tier rates, requiring a sales conversation for full production sizing.
  • Where Valkey falls short: younger project, so its track record is short even though the codebase is not.

How do SurrealDB and Valkey differ?

SurrealDB and Valkey differ on pricing model, platforms and year founded (2022 against 2024). Only the attributes on which SurrealDB and Valkey actually diverge.

Attributes where SurrealDB and Valkey differ
AttributeSurrealDBValkey
Pricing modelUsage-basedOpen source, no licence fee; managed cloud billed separately
PlatformsWeb, API, Windows, macOS, LinuxLinux, macOS, Self-hosted
Founded20222024

Identical on both: starting price (Free), free tier (Yes), category (Databases).

Which features does each one have?

They share no listed features; 6 appear only for SurrealDB and 4 only for Valkey. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in SurrealDB

  • Multi-model engine
  • ACID transactions
  • Hybrid retrieval
  • Horizontal scaling
  • Multi-region disaster recovery
  • FIPS-compliant cryptography

Only in Valkey

  • Redis-compatible
  • BSD licensed
  • Rich data structures
  • Replication and persistence

What is each one used for?

SurrealDB is most often brought in for AI agent memory and retrieval-augmented generation; Valkey for migrating from Redis without rewriting application code. The jobs each tool is most often brought in to do.

SurrealDB

  • AI agent memory and retrieval-augmented generationnot Valkey
  • Applications needing documents, graphs and vectors in one databasenot Valkey
  • Knowledge graph construction from unstructured datanot Valkey
  • Regulated workloads requiring SOC2/ISO27001/HIPAA-eligible hostingnot Valkey

Valkey

  • Continuing on a permissively licensed in-memory store after the Redis licence changenot SurrealDB
  • Caching and session storage where a foundation-governed project is a procurement requirementnot SurrealDB
  • Migrating from Redis without rewriting application codenot SurrealDB

Where do SurrealDB and Valkey fall short?

SurrealDB's most cited limit: HIPAA compliance is only available as an Enterprise add-on rather than included in standard paid tiers. Valkey's: younger project, so its track record is short even though the codebase is not. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

SurrealDB

  • The listed $0.192/node/hr Scale pricing lacks transparent higher-tier rates, requiring a sales conversation for full production sizing
  • As a newer multi-model database, it has a smaller ecosystem of drivers, ORMs and community tooling than established single-model databases
  • HIPAA compliance is only available as an Enterprise add-on rather than included in standard paid tiers
  • Combining multiple data models in one engine can add query-planning complexity compared to purpose-built single-model databases

Valkey

  • Younger project, so its track record is short even though the codebase is not
  • Divergence from Redis grows over time, so compatibility is strongest near the fork point and weakens as both evolve
  • Ecosystem tooling and documentation still frequently assume Redis, leaving translation work

How much do SurrealDB and Valkey cost?

SurrealDB has a free plan, with paid plans from $0.192/mo; Valkey is free to use. Plan by plan below, from each vendor's own pricing page.

SurrealDB

Free
  • StartFree
    • 1 free instance, then from $0.021/hr
    • 1GB storage free forever
    • Vertical scaling to terabytes
  • Scale$0.192/mo
    • $0.192/node/hr
    • Production-grade fault tolerance
    • Horizontal scaling to petabytes
  • EnterpriseOn request
    • Self-hosted, custom pricing
    • Clustered fault-tolerant deployments
    • FIPS-compliant cryptography

Valkey

Free
  • ValkeyFree
    • Full functionality
    • Self-hosted
    • No usage limits

Which should you pick?

Choose SurrealDB if

  • You need multi-model engine.
  • You want to start without paying.
  • You work on Web, API, Windows, macOS, Linux.
  • You also want acid transactions.

Choose Valkey if

  • You need redis-compatible.
  • You want to start without paying.
  • You work on Linux, macOS, Self-hosted.
  • You also want bsd licensed.

Questions people ask

Is SurrealDB or Valkey better?
It depends on the job. SurrealDB fits aI agent memory and retrieval-augmented generation; Valkey fits continuing on a permissively licensed in-memory store after the Redis licence change. SurrealDB starts at Free and Valkey at Free.
Which is cheaper, SurrealDB or Valkey?
SurrealDB starts at Free and Valkey at Free.
Does SurrealDB or Valkey run on more platforms?
SurrealDB runs on Web, API, Windows, macOS, Linux. Valkey runs on Linux, macOS, Self-hosted.
Can I use SurrealDB for free?
Both have a free tier, so you can try either at no cost before committing.
What is SurrealDB best used for?
SurrealDB is most often used for ai agent memory and retrieval-augmented generation, applications needing documents, graphs and vectors in one database, knowledge graph construction from unstructured data, regulated workloads requiring soc2/iso27001/hipaa-eligible hosting. Of those, ai agent memory and retrieval-augmented generation and applications needing documents, graphs and vectors in one database are not what Valkey is typically brought in for.
What can SurrealDB do that Valkey cannot?
SurrealDB covers Multi-model engine, ACID transactions, Hybrid retrieval, Horizontal scaling. Valkey covers Redis-compatible, BSD licensed, Rich data structures, Replication and persistence.

Answered from the vendors’ own pages

SurrealDB: What does SurrealDB cost?

SurrealDB Cloud's Start plan is free with one free instance (then from $0.021/hr), the Scale plan runs $0.192/node/hr for production workloads, and Enterprise self-hosted deployments use custom pricing.

Source
Valkey: Is Valkey free?

Yes, BSD-licensed open source under the Linux Foundation.

SurrealDB: Is there a free plan and what are its limits?

Yes, the Start plan includes one free instance with 1GB of storage free forever and 1GB of outbound data transfer per month, aimed at prototypes and development.

Source
Valkey: Why does Valkey exist?

Redis changed its licence away from BSD in 2024. Valkey is the community fork continuing under permissive terms, backed by AWS, Google Cloud and Oracle among others.

SurrealDB: How is billing handled?

Customers are invoiced monthly based on actual usage in a pay-as-you-go model with no long-term commitments, though commitment-based discounts are available.

Source
Valkey: Can I switch from Redis to Valkey?

At the fork point it is drop-in compatible with existing clients and data. The further both projects move from that point, the more you should verify the specific features you use.

Share

Related pages

Other head to heads