Claude Code model router
Opencode Proxy
A python proxy that lets you use OpenCode Go subscription with Claude Code
Install
git clone https://github.com/betri28/opencode-proxy.gitFrom the README
OpenCode-Proxy A python proxy that lets you use OpenCode Go subscription with Claude Code. Key Features - Anthropic-compatible Proxy — Acts as a drop-in replacement for the Anthropic API. Claude Code sends requests to the proxy, which translates and forwards them to the OpenCode Go upstream, then converts the response back to Anthropic format seamlessly. - Extended Thinking & Effort — Forwards thinking and budget_tokens parameters as-is to the upstream model. Also supports effort (low / medium / high) for models that use effort-based reasoning. Availability depends on the model. - Image & Document — Passes image, PDF, DOCX, and XLSX content blocks through to the upstream model. Whether these are actually processed depends on model support. - Web Search — Forwards web search tool calls to models that natively support it. Results are translated back to Anthropic's tool_result format for Claude Code compatibility. Requirements - Python 3.11+ Installation Docker Build and run with Docker Compose: Or with plain Docker: The container exposes both the API on 4000 and the dashboard on 8082, and persists the SQLite history database under logs/. Configuration Copy .env.example to .env and edit: Edit values in .env: Claude Code Configuration To use this proxy with Claude Code, add these environment variables to your shell configuration: Or add them to your .env file: Note: The proxy server must be running (python opencode.py) before using Claude Code. Running Server will start: - API: http://localhost:4000 - Web Dashboard: http://localhost:8082 Web Dashboard The web interface has 2 tabs: Token Stats - Overview: Input, Output, Cache, Success, Failed, Avg Duration - Charts: Token Distribution, Token % by Model, Requests % by Model - Detailed table by…
Details
- Repository
- betri28/opencode-proxy
- Language
- Python
- License
- MIT
- Last updated
- 17 August 2026
FAQ
What is Opencode Proxy?
A python proxy that lets you use OpenCode Go subscription with Claude Code It is a model router for Claude Code, from betri28/opencode-proxy on GitHub.
How do I install Opencode Proxy?
Clone betri28/opencode-proxy from GitHub and follow the setup steps in its README.
Is Opencode Proxy popular?
betri28/opencode-proxy has 60 GitHub stars and 9 forks. It was last updated on 17 August 2026.
More model routers & proxies
Prodex
61christiandoxa/prodex
Prodex is a multi-account, multi-provider Codex wrapper with auto-rotation, Super mode, Smart Context, and token saving for Codex CLI and Claude Code
Llm API Setup Guides
5818534516725/llm-api-setup-guides
88篇中文 AI API中转站与工具配置教程:Codex API、Claude Code API、OpenAI-compatible API、Base URL、Cursor、Cherry Studio、计费验证与错误排查。
CCR Glm Config
68dabstractor/ccr-glm-config
Fully featured GLM Pro/Max plan in Claude Code Router
Copilot Proxy API
55voidsteed/copilot-proxy-api
Self-hosted GitHub Copilot bridge for Claude Code and Codex CLI with OpenAI Responses, Anthropic Messages, streaming resilience, and context management.
9router Auto Free
59herliansyah/9router-auto-free
Automated scraper & injector for 100+ free AI coding models into 9router combos. Live pre-tested, ranked by coding benchmarks & zero-config ready for Cursor, Claude Code and other
Claude Flow
55hgahlot/claude-flow
One-command bootstrap for a maximally efficient Claude Code dev environment. Installs GSD + gstack + Superpowers + Claude-Mem + UI/UX Pro Max + /flow unified command router.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.