cd /news/ai-agents/my-coding-agents-would-have-cost-836… · home › topics › ai-agents › article
[ARTICLE · art-171900] src=ainexusdaily.vercel.app ↗ pub= topic=ai-agents verified=true sentiment=· neutral

My coding agents would have cost $8,360 in 30 days. Here's where it went.

A solo developer building the open-source Caprock desktop app priced every Claude Code and Codex call made over 30 days (8 October to 6 November 2026) at API list rates and found the work would have cost $8,360 — $8,056 on Claude and $304 on Codex — though the developer paid only a flat plan fee. About nine of every ten dollars went to Claude Opus, daily spend ranged from $92 on 19 October to $670 on 14 October, and 45 pull requests merged in one October week cost $343.78 at list price, or $7.64 per pull request, with the most expensive single change at $71.13. The developer argues the busiest day and cost per merged pull request matter more than a monthly average, and publishes the method and full numbers at caprock.dev/numbers.

recommendation

Price each agent session log at API list rates and review cost per merged pull request and your busiest day, not the monthly average, before choosing a flat plan over pay-as-you-go.

more in playbook: Controlling LLM cost
read2 min views4 publishedNov 18, 2026
My coding agents would have cost $8,360 in 30 days. Here's where it went.
Image: Ainexusdaily (auto-discovered)

I build a developer tool alone, with Claude Code and Codex running most of the day. For the last 30 days (8 October to 6 November 2026) I priced every call they made at API list rates. The total: $8,360. Claude: $8,056. Codex: $304. That isn't my bill. I'm on a flat plan, so what I actually paid is

the plan fee. The $8,360 is what the same work would have cost through the API. I watch it because it tells me whether the plan is paying for itself, and which work is expensive. Busiest day: 14 October, $670.

Quietest day: 19 October, $92. A sevenfold spread between two days of the same person on the same projects. A monthly average hides that, and the busiest day is what a plan's limits have to hold. About nine dollars in every ten went to Claude Opus.

Everything else together — Fable, Sonnet, Haiku and OpenAI's GPT models through Codex — is the remaining tenth. If I want the number lower, choosing a model per task does more than anything else. In one October week, 45 pull requests merged on my main project. The agents' work on them came to $343.78, or $7.64 per pull request at list price.

The most expensive single one cost $71.13. Seen that way, the useful question isn't the monthly total but which changes cost nine times the average, and why. Claude Code and Codex both keep their own session logs on disk, and neither adds its sessions up with the other's. I read both into one local table and price every turn by model at list price.

Nothing leaves the machine. The tool I use for this is the one I'm building: Caprock, a free, open-source (Apache-2.0) desktop app for macOS, Windows and Linux. You don't need it to do this, though. The logs are in ~/.claude/projects/ and ~/.codex/sessions/, and the prices are on Anthropic's and OpenAI's pricing pages.

A script can do the same sum. Look at one week of your own numbers before choosing a plan. Mine would be a terrible fit for pay-as-you-go and a good one for a flat plan. Yours may be the opposite.

Watch the busiest day, not the average. It's what your plan's limits have to hold. Price the pull request, not the month. A monthly total says little; cost per merged change says whether the agents are worth it.

The full numbers, with the method, are on caprock.dev/numbers.

Key Takeaways #

  • •The $8,360 is what the same work would have cost through the API.
  • •This story was reported by Dev.to , covering developments in thedev space.
  • •AI advancements continue to reshape industries — read the full article on Dev.to for complete coverage.

📖 Continue reading the full article:

Read Full Article on Dev.to →

── more in #ai-agents 4 stories · sorted by recency
── more on @claude code 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/my-coding-agents-wou…] indexed:0 read:2min 2026-11-18 · —