Claude Code model router

Openproxy

Smart AI proxy router that connects Claude Code, Cursor, Codex, Copilot, and 50+ coding tools to 40+ AI providers with 100+ models. Saves 20-40% tokens via RTK compression, auto-fallback from subscription to cheap to free providers, multi-account round-robin, and a local dashboard.

Install

From source
git clone https://github.com/quangdang46/openproxy.git

From the README

OpenProxy

Single-binary AI router for AI coding tools.
Routes to 40+ providers with auto-fallback combos. Embedded dashboard, OpenAI-compatible API, RTK compression. Run on 127.0.0.1:4623 — no cloud required.

  Install ·
  Connect a CLI ·
  Providers ·
  Combos ·
  For AI Agents ·
  Configuration

🤖 Agent Quickstart (API / Robot Mode)

Point your coding agent CLI at http://127.0.0.1:4623:

Dashboard — open http://127.0.0.1:4623/ in browser for provider config, combo chains, quota tracking, and request logs.

What it does

OpenProxy runs as one binary on 127.0.0.1:4623. Point any tool that speaks the OpenAI Chat Completions API at it (Claude Code, Codex, Cursor, Cline, OpenClaw, Copilot, ...) and OpenProxy:

- routes the request to a provider you've configured (OAuth, API key, or free)
- falls back to the next provider in your combo when one is rate-limited or errors
- compresses tool-call results via RTK before they hit the LLM (typical −20–40% input tokens on tool-heavy turns)
- tracks per-account quota so you can use subscription tiers fully before paying for API calls
- serves a local dashboard at / for configuration, monitoring, and account management

There is no cloud component required. All state lives in ~/.openproxy/ (SQLite database at openproxy.sqlite).

Install

Both pull the same prebuilt binary from the same GitHub release. The Linux/macOS curl path drops the binary at ~/.local/bin/openproxy. The Windows PowerShell path drops openproxy.exe at %USERPROFILE%\.local\bin.

The server binds to 127.0.0.1:4623 and the dashboard auto-opens in your browser. Use --no-open for headless / SSH / container contexts.

Other install options

Manual download: https://github.com/quangdang46/openproxy/releases

Connect a CLI tool

Most tools ask for an OpenAI base URL…
Read the full README on GitHub

Details

Language
Rust
License
MIT
Last updated
23 October 2026
Topics
ai-agentsai-providersai-routerapi-gatewayclaude-codecli-toolscodexcopilotcursordeveloper-toolsfree-aimulti-model

FAQ

What is Openproxy?

Smart AI proxy router that connects Claude Code, Cursor, Codex, Copilot, and 50+ coding tools to 40+ AI providers with 100+ models. Saves 20-40% tokens via RTK compression, auto-fallback from subscription to cheap to free providers, multi-account round-robin, and a local dashboard. It is a model router for Claude Code, from quangdang46/openproxy on GitHub.

How do I install Openproxy?

Clone quangdang46/openproxy from GitHub and follow the setup steps in its README.

Is Openproxy popular?

quangdang46/openproxy has 29 GitHub stars and 6 forks. It was last updated on 23 October 2026.

More model routers & proxies

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