Claude Code model router

Routatic Proxy

Routes Claude Code requests through multiple upstream providers with automatic model selection.

982 stars 135 forksModel routers & proxies Source

Install

From source
git clone https://github.com/routatic/proxy.git

From the README

routatic-proxy

Join us on Discord

English | 中文

Supported Providers

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.

Why?

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.

Features

- Multi-Provider — Route through OpenCode Go, OpenCode Zen, AWS Bedrock, or OpenRouter from a single config
- Transparent Proxy — Claude Code sends Anthropic-format requests, proxy transforms to provider-native format and back
- Model Routing — Automatically routes to different models based on context (default, thinking, long context, background)
- Streaming Scenario Routing — Configurable routing for streaming requests (see CONFIGURATION.md)
- Fallback Chains — If a model fails, automatically tries the next one in your configured chain
- Anthropic-First Failover — Keep Claude on Anthropic and use OpenCode only during rate limits or…
Read the full README on GitHub

Details

Repository
routatic/proxy
Language
Go
License
AGPL-3.0
Last updated
30 October 2026
Topics
aws-bedrockclaudeclaude-codeclaude-code-cliopencodeopencode-aiopencode-goopencode-zen

FAQ

What is Routatic Proxy?

Routes Claude Code requests through multiple upstream providers with automatic model selection. It is a model router for Claude Code, from routatic/proxy on GitHub.

How do I install Routatic Proxy?

Clone routatic/proxy from GitHub and follow the setup steps in its README.

Is Routatic Proxy popular?

routatic/proxy has 982 GitHub stars and 135 forks. It was last updated on 30 October 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.