ccproxy

module
v1.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2025 License: MIT

README

CCProxy

CI Release Go Report Card Documentation

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

  1. 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"
  1. 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL