| Provider | Description | Best For |
|---|---|---|
| OpenCode Go | High-performance open-source coding models with flat-rate pricing | Daily coding, complex reasoning, cost-effective workloads |
| OpenCode Zen | Curated, tested models with pay-as-you-go pricing | Claude/GPT/Gemini access without multiple API keys |
| AWS Bedrock | Enterprise-grade models on your own AWS infrastructure | Enterprises needing data sovereignty and compliance |
| OpenRouter | Unified API for 100+ LLMs with automatic failover | Experimenting with models from multiple providers |
| Anthropic | Native Claude models with anthropic-first failover mode | Claude-first workflows with OpenCode fallback |
A Go CLI proxy that lets you route Claude Code requests through multiple upstream providers with automatic model selection and format transformation.
routatic-proxy sits between Claude Code and your chosen providers, intercepting Anthropic API requests, transforming them to the appropriate format (OpenAI, Anthropic, Responses, or Gemini), and forwarding them upstream. Claude Code thinks it's talking to Anthropic — but your requests go to the models and providers you configure.
oc-go-cc remains available as a compatibility alias, and existing OC_GO_CC_* environment variables and ~/.config/oc-go-cc/config.json files are still recognized.
OpenCode Go gives you access to powerful open coding models for $5/month (then $10/month). OpenCode Zen provides curated, tested models with pay-as-you-go pricing. AWS Bedrock lets you run models on your own AWS infrastructure. OpenRouter gives you unified access to 100+ models. This proxy makes all of them work seamlessly with Claude Code's interface — no patches, no forks, just set two environment variables and go.
See docs/architecture.md for system design and request flow details.
This repository provides a cross-platform GUI for routatic-proxy:
.dmg from the Releases page.xdg-open (default, no CGO required). For system tray: build with CGO_ENABLED=1 and install libappindicator-gtk3-devel (Fedora) or libayatana-appindicator3-dev (Ubuntu/Debian).Dashboard tabs: Overview (real-time metrics & model distribution), History (last 1000 requests with filters), Settings (edit config with hot-reload).
routatic-proxy ui
On macOS, this opens a native window. On Linux, it opens your default browser.
# 1. Install
brew tap routatic/tap && brew install routatic-proxy
# 2. Initialize configuration
routatic-proxy init
# 3. Set your API key
export ROUTATIC_PROXY_API_KEY=sk-opencode-your-key-here
# 4. Start the proxy
routatic-proxy serve
# 5. Configure Claude Code
export ANTHROPIC_BASE_URL=http://127.0.0.1:3456
export ANTHROPIC_AUTH_TOKEN=unused
# 6. Run Claude Code
claude
Fedora / RHEL: each release ships x86_64 and aarch64 RPMs —
sudo dnf install https://github.com/routatic/proxy/releases/download/vX.Y.Z/routatic-proxy-X.Y.Z-1.x86_64.rpm.
See docs/fedora-setup.md for package contents and the systemd user service.
See INSTALLATION.md for Homebrew, Scoop, Docker, and build-from-source options.
Prefer a GUI for switching providers? routatic-proxy works with CC-Switch — see Using with CC-Switch.
routatic-proxy serve Start the proxy server
routatic-proxy serve -b Start in background (detached from terminal)
routatic-proxy stop Stop the running proxy server
routatic-proxy status Check if the proxy is running
routatic-proxy init Create default configuration file
routatic-proxy validate Validate configuration file
routatic-proxy models List all available models
routatic-proxy ui Launch the GUI dashboard
routatic-proxy autostart enable Enable auto-start on login
routatic-proxy update Update to the latest release on your channel
routatic-proxy update check Check for a newer release without installing
routatic-proxy update-channel Show or switch release channel (stable|beta)
routatic-proxy --version Show version
| Document | Description |
|---|---|
| MODELS.md | Model reference across all providers — capabilities, costs, endpoints, routing recommendations |
| docs/openrouter.md | OpenRouter provider setup and configuration |
| docs/cloudflare.md | Cloudflare Workers AI provider setup and configuration |
| CONFIGURATION.md | Config file reference, env vars, model routing, fallback chains |
| INSTALLATION.md | Homebrew, Scoop, build from source, Docker |
| CONTRIBUTING.md | Development setup, architecture |
| TROUBLESHOOTING.md | Common issues and debug mode |
| docs/architecture.md | System design and request flow |
| docs/fedora-setup.md | Fedora 44 setup (systemd, SELinux) |
| docs/reference-api.md | HTTP API reference |
| docs/howto-add-model.md | Adding new models (zero code changes) |
| docs/howto-custom-routing.md | Customizing scenario detection and routing |
| docs/howto-debug-routing.md | Debugging routing issues |
This project ships on two channels. Stable is the default; beta gets you the newest features early.
routatic-proxy update-channel beta # opt in to betas
routatic-proxy update # install the newest beta
routatic-proxy update-channel stable # back to stable releases
See Beta Releases for the full walkthrough (Docker beta tag, installing a specific prerelease, returning to a stable build) and RELEASE_PROCESS.md for how releases are built.
main branchv{UPCOMING}-beta.{N} (e.g., v0.6.4-beta.1), where {N} is a sequential counter that restarts once that version ships as stablebeta (rolling), plus the exact v{UPCOMING}-beta.{N}workflow_dispatch on releases branchvX.Y.Z (semantic versioning)vX.Y.Z, vX.Y, vX, latestWe welcome contributions! Please see CONTRIBUTING.md for development setup, architecture overview, and how to submit pull requests.
(top 30 of 35)
Go
89.6%
JavaScript
4.8%
HTML
2.8%
Shell
1.4%
CSS
1.1%
| Provider | Description | Best For |
|---|---|---|
| OpenCode Go | High-performance open-source coding models with flat-rate pricing | Daily coding, complex reasoning, cost-effective workloads |
| OpenCode Zen | Curated, tested models with pay-as-you-go pricing | Claude/GPT/Gemini access without multiple API keys |
| AWS Bedrock | Enterprise-grade models on your own AWS infrastructure | Enterprises needing data sovereignty and compliance |
| OpenRouter | Unified API for 100+ LLMs with automatic failover | Experimenting with models from multiple providers |
| Anthropic | Native Claude models with anthropic-first failover mode | Claude-first workflows with OpenCode fallback |
A Go CLI proxy that lets you route Claude Code requests through multiple upstream providers with automatic model selection and format transformation.
routatic-proxy sits between Claude Code and your chosen providers, intercepting Anthropic API requests, transforming them to the appropriate format (OpenAI, Anthropic, Responses, or Gemini), and forwarding them upstream. Claude Code thinks it's talking to Anthropic — but your requests go to the models and providers you configure.
oc-go-cc remains available as a compatibility alias, and existing OC_GO_CC_* environment variables and ~/.config/oc-go-cc/config.json files are still recognized.
OpenCode Go gives you access to powerful open coding models for $5/month (then $10/month). OpenCode Zen provides curated, tested models with pay-as-you-go pricing. AWS Bedrock lets you run models on your own AWS infrastructure. OpenRouter gives you unified access to 100+ models. This proxy makes all of them work seamlessly with Claude Code's interface — no patches, no forks, just set two environment variables and go.
See docs/architecture.md for system design and request flow details.
This repository provides a cross-platform GUI for routatic-proxy:
.dmg from the Releases page.xdg-open (default, no CGO required). For system tray: build with CGO_ENABLED=1 and install libappindicator-gtk3-devel (Fedora) or libayatana-appindicator3-dev (Ubuntu/Debian).Dashboard tabs: Overview (real-time metrics & model distribution), History (last 1000 requests with filters), Settings (edit config with hot-reload).
routatic-proxy ui
On macOS, this opens a native window. On Linux, it opens your default browser.
# 1. Install
brew tap routatic/tap && brew install routatic-proxy
# 2. Initialize configuration
routatic-proxy init
# 3. Set your API key
export ROUTATIC_PROXY_API_KEY=sk-opencode-your-key-here
# 4. Start the proxy
routatic-proxy serve
# 5. Configure Claude Code
export ANTHROPIC_BASE_URL=http://127.0.0.1:3456
export ANTHROPIC_AUTH_TOKEN=unused
# 6. Run Claude Code
claude
Fedora / RHEL: each release ships x86_64 and aarch64 RPMs —
sudo dnf install https://github.com/routatic/proxy/releases/download/vX.Y.Z/routatic-proxy-X.Y.Z-1.x86_64.rpm.
See docs/fedora-setup.md for package contents and the systemd user service.
See INSTALLATION.md for Homebrew, Scoop, Docker, and build-from-source options.
Prefer a GUI for switching providers? routatic-proxy works with CC-Switch — see Using with CC-Switch.
routatic-proxy serve Start the proxy server
routatic-proxy serve -b Start in background (detached from terminal)
routatic-proxy stop Stop the running proxy server
routatic-proxy status Check if the proxy is running
routatic-proxy init Create default configuration file
routatic-proxy validate Validate configuration file
routatic-proxy models List all available models
routatic-proxy ui Launch the GUI dashboard
routatic-proxy autostart enable Enable auto-start on login
routatic-proxy update Update to the latest release on your channel
routatic-proxy update check Check for a newer release without installing
routatic-proxy update-channel Show or switch release channel (stable|beta)
routatic-proxy --version Show version
| Document | Description |
|---|---|
| MODELS.md | Model reference across all providers — capabilities, costs, endpoints, routing recommendations |
| docs/openrouter.md | OpenRouter provider setup and configuration |
| docs/cloudflare.md | Cloudflare Workers AI provider setup and configuration |
| CONFIGURATION.md | Config file reference, env vars, model routing, fallback chains |
| INSTALLATION.md | Homebrew, Scoop, build from source, Docker |
| CONTRIBUTING.md | Development setup, architecture |
| TROUBLESHOOTING.md | Common issues and debug mode |
| docs/architecture.md | System design and request flow |
| docs/fedora-setup.md | Fedora 44 setup (systemd, SELinux) |
| docs/reference-api.md | HTTP API reference |
| docs/howto-add-model.md | Adding new models (zero code changes) |
| docs/howto-custom-routing.md | Customizing scenario detection and routing |
| docs/howto-debug-routing.md | Debugging routing issues |
This project ships on two channels. Stable is the default; beta gets you the newest features early.
routatic-proxy update-channel beta # opt in to betas
routatic-proxy update # install the newest beta
routatic-proxy update-channel stable # back to stable releases
See Beta Releases for the full walkthrough (Docker beta tag, installing a specific prerelease, returning to a stable build) and RELEASE_PROCESS.md for how releases are built.
main branchv{UPCOMING}-beta.{N} (e.g., v0.6.4-beta.1), where {N} is a sequential counter that restarts once that version ships as stablebeta (rolling), plus the exact v{UPCOMING}-beta.{N}workflow_dispatch on releases branchvX.Y.Z (semantic versioning)vX.Y.Z, vX.Y, vX, latestWe welcome contributions! Please see CONTRIBUTING.md for development setup, architecture overview, and how to submit pull requests.
(top 30 of 35)
Go
89.6%
JavaScript
4.8%
HTML
2.8%
Shell
1.4%
CSS
1.1%