Know the cost first.
TokenOtter pauses your AI agent before it overspends, shows how far along it is and what finishing will likely cost, then lets you continue or stop without losing work.
AI gains, until the bill lands.
NET GAIN FROM AI · sample company · daily, in thousands of dollarsRun paused: won't fit
- Progress
- 5 of 8 steps
- Spent
- $7.10 of $10
- Likely to finish
- $4.20 – $8.40 more
- Confidence
- medium
- Loop risk
- none seen
No answer in 9 minutes means stop. Never auto-continue.
Your agents ship work. The gains add up.
AI gains Without TokenOtter With TokenOtter
How a run goes
One command in front of the agent you already use.
First, it meters every call.
Then it reads the plan.
It pauses when it won't fit.
You choose. Nothing is lost.
What TokenOtter never keeps
It sits between your agent and the provider, so it sees every call. It keeps only what it needs to count money.
- Your API key passes through to the provider and is never written down.
- Prompts and code are forwarded, not stored. The ledger holds model, tokens, cost, time and tool names.
- It listens on 127.0.0.1 only, and its control API refuses requests from web pages.
- An Anthropic key only ever goes to Anthropic, and an OpenAI key only to OpenAI.
- Every release ships with SHA-256 checksums, and the installer refuses a file that doesn't match.
Built around the pause
Everything else is the base that makes the pause trustworthy.
Now your agent can talk to TokenOtter.
TokenOtter is also an MCP server. Link it once, and Claude Code or any MCP client gets three tools. The agent tells TokenOtter how far it has got, and can check its own spend before it starts something big.
claude mcp add tokenotter -- tokenotter mcpThere is no tool to approve a pause or raise a budget. An agent never approves its own spending.
- report_progress"3 of 8 steps done." Feeds the cost-to-finish forecast and the pause, even for agents that keep no to-do list.
{"done": 3, "total": 8} - run_statusSpend, budget, progress and the likely cost to finish, for the run the agent is in.
run 1124-2050: $3.40 / $10.00 · 3/8 steps · on track - list_runsRecent runs with their agent, repo, branch, loop alerts and cost.
1124-2050 agent=claude repo=checkout-service cost=$3.40
Tested, not promised.
Hundreds of simulated runs through the real proxy, with a fake provider on the other side. These numbers are re-checked on every push, in CI.
The tests also caught a weak forecast: its first version hit the range on only 59% of runs, so we rebuilt it. These are simulated runs, not real provider traffic. One known gap: tokens a provider adds outside your request, such as web-search results, aren't reserved, so a call like that can pass a cap by its extra cost. Your own accuracy shows in tokenotter accuracy after 5 finished runs.
What one stuck loop costs
Set it to your agent and see what a loop costs when nobody is watching, and what it costs when TokenOtter stops it at the fifth repeat.
Prices per million input / output tokens, from the providers' pages on 24 Nov 2026. Assumes every call re-sends the full context at the normal input price and writes 1,000 output tokens. Prompt caching would lower both numbers.
A cap stops. TokenOtter asks.
| Provider spend limit | A plain budget cap | TokenOtter | |
|---|---|---|---|
| Limit per task | No, per workspace or month | Yes | Yes, plus day and month |
| Checks before the call is sent | No | Depends on the tool | Yes, worst case reserved first |
| Knows how far the task got | No | No | Yes, from the agent's plan |
| Says what finishing will cost | No | No | Yes, a likely range |
| Lets you continue on the spot | No | No | Yes, one click |
| Keeps the work when it stops | No | No | Yes, on a WIP branch |
| Catches loops | No | No | Yes, at five repeats |
Two plans. Start free.
- Exact cost meter on every call
- Per-run budget with the pause card
- Loop stops and checkpoint to a WIP branch
- Forecast, accuracy score and the MCP server
- Answer in the terminal, desktop popup or dashboard
Limits: one run at a time, 30 days of history in reports, per-run budgets only.
Start free- Everything in Free
- As many agents in parallel as you run
- Daily and monthly caps, on top of per-run budgets
- Full history, kept as long as you like
- Phone and Slack approvals as they ship
Billed monthly in rupees (₹349, about $4) through Razorpay. Cancel any time. 7-day refund.
By paying you agree to the Terms, Privacy policy and Refund policy.
Get MaxFair questions
Which agents does it work with?
Anything that takes a base URL for Anthropic or OpenAI-style APIs: Claude Code with an API key, Codex CLI, Aider, Cline and your own SDK agents. Start them with tokenotter run -- <command>.
What is the difference between Free and Max?
Free is the full product for one person: one run at a time, 30 days of history in reports, and per-run budgets. Max, at $4 (₹349) a month through Razorpay, removes those limits: parallel runs, daily and monthly caps, and full history.
What does the MCP server add?
Run claude mcp add tokenotter -- tokenotter mcp once. Your agent can then report its progress and read its own spend. The proxy still does the metering and the pausing; the MCP tools make the forecast work for agents without a to-do list.
Does it see my code or keys?
Keys pass through to the provider and are never written to disk. Prompts and code are never stored. The ledger keeps metadata only: tokens, cost, model, time and tool names.
What if nobody answers the card?
After 9 minutes the run stops and your work is saved to a WIP branch. TokenOtter never continues on its own.
How good is the forecast?
It fits a trend line to the cost of each call so far, since context grows as a task goes on, and projects the calls still to come. It is labelled low confidence until 3 steps are done. In simulated runs the final cost landed inside its range 98% of the time, and every forecast on your own runs is scored against what really happened.
Is it for ChatGPT or Claude.ai plans?
No. Flat monthly plans have no per-call bill to protect, and a local proxy can't sit inside those apps. The same goes for Claude Code on a Pro or Max subscription.
What is TokenOtter, and what does it not do?
TokenOtter is a spend limit for AI coding agents. It meters the API calls your agent makes, forecasts what finishing will cost, and pauses the run before it goes over your budget. It does not generate images, video or any other content, and it does not create or edit pictures of people.
Why sign in with Google, and what do you get?
An account is optional and only needed for the online usage dashboard and a Max plan. Sign in with Google is used only to create your account and sign you in. We receive your name, email address and profile picture, and nothing else from your Google account. We don't sell it or use it for ads or AI training. Details are in the privacy policy.
What happens if the proxy crashes?
Agent calls fail rather than slip past your budget. Restart it with tokenotter serve and carry on with tokenotter resume.
What does an unknown model cost?
TokenOtter blocks the call with a clear message until the model is in the price table. A wrong price would be a bug in the one thing you trust it for.
Set your first budget.
Pick an agent and a budget. Copy the two commands, and your next run pauses before it costs more than you agreed to.