One model took about 86% of the API spend while I built my own agent
By Fahmi Ghani · about the author and how this is written

While building the miganGO desktop agent, one model took about 86% of the API spend. Measuring the agent with its own cost log changed the roadmap immediately.
Method
I summed miganGO’s per-run cost log from 26 October to 9 November 2026 (6 logged days, 627 runs) and grouped it by model.
Numbers
| What was measured | Result |
|---|---|
| Total API spend, 627 runs | US$291.11 |
| The single most used model (Claude Opus) | US$249.11 (86%) |
| Small local models on my own machine | US$0 per token (machine and power still paid for) |
Limits
- Not a benchmark: it includes test and verification runs, including deliberate failure tests.
- One project, one maintainer, six logged days.
Sources
- Article: We spent $291 building an AI agent · accessed 12 November 2026
- miganGO repository (MIT licence) · accessed 12 November 2026
How it was checked: Recomputed from raw files. This is a synthesis of my own experiments. It is not peer reviewed.
Drafted with AI help from my work notes and experiments; I review it before it is published.
Licence: text and data CC BY 4.0. You may reuse and quote with credit to the author and a link to this page.
Cite as: Ghani, F. (2026). MiganCore Findings, record TMN-005. https://migancore.com/en/blog/research/one-model-took-86-percent-of-agent-spend/ · JSON