▌
█
in front of claude code & opencode

Match the model
to the task. Every turn.

Tokenomics sits in front of Claude Code and opencode and routes each turn to the model that fits it — across Anthropic, DeepSeek, Gemini, GLM, Qwen and more. Tool calls pass through intact; you see which model ran and why.

Savings are measured, not promised.
see how it works ↓
↑ the emptiness is the spend that never happened — measured, not promised.
scroll to route ↓

Your agent reaches for the biggest model on every turn — even to rename a variable. You pay frontier prices for trivial work, and you can’t see where the money goes.

default████████████████████████████████$$$$
routed█████████░░░░░░░░░░░░░░░░░░░░░░░░$
// life of one turn
01
A request arrives.

The agent sends a turn — context, tools, the lot. It assumes it’ll be answered by the most expensive model available. It won’t.

→ 14.2k ctx · tools=[edit,bash,read,grep]
02
We read the turn.

Trivial, background, code, or reasoning? We classify it, then weigh price against capability across every provider you’ve allowed.

classify → code · medium
candidates → haiku-4.5 glm-4.6 deepseek-v4 …
03
Matched to the task.

Tool calls and streaming stay intact. If the cheap model stumbles, we escalate automatically — and it’s always visible in the log.

route → haiku-4.5 · −$0.21 this turn · verified

// estimate the range

Put in your own numbers. This is an estimate, not a promise — your real savings are measured on your traffic, against your default model, at equal acceptance.
turns / month40,000
[░░░░░░░░░░░░░░░░░░░░░░░░]
avg context / turn18k tok
[░░░░░░░░░░░░░░░░░░░░░░░░]
your default model (the baseline) — whichever provider you pay for today
routing pool
off → single-provider pool: fewer cheap rungs to route to, so savings shrink. Both are honest.
quality headroom (effort)4 / 10
[████░░░░░░]
higher → more turns kept on your model → smaller savings.
estimated savings vs your default
$0
/ mo
—
range —
default
██████████████████████
$0
routed
░░░░░░░░░░░░░░░░░░░░░░
$0
where the turns go (illustrative mix)
reasoning & architecture turns stay on your model — we never make a turn more expensive than your default.
Illustrative only. Assumes blended list prices (Anthropic Opus ~$5 · Anthropic Sonnet ~$3 · Anthropic Haiku ~$0.8 · GLM-4.6 ~$0.6 · DeepSeek V4-Flash ~$0.3 · Qwen-Flash ~$0.2 · Gemini 2.5 Flash-Lite ~$0.15 per Mtok) and a typical task distribution. Free tiers carry rate limits and data terms; cross-provider routing is bounded by your sensitivity policy; subscription plans have different economics. Your real number is measured on your own traffic.

Why it holds up

01
Tool-safe

Never breaks tool-call pairs or the stream. Stumble → auto-escalate.

02
Transparent

Which model, why, and what it saved — on every turn. No silent downgrades.

03
Provider-neutral

Anthropic, DeepSeek, Gemini, GLM, Qwen and more. Free tiers used first where they fit; no vendor is the favourite.

04
Private

Keys sealed and encrypted at rest. Self-host the single binary and they never leave your machine.

// no silent downgrades
turnmodelclassvs default
−241deepseek-v4-flashroutine−79%
−242gemini-2.5-flash-lite (free)trivial−100%
−243glm-4.6medium−38%
=244sonnet-4.6reasoningkept
!245opus-4.8architecture!keep
− routed cheaper · = left on your model (no gain to move) · ! you pinned it with !keep. Routine goes to the cheapest sufficient models & free tiers; the hard and pinned turns go to whichever model is sufficient for them — not the easy ones.
Some turns are never worth moving — we leave them on your model and never make one more expensive. Free tiers carry rate limits and data terms; cross-provider routing is bounded by your sensitivity policy; subscription plans have different economics. Every route above is shown in your own log, with the model and the reason.

Managed cloud or your own machine.

Provider keys sealed in encrypted storage. The same screens whether you run on our managed cloud or the single binary locally — only where the keys live changes.

 

% of proven savings.

Pay only on the savings we measure, or a flat platform fee. No markup on tokens, ever. Local & OSS are free.

~/.zshrc
$ export ANTHROPIC_BASE_URL=<gateway-url>
$ export ANTHROPIC_AUTH_TOKEN=tok_<your-token>
[ get started ] read the docs