Connect to Anthropic and Z.AI from a single endpoint (more providers coming soon)
Full Server-Sent Events support with perfect Claude Code compatibility
Pool multiple API keys per provider for higher throughput
API key and Bearer token support for Claude Code subscription users
One command setup with built-in configuration management
Drop-in replacement requiring no client changes
Pool multiple keys per provider for higher throughput
API key and Bearer token authentication for flexible access
Perfect compatibility with Claude Code's real-time streaming
Detailed request/response logging for troubleshooting
Secure configuration with ${VAR} expansion in YAML
One-command Claude Code integration with cc-relay config cc init
CC-Relay sits between your LLM client and backend providers, proxying requests with full Anthropic API compatibility
Power your development workflow with CC-Relay
Switch between Anthropic and Z.AI without changing your client code
Share API quota across multiple developers with pooled keys
Centralize and rotate API keys without client updates
Test Z.AI's GLM models as a lower-cost alternative
Route Claude Code subscription users through your proxy
Log and inspect API requests for troubleshooting
Everything you need to get started and master CC-Relay
CC-Relay is open source! Contributions are welcome
AGPL 3 License - see LICENSE for details