Claude Code Gateway
Private API Gateway

Claude Code, your rules.

A private, Anthropic-compatible proxy with per-user API keys, daily and monthly token quotas, and full SSE streaming. Mint keys for friends. Track usage. Stay in control.

Per-user keys

Mint individual API keys for each friend. Disable or delete anytime from the admin dashboard.

Token quotas

Configure daily and monthly token limits per key. Quotas auto-reset — no manual intervention needed.

Full streaming

SSE passthrough with live usage tracking. Works seamlessly with Claude Code and any Anthropic SDK.

QUICK START

After the admin creates a key for you, paste these commands into your terminal:

export ANTHROPIC_BASE_URL="https://effzafzhfmzkzcgoggjb.supabase.co/functions/v1/anthropic-gateway"
export ANTHROPIC_AUTH_TOKEN="sk-..."   # your key
export ANTHROPIC_MODEL="claude-sonnet-4-5"
claude

The gateway accepts the key via Authorization: Bearer or x-api-key.