← Back to Leaderboard
Proutatic

routatic/proxy

Go API proxy that routes Claude Code across model providers without client changes

Engineering Health (Methodology)
A · 80/100
Maintenance Activity
● Updated 7d ago
Latest Release
v0.6.5
Commercial License Check
AGPL-3.0 · Copyleft Warning

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption17/25
Release Cadence17/20
License Clarity11/20
DockerSelf-HostedCLIAPI1 README badge views (30d)
Total Stars
★ 985
24h Growth
+0
7d Growth
+2
Forks
134

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

routatic/proxy Star History (2026-04-17 - 2026-12-03) ALL-TIME STAR HISTORY (2026-04 – 2026-12) +984 in 230d · avg +4/day 1k 520 0 2026-04-17: ★ 12026-05-02: ★ 1952026-05-16: ★ 3912026-05-30: ★ 5442026-06-13: ★ 6402026-06-27: ★ 7722026-07-11: ★ 8252026-07-25: ★ 8642026-08-08: ★ 8902026-08-22: ★ 9292026-09-05: ★ 9462026-09-19: ★ 9582026-10-03: ★ 9622026-10-17: ★ 9762026-10-31: ★ 9772026-11-14: ★ 9802026-12-03: ★ 985 ★ 985 2026-04 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

routatic-proxy is a Go HTTP gateway, not an MCP server. Claude Code keeps its Anthropic request format and points ANTHROPIC_BASE_URL at the proxy. The gateway selects a model and provider for the request scenario, converts the request to the upstream API format, and translates the response or live SSE stream back into the format Claude Code expects. Model selection is configurable without changing the client.

Provider and protocol are separate concerns: OpenCode Go, OpenCode Zen, AWS Bedrock, OpenRouter, and Anthropic are upstream choices, while OpenAI, Anthropic, Responses, and Gemini are API formats the proxy handles. The Docker build compiles ./cmd/routatic-proxy with Go 1.25 and CGO_ENABLED=0. The JavaScript manifest lists Tailwind CSS as a development dependency; the proxy container runs the compiled Go binary rather than Node.js.

Key Capabilities & Differentiators

Routing policies distinguish default, thinking, long-context, and background requests, with separate routing controls for streaming. A configured fallback chain tries the next model after a failure, and a circuit breaker tracks model health so later requests can skip failing models. Anthropic-first mode is useful when native Claude behavior is the default and OpenCode is needed only during rate limits or outages.

The gateway converts SSE incrementally and translates Anthropic tool_use and tool_result messages to and from upstream function-calling formats. routatic-proxy start adds a dashboard at http://127.0.0.1:3445 with live metrics, model distribution, a filterable history of the last 1,000 requests, and editable settings. Configuration hot reload lets operators adjust routes without restarting the proxy.

Trade-offs & Limitations

Direct Anthropic access has fewer moving parts and is the simpler choice for a Claude-only workflow. A provider-native client likewise avoids translation if one alternative upstream is enough. The proxy earns its place when Claude Code must stay in place while models or providers change by scenario. Schema conversion does not guarantee behavioral parity: test tool-call round trips, stop reasons, and streamed usage reporting on both primary and fallback routes. The v0.6.5 fixes show why those paths deserve explicit regression tests.

Self-hosting gives you control over routing, not over where inference happens. Prompts, source snippets, and tool results can go to the configured upstreams, and failover can send them to a different provider than the primary route. Approve each destination against your data policy and account for the time failed attempts can add before a response. Under AGPL-3.0, modified versions offered over a network carry corresponding-source obligations to their remote users.

Hardware & Deployment Guide

Install a release binary or use Docker, run routatic-proxy init, configure upstream credentials, and check the configuration with routatic-proxy validate. Use serve for a headless process or start for the dashboard; both accept -b for background operation. The Dockerfile uses Alpine 3.21 at runtime, installs CA certificates and timezone data, and copies the example configuration to /etc/routatic-proxy/config.json. Desktop GUI support is separate: native macOS integration requires CGO, Linux defaults to the browser UI, and Windows is CLI-only.

Inference stays upstream, so the proxy requires neither a local GPU nor model VRAM, but it does need network access and provider credentials. Size it for concurrent SSE connections and payloads. Pin a stable version for repeatable deployments and use beta for testing. v0.6.5 improved Responses tool-call conversion, streaming usage accounting, and macOS autostart. It also forwards x-claude-code-session-id to OpenCode Go as x-opencode-session, using a generated UUID when the client omits the header.

Protocol boundary: Accepts Anthropic-format requests and translates to OpenAI, Anthropic, Responses, or Gemini formats, including SSE and tool-call conversion.
Routing policy: Selects models for default, thinking, long-context, and background scenarios, with configurable routing for streaming requests.
Failover: Walks configured fallback chains, skips unhealthy models with a circuit breaker, and supports Anthropic-first failover.
Operations: Hot-reloads configuration; start adds a dashboard with metrics and the last 1,000 requests, while serve is headless.
Container build: Compiles ./cmd/routatic-proxy with Go 1.25 and CGO_ENABLED=0, then packages the binary on Alpine 3.21.
Session continuity: v0.6.5 forwards Claude Code session IDs to OpenCode Go as x-opencode-session, generating a UUID when the client omits the ID.
Best For

Developers and teams that want to keep Claude Code while routing workloads across providers or retaining an approved fallback when Anthropic is unavailable.

Skip If

Direct Anthropic access already meets your needs, policy prohibits sending code to configured upstreams, or you need an MCP server or an offline inference runtime.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedCLIAPI
# 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

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
proxy ★985+2GoAGPL-3.0Go API proxy that routes Claude Code across model providers without client chang
cc-switch159.1k+1.7kRustMITTauri desktop manager for AI coding providers, local routing, and MCP config
herdr54.1k+871RustApache-2.0Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces
claude-code-router38.5k+101TypeScriptMITLocal model gateway for routing coding agents across providers

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/routatic/proxy.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

routatic/proxy Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about proxy

How does Claude Code connect, and where do provider credentials go?

Point Claude Code’s ANTHROPIC_BASE_URL at http://127.0.0.1:3456 and configure the proxy with credentials for the selected upstream. The local quickstart uses ANTHROPIC_AUTH_TOKEN=unused on the client side; that placeholder neither replaces upstream credentials nor establishes that the proxy is safe to expose publicly. The integration is an HTTP API proxy, not an MCP server.

Does the proxy need a GPU, and what determines its runtime overhead?

The proxy runs as a Go process and does not load model weights, so it does not require a local GPU or model VRAM. Size CPU and memory against concurrent SSE streams, request and response sizes, and protocol conversion. Test first-token latency with your actual routes, including a fallback, since upstream response time also contributes.

Can a commercial team self-host it under AGPL-3.0?

AGPL-3.0 permits commercial use and self-hosting. If you modify the proxy and users interact with that modified version over a network, you must offer those users its corresponding source. Distributing binaries or container images brings separate source and notice obligations. Upstream API terms and data-handling requirements still apply independently.

When is it better than connecting directly to Anthropic or using a provider-native client?

For a Claude-only workflow, a direct Anthropic connection is simpler and avoids cross-provider translation. For a single provider whose native client already fits your workflow, use that client. Choose routatic-proxy when keeping Claude Code while routing by request type or retaining cross-provider fallback is worth owning an extra service.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining routatic/proxy? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature routatic/proxy on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare