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

Install
npm install -g @askalf/dario      # or: brew install askalf/tap/dario

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/askalf/dario.git

From 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…
Read the full README on GitHub

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

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