# cerbos

Source: https://startwithidentity.com/vendors/authorization/cerbos/
Last updated: 2026-06-19
License: content by Start with Identity. Cite the source URL.

---

## Overview

Cerbos is an open-source (Apache 2.0) authorization layer where you write access policies in YAML and run a stateless decision engine alongside your services. It is a policy-as-code tool in the same family as [Open Policy Agent](https://startwithidentity.com/vendors/authorization/styra-opa/), but purpose-built for application authorization (attribute- and role-based access control) rather than general infrastructure policy. Founded in 2021, Cerbos Inc. follows an open-core model: the engine is free, and Cerbos Hub is the commercial control plane. It decouples access rules from application code so policy can evolve independently.

## What it is good at

The model is clean policy-as-code: resource and principal policies in YAML, version-controlled and testable in CI, evaluated by a stateless policy decision point (PDP) you deploy as a sidecar or service. This keeps decisions fast and authorization logic out of your codebase, and the developer tooling is strong, including local testing, audit logs, and query plans that let you filter lists of resources rather than checking one at a time. For PBAC/ABAC across microservices it is excellent, and statelessness makes it easy to scale horizontally.

## Where it falls short

Because it is stateless and attribute-driven, Cerbos is not a relationship store like Zanzibar-style engines, so deeply relational permissions (nested sharing, ownership graphs across millions of objects) need extra modeling or a different tool such as [OpenFGA](https://startwithidentity.com/vendors/authorization/openfga/) or [AuthZed](https://startwithidentity.com/vendors/authorization/authzed/). Like other pure authorization engines it does nothing for authentication, SSO, or MFA.

## Pricing

The core engine is free and open source under Apache 2.0. Cerbos Hub offers a free tier plus paid plans for policy management, distribution, and audit at scale. Model the difference with the [TCO calculator](https://startwithidentity.com/tools/tco-calculator/).

## Best for, and who should look elsewhere

Choose Cerbos if you want clean, testable policy-as-code for ABAC/PBAC across services and prefer a stateless engine you control. Compare [OpenFGA vs Cerbos](https://startwithidentity.com/compare/openfga-vs-cerbos/) and [Styra/OPA vs Cerbos](https://startwithidentity.com/compare/styra-opa-vs-cerbos/), or the three-way [OpenFGA vs AuthZed vs Cerbos](https://startwithidentity.com/compare/openfga-vs-authzed-vs-cerbos/). See the [authorization guide](https://startwithidentity.com/guides/authorization/).

## Bottom line

Pick Cerbos for clean, testable policy-as-code ABAC/PBAC across services when you want a stateless engine you control rather than a relationship store.
