routatic/proxy
route Claude Code requests through multiple upstream providers (OpenCode Go, OpenCode Zen, and AWS Bedrock) with automatic model selection and format transformation.
What it solves
routatic-proxy is a Go-based CLI proxy designed to let users of Claude Code use alternative LLM providers beyond Anthropic. It eliminates the need to patch or fork the Claude Code tool by acting as a transparent middleman that intercepts Anthropic API requests and transforms them into formats compatible with other providers like OpenCode, AWS Bedrock, and OpenRouter.
How it works
The proxy sits between the Claude Code client and the upstream LLM providers. It intercepts requests sent in Anthropic's format and transforms them into the native format of the chosen provider (such as OpenAI, Gemini, or Bedrock). It then forwards the request and transforms the response back into a format Claude Code expects. This process includes translating tool-calling mechanisms (e.g., tool_use and tool_result) between different API standards.
Who it’s for
Developers using Claude Code who want to reduce costs, avoid rate limits, or use specific open-source coding models via providers like OpenCode Go, or enterprise-grade infrastructure via AWS Bedrock.
Highlights
- Multi-Provider Support: Supports OpenCode Go, OpenCode Zen, AWS Bedrock, and OpenRouter.
- Model Routing: Automatically routes requests to different models based on context (e.g., thinking, long context, or background tasks).
- Fallback Chains: Automatically tries the next model in a configured chain if the primary model fails.
- Circuit Breaker: Monitors model health to skip failing models and reduce latency.
- Real-time Streaming: Supports full SSE streaming with live format transformation.
- Management Dashboard: Includes a cross-platform GUI for monitoring real-time metrics, request history, and editing configurations.
- Hot Reload: Automatically reloads configuration changes without needing to restart the proxy.
Related
- Project
- Project
- Project
- Project
- Project