About Keto
Ory Keto is described as the first and most popular open source implementation of Zanzibar, Google's consistent, global authorization system. It is a headless, API-first server written in Go that manages permissions and answers permission checks.
It centres on relationship-based access control, with policies written in the Ory Permission Language. The README states sub-10ms checks, horizontal scaling to billions of relationships, and use with any identity provider through integration points. It is meant to run in cloud-native environments such as Kubernetes.
There are two ways to run it. On the Ory Network, Ory Permissions is powered by Keto and API compatible, and a free developer account is offered. Self-hosting covers Linux, macOS, Windows and Docker, with PostgreSQL, MySQL or CockroachDB, or building from source.
The open source build carries no licence requirements but is suggested for experiments, prototypes and non-critical workloads. For business-critical use the README recommends the Ory Enterprise License, which adds enterprise features, CVE patches with SLAs, premium support and a private Docker registry.
Key features
- Scalable Zanzibar-based permission checks
- Ory Permission Language for policies
- Relationship-based access control
- Sub-10ms permission checks
- Horizontal scaling to billions of relationships
- Works with PostgreSQL, MySQL and CockroachDB
- Command-line tuple creation and permission checks
Good fit for
- Fine-grained permission checks
- Relationship-based access control
- Authorization alongside an existing identity provider
Keto: questions and answers
- What is Keto used for?
- Keto is an open source authorization server implementing Google's Zanzibar model for relationship-based permission checks at scale. It is a good fit for fine-grained permission checks, relationship-based access control and authorization alongside an existing identity provider.
- Is Keto open source?
- Yes. Keto is open source under the Apache-2.0 licence. Its source code is on GitHub at ory/keto and is written mainly in Go.
- Is Keto free?
- Yes. Keto is open source, so the software itself is free to use. A managed cloud version is also available.
- Can I self-host Keto?
- Yes. Keto can be self-hosted on your own server or infrastructure.
- What is Keto an alternative to?
- Keto is an open-source alternative to Permit.io, Authress and Oso. Other open-source alternatives to Permit.io include SpiceDB, OpenFGA and OPA.
- Is Keto actively maintained?
- Yes. The most recent commit to Keto was on 4 September 2026, and the latest release is v26.2.0, published on 20 March 2026. The project has 5.4k stars on GitHub, with 10 added in the last 30 days.
Open-source alternatives to Keto
See all
SpiceDB
Auth & Identity
Open Source, Google Zanzibar-inspired database for scalably storing and querying fine-grai
Apache-2.0vs Oso★ 7.2k
OpenFGA
Security
A high-performance and flexible authorization/permission engine built for developers and i
Apache-2.0vs Permit.io★ 6.2k
OPA
Open source
Open Policy Agent (OPA) is an open source, general-purpose policy engine.
Apache-2.0vs Permit.io★ 13k
Keycloak
Auth & Identity
Open Source Identity and Access Management For Modern Applications and Services
Apache-2.0vs Auth0★ 38k
Logto
Auth & Identity
🧑🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC
MPL-2.0vs Auth0★ 15k
Pomerium
Security
Pomerium is an identity and context-aware access proxy.
Apache-2.0vs Cloudflare Zero Trust★ 5.1k

Permit.io
Authress
Oso