About

About CC-Relay

CC-Relay is a high-performance HTTP proxy written in Go that enables Claude Code and other LLM clients to connect to multiple providers through a single endpoint.

Project Goals

  • Simplify multi-provider access - One proxy, multiple backends
  • Maintain API compatibility - Drop-in replacement for direct Anthropic API access
  • Enable flexibility - Easily switch providers without client changes
  • Support Claude Code - First-class integration with Claude Code CLI

Current Status

CC-Relay is in active development. The following features are implemented:

  • HTTP proxy server with Anthropic API compatibility
  • Anthropic and Z.AI provider support
  • Full SSE streaming support
  • API key and Bearer token authentication
  • Multiple API keys per provider
  • Debug logging for request/response inspection
  • Claude Code configuration commands

Planned Features

  • Additional providers (Ollama, AWS Bedrock, Azure, Vertex AI)
  • Routing strategies (round-robin, failover, cost-based)
  • Rate limiting per API key
  • Circuit breaker and health tracking
  • gRPC management API
  • TUI dashboard

Built With

  • Go - Programming language
  • Cobra - CLI framework
  • zerolog - Structured logging

Author

Created by Omar Alani

License

CC-Relay is open source software licensed under the AGPL 3 License.

Contributing

Contributions are welcome! Please see the GitHub repository for: