On December 4, 2026, OpenRouter published a ranking of AI coding agents by real usage and cost, covering CLI-agent traffic that ran through its platform from October 4 to November 2, 2026. Over those 30 days, CLI agents consumed about 200 trillion tokens; Claude Code was the most-used dedicated coding agent, with 44.69 trillion tokens — 22.3% of the total — up 74% on the previous 30 days. The general-purpose Hermes Agent sent more overall, 52.54 trillion tokens, but it does far more than write code.
| Agent | 30-day tokens | Change |
|---|---|---|
| Claude Code | 44.69 trillion | +74% |
| Kilo Code | 23.59 trillion | +24% |
| pi | 16.58 trillion | +58% |
| Codex | 13.20 trillion | +50% |
| Cline | 11.13 trillion | -37% |
| OpenHands | 2.91 trillion | +21% |
Switching agents saves little; switching models saves a lot
At the same model, switching agents changes the median session cost by only 0.90 to 1.26 times; switching models is a different story. In Claude Code, a 10-to-49-turn session has a median cost of $1.331 on Claude Opus 5.5, but only $0.024 on GPT-6 Luna — about 55 times less. On GPT-6 Luna and DeepSeek V4.1 Flash, the same kind of session costs under 4 cents in all four agents. The gap widens for long sessions: over 50 turns on Opus 5.5, the median is about $8.50, while GPT-6 Luna stays between $0.20 and $0.26.
Read the fine print first
The ranking only covers traffic that goes through OpenRouter — Claude Code on an Anthropic subscription and Cursor on its own models are not counted — and it measures usage and cost, not code quality. Cline is the only top-10 agent whose usage fell, down 37%. OpenRouter's earlier test found that the same task burned 42 times more tokens over MCP than over the CLI, so the tooling overhead is worth counting too. Readers who want to control spending by model can start with the measured bill for switching models in Claude Code.