I burned all my tokens researching how to save tokens A Quesma researcher burned through his entire Claude team x5 token limit in 30 minutes while investigating AI agent tokenomics, prompting him to build a multi-model orchestration pipeline using existing subscriptions for Claude, Codex, and Antigravity. The setup assigns specialized roles to different models—such as Claude Sonnet for searching, Opus for verification, and Fable for planning—to reduce costs and improve research reliability. I burned all my tokens researching how to save tokens At Quesma we are researching the economics of AI agents, so what agentic coding really costs and what you can do about it. For this research I am running my own deep research setup, a pipeline of agents that builds a knowledge base I can actually trust. The first version of this setup burned the whole limit of my Claude team x5 plan in 30 minutes. This post is the story of how I fixed the cost and the trust, using only subscriptions I already paid for, and how you can build the same. My goal was to understand the entire state of so-called tokenomics. I wanted to know what monitoring systems exist, how teams govern their AI spend, and which optimization tools and practices actually work, both in the papers and in the real world. I started the usual way, with /deep-research https://code.claude.com/docs/en/commands . I gave it the big open question and let it run. After around 30 minutes of research, I hit a limit and had to wait a few hours for it to reset. And I had no results. The run launched 111 agents and queued 123 claims for verification, but only 25 got verified before the limit hit, and the final synthesis never ran. So, it hit me personally. And this is a bit funny, from the very first day I had to optimize tokens while still discovering how to optimize tokens. Learning by doing. Using every subscription I already pay for If Fable is out after 30 minutes and /deep-research is consuming so many tokens without giving me any results, what can I do to make the research more effective? I started thinking what kind of tools I already have and pay for. Claude, Codex and Antigravity, so three subscriptions, and in theory three times more tokens without paying anything extra. What if I use all of these tools together, with shared memory? Since I am already using the claude-mem https://github.com/thedotmack/claude-mem plugin I extended it to support Codex and Antigravity locally, so that all three tools can use shared memory during sessions. Whatever one tool learns, the others can use. Cheaper models as subagents My default setup is Claude Code, so I used it as the main harness. While doing the research manually, I discovered a model-orchestration pattern, which was exactly what I needed at this moment. We don’t really need Fable for everything: Opus 4.8, Sonnet 5, GPT-5.5, and Gemini 3.1 Pro are already excellent models for many tasks. So I checked a few benchmarks and cost analyses, mostly Terminal-Bench https://www.tbench.ai/ for terminal and agentic work, SWE-bench Pro https://scale.com/leaderboard/swe bench pro public for end-to-end software engineering, and Artificial Analysis https://artificialanalysis.ai/ for a general view of performance and prices. I did not treat any of them as the final truth, benchmarks measure their own thing and the numbers move every month. I just needed a loose starting point for who is good at what, and using several different models was part of the experiment from the beginning, I expected to adjust the split after real runs anyway: | Role | Model | Why this one | |---|---|---| | Find | Claude Sonnet 5 | Strong on agentic benchmarks and cheap enough to run in bulk | | Verify | Claude Opus 4.8 | The most accurate Claude worker, checking needs more accuracy than searching | | Judge & plan | Claude Fable 5 | The most expensive one, so it only plans, decomposes and resolves disputes | | Small stuff | Claude Haiku 4.5 | Cheap and fast for extraction and formatting, too weak for multi-step work | | Run tools | Codex GPT-5.5 | Very strong on terminal benchmarks; clones, installs, runs and inspects tools | | Second opinion | Antigravity Gemini 3.1 Pro | A different model family, so it does not share the same blind spots | This split was not my first version, I adjusted it a few times when live runs showed weaknesses, and the fallback rules came from those failures. The best thing here is that I prepared Codex and Antigravity to be used as Claude subagents, orchestrated by Fable, using the headless nature of both. Why is it cool? Because tokens are taken from the Codex and Antigravity subscriptions, so I was not paying extra, but I instantly had much more intelligence to use. The whole trick is one small bash script that my Claude agents can call like any other command: run-cli: call another vendor's CLI as a headless subagent usage: run-cli