cd /news/ai-agents/token-beggar-0-3-0-on-18-real-bug-fi… · home › topics › ai-agents › article
[ARTICLE · art-156302] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Token Beggar 0.3.0: on 18 real bug fixes it cost 1.42x less, with a tie on tests

A developer released Token Beggar 0.3.0, a Claude Code plugin that routes tasks to cheaper models before invoking the user's chosen model, cutting cost per task by about 29 percent (1.42x cheaper) on 18 merged open source Python pull requests while resolving 69 percent of issues versus 70 percent without the plugin. The plugin keeps design, root-cause analysis and final answers on the user's selected model and effort ceiling, and only hands large tasks to a worker; 17 of 18 tasks cost less. The developer notes small tasks save little and does not claim the 1.42x figure applies universally.

by read3 min views3 publishedOct 23, 2026

I made a Claude Code plugin called Token Beggar, and today I released version 0.3.0 of it.

I kept running the biggest model at high effort for every step, even when the step was just reading a repo I had never seen. The bill made me curious, so I built something that checks whether a cheaper model can do the job first.

It uses the Claude Code you already have. No extra API, no extra account. It is still in development, and I would love feedback.

Before the big model starts, the plugin sizes the task.

Design, root causes and the final answer stay with the model you picked. Your chat model and effort are a ceiling, so nothing goes above them.

There are two setups, and only two. Without Token Beggar is the chat model working alone. With Token Beggar is the card shipped in 0.3.0. The chat model is Opus 5.5 at high effort, and cost is list price for the chat and every worker, cache included.

The hard tasks are 18 merged pull requests from 12 open source Python projects (Django, Sphinx, pylint, sympy, click and others). The chat starts from the commit before the fix with only the issue text, and it is scored by the tests the maintainers added, which it never sees. 3 runs per task, 54 runs per setup.

Setup Cost per task Multiple Issues resolved
Without Token Beggar $0.69 1.00x 70%
With Token Beggar $0.49 1.42x less (1.33 to 1.51) 69%

Cost per task went down about 29 percent. The share of issues resolved is level, and 69% against 70% is a tie within the spread. Time is level too (168 seconds against 187), so it is not faster. 17 of the 18 tasks cost less, and the one that cost more cost about 10% more.

My earlier article reported 1.24x cheaper overall. That came from a mix of 21 mostly small tasks, and the routing was different then. Small tasks save very little. Under about 1.15x I cannot tell a saving from run to run noise, so 0.3.0 keeps small tasks in the chat and only hands large ones to a worker.

That change is why the hard task number is bigger. It is also why I do not claim 1.42x for everything. Small tasks were measured only with the earlier card, and they saved little there (1.11x).

You need Claude Code and Python 3.10 or newer. It uses the standard library only.

/plugin marketplace add Arthur031221/Token-Beggar
/plugin install token-beggar@token-beggar

Restart the agent or run /reload-plugins. To check that the hooks run, use token-beggar doctor. To turn it off, set TOKEN_BEGGAR=off for a shell, or uninstall the plugin.

It runs on your machine, writes only to its own folder, and sends nothing about you anywhere. The only network call is one weekly download of the vendor's public models page, to keep prices current.

I would rather you read these before you try it.

The raw runs and the task list are in the repo, so you can check every number.

Repo: https://github.com/Arthur031221/Token-Beggar

Release: https://github.com/Arthur031221/Token-Beggar/releases/tag/v0.3.0

Assisted by Claude/Codex.

── more in #ai-agents 4 stories · sorted by recency
── more on @token beggar 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/token-beggar-0-3-0-o…] indexed:0 read:3min 2026-10-23 · —