Use case
Multi-tenant SaaS
Give each customer their own model allowlist, rate-limit policy, and audit bucket — without running a separate gateway per tenant. One deployment, strict per-tenant isolation.
How it works
One gateway, isolated tenants
The X-Tenant header identifies which customer's request this is. Kamiwaza evaluates that tenant's policy tree — their model allowlist, their rate limit, their audit bucket. Other tenants' data and configs are invisible.
# Multi-tenant routing config
version: v1
tenants:
- id: enterprise-acme
model_allowlist: [llama-3.1-70b, claude-3-5-haiku]
rate_limit_rpm: 5000
audit_bucket: s3://acme-audit-logs
- id: startup-beta
model_allowlist: [claude-3-5-haiku]
rate_limit_rpm: 500
audit_bucket: s3://startup-beta-audit
rules:
- match:
tenant: enterprise-acme
route_to: private-gpu
- match:
tenant: startup-beta
route_to: anthropic
Isolation guarantees