Claude Code model router
Dario
One local endpoint that routes Claude Code, Cursor, Cline, Aider, Codex CLI and the SDKs through the Claude and ChatGPT plans you already pay for: seats first, then the fallback chain you configure, and a ledger of who paid. Zero runtime dependencies.
Install
npm install -g @askalf/dario # or: brew install askalf/tap/darioFound in the project README. Check it for setup steps after installing.
git clone https://github.com/askalf/dario.gitFrom the README
dario Your Claude and ChatGPT subscriptions each live inside their own apps.dario makes them work everywhere, spends the plan before the meter, and keeps the receipt. One local endpoint. Every AI tool you own. Your Claude seats first, your ChatGPT plan and a metered key as the rungs you chain behind them, and a ledger of who paid for what. In plain words: dario is a proxy you run on your own machine that answers your coding tools' API requests with the plans you already pay for. Each Claude or ChatGPT plan account it holds is a seat. npm i -g @askalf/dario or brew install askalf/tap/dario · 0 runtime deps · SLSA-attested every release · nothing phones home · ~44k lines of TypeScript across 88 files · independent, unofficial, third-party (DISCLAIMER.md) Start · Why dario · Routing · Risk · Reference · Trust · Coming back after a while? You already pay for Claude,[^plans] for ChatGPT, or both. Each plan spends through its own runtime: Claude Code and the Agent SDK on one side, the ChatGPT app and Codex CLI on the other. Cursor, Aider, Cline, Continue, Zed and your own scripts want a base URL and an API key instead, and an API key is a meter: every token billed again, or, on a Max plan since October 2026, a monthly credit balance that stops when it runs out, while the seat's own windows sit idle. dario is one local endpoint that puts all of it behind one URL. Point any Anthropic- or OpenAI-compatible tool at http://localhost:3456 and you're done. Each request goes to a seat with headroom. Chain the rest with --pool-fallback and the other plan takes the request when one hits its window, with a metered backend as the last rung if you add one; without a chain, a drained pool returns its honest 429. The ledger prices every request at API rates and shows what each plan…
Details
- Repository
- askalf/dario
- Language
- JavaScript
- License
- MIT
- Last updated
- 3 November 2026
- Topics
- agent-sdkai-gatewayaideranthropicchatgptclaudeclaude-codeclaude-code-proxyclaude-maxclinecodexcursor
FAQ
What is Dario?
One local endpoint that routes Claude Code, Cursor, Cline, Aider, Codex CLI and the SDKs through the Claude and ChatGPT plans you already pay for: seats first, then the fallback chain you configure, and a ledger of who paid. Zero runtime dependencies. It is a model router for Claude Code, from askalf/dario on GitHub.
How do I install Dario?
Run npm install -g @askalf/dario # or: brew install askalf/tap/dario, then follow the setup in the README.
Is Dario popular?
askalf/dario has 584 GitHub stars and 76 forks. It was last updated on 3 November 2026.
More model routers & proxies
Lynkr
639Fast-Editor/Lynkr
Streamline your workflow with Lynkr, a CLI tool that acts as an HTTP proxy for efficient code interactions using Claude Code CLI.
React Native Boilerplate
523wataru-maeda/react-native-boilerplate
Production-ready React Native boilerplate for iOS, Android, and Web with Expo SDK 58, React 19.3, Expo Router, Redux Toolkit, TypeScript, Maestro E2E tests, and AGENTS.md rules and skills for AI coding agents (Claude Code, Codex, Cursor).
Casbin Gateway
646apache/casbin-gateway
See what every AI coding agent on your machine is doing, and whether the API behind it is the one you paid for. Claude Code, Codex, Cursor, Gemini CLI and more: one endpoint for 44 model vendors, A–F API authenticity grading, per-agent permissions, usage and prompt records.
Openclaw Billing Proxy
518zacdcook/openclaw-billing-proxy
Route OpenClaw API requests through Claude Code subscription billing instead of Extra Usage
Claude Code Nexus
251KroMiose/claude-code-nexus
Proxy platform forwarding Claude Code requests to any OpenAI-compatible service.
claude-worker-proxy
276glidea/claude-worker-proxy
Cloudflare Worker proxy for pointing Claude Code at other model providers.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.