The Research Report
How AI Agents Actually Spend Money: Token Economics from SWE-bench Runs
date: 2026-11-08
title: "How AI Agents Actually Spend Money: Token Economics from SWE-bench Runs"
author: Brian Taylor
How AI Agents Actually Spend Money: Token Economics from SWE-bench Runs
Measured scope
OpenHands trajectories on eight frontier LLMs over SWE-bench Verified, four independent runs per issue. Applies to delegated coding/agentic work, not chat.
Findings
- Agentic coding uses roughly 1000x more tokens than code chat/reasoning; input tokens dominate, even with caching.
- Token usage can differ up to 30x across runs of the same task.
- Accuracy peaks at intermediate cost and saturates; higher spend often reflects unproductive exploration.
- Kimi-K2 and Claude Sonnet 4.5 consume more than 1.5M tokens on average more than GPT-5 on the same tasks.
- Human-rated difficulty only weakly predicts actual token cost.
Prediction
Agents can give coarse trends but achieve only weak-to-moderate correlation (up to 0.39) and systematically underestimate, especially input tokens. Useful for budget alerts, not exact quotes.
Relevance to Brian
Pre-launch/ROI consulting and his cron pipelines benefit from controls (caps, budget alerts) rather than relying on agent self-estimates or human complexity ratings.