Softwr

Cybersecurity · head to head

Ory Kratos vs Valkey

Ory Kratos logo

Ory Kratos

Cybersecurity

Headless identity and user management API

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

  • Both are free.
  • Only Ory Kratos lists headless API; only Valkey lists BSD licensed.
  • Where Ory Kratos falls short: headless means you build every screen, which is significant work compared with a hosted login page.
  • Where Valkey falls short: younger project, so its track record is short even though the codebase is not.

How do Ory Kratos and Valkey differ?

Ory Kratos and Valkey differ on pricing model, platforms and category (Cybersecurity against Databases). Only the attributes on which Ory Kratos and Valkey actually diverge.

Attributes where Ory Kratos and Valkey differ
AttributeOry KratosValkey
Pricing modelOpen-source self-hosted, with a paid managed networkOpen source, no licence fee; managed cloud billed separately
PlatformsLinux, Self-hostedLinux, macOS, Self-hosted
CategoryCybersecurityDatabases
Founded20192024

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

Which features does each one have?

They share no listed features; 4 appear only for Ory Kratos 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 Ory Kratos

  • Headless API
  • Self-service flows
  • Multi-factor authentication
  • Pluggable identity schemas

Only in Valkey

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

What is each one used for?

Ory Kratos is most often brought in for products needing complete control over the look and flow of authentication; Valkey for migrating from Redis without rewriting application code. The jobs each tool is most often brought in to do.

Ory Kratos

  • Products needing complete control over the look and flow of authenticationnot Valkey
  • Applications that must not hand user identity data to a third partynot Valkey
  • Teams building identity as infrastructure across several servicesnot Valkey

Valkey

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

Where do Ory Kratos and Valkey fall short?

Ory Kratos's most cited limit: headless means you build every screen, which is significant work compared with a hosted login page. 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.

Ory Kratos

  • Headless means you build every screen, which is significant work compared with a hosted login page
  • More moving parts than a monolithic IAM: Kratos handles identity, and OAuth2 needs Ory Hydra alongside
  • Documentation assumes real familiarity with identity concepts and is not a gentle introduction
  • Self-hosting identity carries the security and availability burden that hosted providers absorb

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 Ory Kratos and Valkey cost?

Ory Kratos is free to use; Valkey is free to use. Plan by plan below, from each vendor's own pricing page.

Ory Kratos

Free
  • Self-hostedFree
    • Full identity server
    • All flows
    • Community support

Valkey

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

Which should you pick?

Choose Ory Kratos if

  • You need headless api.
  • You want to start without paying.
  • You work on Linux, Self-hosted.
  • You also want self-service flows.

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 Ory Kratos or Valkey better?
It depends on the job. Ory Kratos fits products needing complete control over the look and flow of authentication; Valkey fits continuing on a permissively licensed in-memory store after the Redis licence change. Ory Kratos starts at Free and Valkey at Free.
Which is cheaper, Ory Kratos or Valkey?
Ory Kratos starts at Free and Valkey at Free.
Does Ory Kratos or Valkey run on more platforms?
Ory Kratos runs on Linux, Self-hosted. Valkey runs on Linux, macOS, Self-hosted.
Can I use Ory Kratos for free?
Both have a free tier, so you can try either at no cost before committing.
What is Ory Kratos best used for?
Ory Kratos is most often used for products needing complete control over the look and flow of authentication, applications that must not hand user identity data to a third party, teams building identity as infrastructure across several services. Of those, products needing complete control over the look and flow of authentication and applications that must not hand user identity data to a third party are not what Valkey is typically brought in for.
What can Ory Kratos do that Valkey cannot?
Ory Kratos covers Headless API, Self-service flows, Multi-factor authentication, Pluggable identity schemas. Valkey covers Redis-compatible, BSD licensed, Rich data structures, Replication and persistence.

Answered from the vendors’ own pages

Ory Kratos: Is Ory Kratos free?

Yes, open source and free to self-host. Ory Network is a paid managed service.

Valkey: Is Valkey free?

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

Ory Kratos: What does headless mean here?

Kratos provides identity flows as APIs and no user interface. You build the login, registration and recovery screens yourself.

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.

Ory Kratos: Does Kratos do OAuth2?

No. Kratos handles user identity; OAuth2 and OpenID Connect provider functionality is Ory Hydra, a separate component.

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