# SpiceDB

> Open-source, Google Zanzibar-inspired database for fine-grained authorization

Source: https://talira.ai/catalog/spicedb-zzj7ehpm
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Database, Infrastructure
- Categories: [security / auth / authorization](https://talira.ai/categories/security/auth/authorization)
- Platforms: linux, macos, windows, docker, kubernetes[^1][^4]
- Licence: Apache-2.0[^2]
- Pricing: Free tier[^1]
- Pricing notes: Open source is free (Apache 2.0). AuthZed Cloud is usage-based (a permissions system from $2/hour); Dedicated Cloud is priced on reserved vCPUs; self-hosted Enterprise is an annual licence per region and per vCPU.
- Free tier: yes[^1]
- Self-hostable: yes[^1]
- Cloud hosted: yes[^1]
- API: yes[^3]
- Backed by: [AuthZed](https://talira.ai/orgs/authzed.md)

SpiceDB is an open-source permissions database inspired by Google's Zanzibar paper, run as a central authorization service shared by an organization's applications and microservices. Developers define a schema of object types, the relationships between them and the permissions computed from those relationships (with Caveats for bits of policy), write relationships as data, and ask SpiceDB over gRPC or HTTP/JSON whether subject X can perform action Y on resource Z, what a subject can access or who can access a resource. Relationships are stored in Spanner, CockroachDB, PostgreSQL or MySQL, and tooling lets teams validate schema changes and test against a built-in test server. It handles authorization only and works with any identity provider. AuthZed, its maker, sells it as a managed cloud, dedicated cloud and supported self-hosted Enterprise.

## Links

- Website: https://authzed.com/spicedb
- GitHub: https://github.com/https://github.com/authzed/spicedb
- Docs: https://authzed.com/docs
- Pricing: https://authzed.com/pricing

## Problems it solves

- fine-grained permissions like Google Docs sharing in our own app
- a central authorization service for many microservices instead of permission checks in each one
- answer which documents a user can see without loading everything and filtering
- relationship-based access control (ReBAC) at scale
- model nested teams, folders and inherited permissions
- broken access control keeps showing up in our security reviews
- a self-hosted open-source Zanzibar implementation

## Features

- schema of object types, relationships and permissions
- Caveats for conditional policy
- permission checks, lookup resources and lookup subjects
- gRPC and HTTP/JSON APIs
- Spanner, CockroachDB, PostgreSQL and MySQL storage
- schema validation tooling and test server
- official and community client libraries

## Ways to run it

### SpiceDB (open source)

You run it, Apache-2.0. Price: free.[^1]

Only in this edition:

- community support on Discord and GitHub

You arrange:

- servers or Kubernetes to run it on
- a datastore such as PostgreSQL, CockroachDB, Spanner or MySQL

Pricing: https://authzed.com/pricing

### AuthZed Cloud

Hosted by AuthZed. Price: usage-based, from $2/hour.[^1]

Only in this edition:

- managed SpiceDB
- advanced observability and APIs
- standard support

Pricing: https://authzed.com/pricing

### AuthZed Dedicated

Hosted by AuthZed. Price: by quote, reserved vCPU capacity.[^1]

Only in this edition:

- private cloud infrastructure
- multi-region deployments
- premium support

Pricing: https://authzed.com/pricing

### AuthZed Self-Hosted Enterprise

You run it, under a commercial licence. Price: annual licence per region and per vCPU.[^1]

Only in this edition:

- professional support

You arrange:

- infrastructure to run it on, best supported in Kubernetes

Pricing: https://authzed.com/pricing

## Capabilities

- Has an API: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by AuthZed

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [OpenFGA](https://talira.ai/catalog/openfga-72p8a9hd.md): Fine-grained authorization
- [Ory Keto](https://talira.ai/catalog/ory-keto-zvqr5dxq.md): Open source authorization server based on Google Zanzibar, for RBAC and ReBAC
- [Oso Cloud](https://talira.ai/catalog/oso-cloud-8twyv4be.md): A centralized authorization service built on Polar
- [Permit.io](https://talira.ai/catalog/permit-io-ysn0j77h.md): Runtime access control for the AI era
- [Apache Casbin](https://talira.ai/catalog/apache-casbin-q0j8c46t.md): An authorization library that supports access control models like ACL, RBAC, ABAC
- [Cerbos](https://talira.ai/catalog/cerbos-830ttkxr.md): Authorize every identity. Govern every action.

## Sources

[^1]: https://authzed.com/pricing (checked 23 Nov 2026)
[^2]: https://github.com/authzed/spicedb/blob/main/LICENSE (checked 23 Nov 2026)
[^3]: https://authzed.com/spicedb (checked 23 Nov 2026)
[^4]: https://github.com/authzed/spicedb (checked 23 Nov 2026)
