CCProxy

A proxy that enables Claude Code to work with multiple AI providers (OpenAI, Google Gemini, DeepSeek, OpenRouter).
📚 Documentation | 🐛 Issues | 💬 Discussions
Installation
Quick Install
macOS/Linux:
curl -sSL https://raw.githubusercontent.com/orchestre-dev/ccproxy/main/install.sh | bash
Windows:
irm https://raw.githubusercontent.com/orchestre-dev/ccproxy/main/install.ps1 | iex
Manual Install
Download from releases or build from source:
git clone https://github.com/orchestre-dev/ccproxy.git
cd ccproxy
go build ./cmd/ccproxy
Quick Start
- Configure your API keys in
~/.ccproxy/config.json:
{
"providers": [{
"name": "openai",
"api_key": "sk-...",
"enabled": true
}],
"routes": {
"default": {
"provider": "openai",
"model": "gpt-4o"
}
}
}
Or use one of our example configurations:
# Copy a ready-to-use configuration
cp examples/configs/openai-gpt4.json ~/.ccproxy/config.json
# Add your API key
export OPENAI_API_KEY="sk-your-openai-key"
- Start CCProxy and configure Claude Code:
ccproxy code
That's it. Claude Code now works with your configured providers.
Configuration
See the configuration guide for:
- Multi-provider setup
- Routing configuration
- Environment variables
- Advanced options
Supported Providers
- Anthropic - Native Claude support
- OpenAI - GPT-4 models
- Google Gemini - Multimodal models
- DeepSeek - Cost-effective models (no tool support)
- OpenRouter - 100+ models gateway
Full details in the provider documentation.
Development
make build # Build for current platform
make test # Run tests
make build-all # Build for all platforms
Contributing
See contributing guidelines.
License
MIT License - see LICENSE file.
Acknowledgments
Inspired by Claude Code Router.