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
It allows users of Claude Code to route their requests through various LLM providers other than Anthropic, such as OpenCode, AWS Bedrock, and OpenRouter. This removes the need to patch or fork Claude Code while enabling access to different pricing models, open-source coding models, and enterprise-grade infrastructure.
How it works
routatic-proxy acts as a transparent intermediary between Claude Code and the upstream AI providers. It intercepts Anthropic-formatted API requests, transforms them into the native format required by the target provider (e.g., OpenAI, Gemini), and then converts the provider's response back into a format Claude Code understands. It includes a routing engine that can automatically select models based on context, handle failovers through configured chains, and manage tool-calling translations.
Who it’s for
Developers using Claude Code who want to reduce costs, avoid rate limits, or use specific open-source or enterprise models without changing their local tool configuration.
Highlights
- Multi-Provider Support: Works with OpenCode Go, OpenCode Zen, AWS Bedrock, and OpenRouter.
- Automatic Model Routing: Routes requests to different models based on the scenario (e.g., thinking vs. long context).
- Resilience Features: Includes fallback chains and a circuit breaker to skip failing models and reduce latency.
- Format Translation: Handles the conversion of tool use and tool results between Anthropic and other provider formats.
- Integrated GUI: Provides a dashboard for real-time metrics, request history, and configuration management.
相關
- 專案
- 專案
- 專案
- 專案
- 專案