aicoolies logo
SpiceDB logo
SpiceDB logo

SpiceDB

Google Zanzibar-inspired authorization database

freemiumopen sourceupdated Jul 7, 2026

SpiceDB is an open-source authorization database inspired by Google's Zanzibar system, providing relationship-based access control (ReBAC) at scale. It defines permissions through a schema language that models relationships between users, resources, and roles, then evaluates authorization checks in single-digit milliseconds. Used by companies like Netflix and GitHub, SpiceDB handles millions of permission checks per second.

SpiceDB implements Google's Zanzibar authorization model as an open-source database purpose-built for permission checking at scale. Instead of embedding authorization logic in application code or relying on role-based access control that becomes unmanageable as systems grow, SpiceDB stores relationships between entities and evaluates permission queries against a schema that defines how relationships compose into permissions. This enables complex authorization patterns like hierarchical teams, shared resources, and inherited permissions.

The schema language lets developers model their authorization domain declaratively. A schema defines object types, their relations, and how permissions derive from those relations. For example, a document might have an owner relation and an editor relation, with view permission granted to anyone who is an owner, editor, or member of an organization that owns the document. SpiceDB evaluates these queries through an optimized graph traversal engine that resolves complex permission chains in single-digit milliseconds.

Backed by AuthZed with venture funding and over 6,600 GitHub stars, SpiceDB has been adopted by companies including Netflix, GitHub, and Canva for production authorization. It exposes gRPC and HTTP APIs, supports PostgreSQL, MySQL, CockroachDB, and Spanner as storage backends, and provides client libraries for Go, Python, Java, Ruby, and JavaScript. The distributed architecture handles horizontal scaling for millions of relationships and permission checks, making it suitable for multi-tenant SaaS platforms and complex enterprise applications.

Pricing

Free open source — AuthZed managed from $500/mo

Platforms

gRPC and HTTP APIs — Go, Python, Java, Ruby, JS clients

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

KTransformers parent kvcache-ai logo

KTransformers

Heterogeneous CPU-GPU inference and SFT for large MoE models

Open-source framework for running and fine-tuning large Mixture-of-Experts models with heterogeneous CPU-GPU execution, optimized kernels, limited VRAM and SGLang or LLaMA-Factory integrations.

Open Source
vLLM Production Stack parent vLLM logo

vLLM Production Stack

Official Kubernetes and Helm reference stack built on the vLLM inference engine

Official vLLM reference implementation for scaling the existing inference engine on Kubernetes with Helm, request routing, KV-cache offload, autoscaling and Prometheus/Grafana observability.

Open Source
Dynamo logo

NVIDIA Dynamo

Distributed inference orchestration above vLLM, SGLang and TensorRT-LLM

Open-source, datacenter-scale orchestration layer that coordinates vLLM, SGLang and TensorRT-LLM across nodes with disaggregated serving, KV-aware routing, multi-tier cache management and automatic scaling.

Open Source
GPUStack logo

GPUStack

Open-source GPU control plane for scalable AI model serving

Open-source GPU cluster manager that configures vLLM, SGLang, TensorRT-LLM or custom engines, serves models through compatible APIs, and provisions SSH-accessible GPU instances across on-premises, Kubernetes and cloud environments.

Open Source
Mooncake logo

Mooncake

Disaggregated KV cache storage and transfer for LLM serving

Open-source infrastructure for disaggregated LLM serving that pools KV caches across prefill and decode workers, with high-performance transfer, distributed storage and integrations for vLLM and SGLang.

Open Source
LMCache logo

LMCache

Reusable KV cache infrastructure for scalable LLM inference

Open-source KV cache management layer that persists, offloads and reuses model key-value caches across requests and serving engines to reduce repeated prefill work and improve inference throughput.

Open Source

Comparisons

SpiceDB vs OpenFGA — Google Zanzibar Authorization Engines Compared

SpiceDB and OpenFGA are the two leading open-source implementations of Google's Zanzibar authorization system. Both provide relationship-based access control at scale, but they differ in backing, ecosystem integration, and operational characteristics. This comparison helps teams choose the right Zanzibar implementation for their authorization infrastructure.

SpiceDBOpenFGA

FAQ

What is SpiceDB?

SpiceDB is an open-source authorization database inspired by Google's Zanzibar system, providing relationship-based access control (ReBAC) at scale. It defines permissions through a schema language that models relationships between users, resources, and roles, then evaluates authorization checks in single-digit milliseconds. Used by companies like Netflix and GitHub, SpiceDB handles millions of permission checks per second.

Is SpiceDB free?

SpiceDB offers a free tier alongside paid plans. Free open source — AuthZed managed from $500/mo

Is SpiceDB open source?

Yes — SpiceDB is open source.

What are the best SpiceDB alternatives?

The top editor-verified SpiceDB alternatives are OpenFGA, Authentik.