OpenRouter finds model choice drives bigger coding-cost gaps than agent choice
A new report compares observed session bills and token usage on one platform. Its biggest savings example does not establish equal coding quality.
Loading page…
A new report compares observed session bills and token usage on one platform. Its biggest savings example does not establish equal coding quality.
Listen to this story
In OpenRouter’s data, a 10–49-turn Claude Code session had a median inference bill of $1.331 on Claude Opus 5.5 versus $0.024 on GPT-6 Luna. Comparisons across agents showed smaller overall cost differences, but particular model-agent pairings and longer sessions could shift bills substantially. The figures reflect observed spending on OpenRouter-routed sessions—not the cost of completing equivalent coding tasks successfully—so developers should test candidate models on their own repository work.
Claude Code led dedicated coding agents with 44.69 trillion tokens, or 22.3% of command-line agent traffic, in the October 4–November 2 period.
Hermes Agent led the broader command-line category at 52.54 trillion tokens, but its general-purpose usage cannot be counted as coding volume alone.
OpenRouter’s cost sample excludes bring-your-own-key traffic and tool charges, and requires at least 200 sessions from 50 users before publishing a result.
OpenRouter published a coding-agent usage and cost report on December 4 that points developers toward a bigger savings lever: model choice. Observed session costs varied far more between models than between agents, though the company did not test whether cheaper runs produced equally good code.
The usage ranking covers October 4 through November 2, 2026, counting both prompt and completion tokens—the units models process and generate. It captures traffic routed through OpenRouter, not the entire coding-agent market. Hidden and private applications are excluded.
Claude Code ranked first among dedicated coding agents with 44.69 trillion tokens, or 22.3% of all command-line agent traffic in the dataset. Its volume rose 74% from the previous 30 days. OpenRouter classified an agent as dedicated to coding when that was its main job.
Hermes Agent actually led the broader command-line category, sending 52.54 trillion tokens. But it is a general-purpose agent that also codes, so its total cannot be read as coding volume alone. Together, Hermes Agent and Claude Code accounted for 48.6% of roughly 200 trillion tokens.
For costs, OpenRouter compared sessions lasting 10 to 49 turns in four agents: Claude Code, Codex, Hermes Agent and Kilo Code. Within Claude Code, the median bill on Claude Opus 5.5 was about 55 times the median on GPT-6 Luna.
OpenRouter’s observed median inference cost for a 10-to-49-turn Claude Code session using Claude Opus 5.5.
OpenRouter’s observed median inference cost for the same session-length band in Claude Code using GPT-6 Luna.
Differences between agents were smaller in the shared-model comparisons. Relative to Claude Code, median session-cost ratios were 0.90 for Hermes Agent across 38 shared models, 1.08 for Codex across 11, and 1.26 for Kilo Code across 19. These comparisons cover different sets of models, not one identical lineup.
Agent choice still mattered in individual cases. On Claude Haiku 5.5, Kilo Code’s median session cost was $0.118, compared with $0.029 in Hermes Agent. On Claude Opus 5.5, Codex cost $2.364 against Claude Code’s $1.331.
Longer conversations also changed the bill. For sessions of at least 50 turns, Claude Opus 5.5 medians ranged from $8.402 to $8.977 across Hermes Agent, Claude Code and Kilo Code. GPT-6 Luna remained between $0.200 and $0.262 across all four agents.
OpenRouter’s session-cost methodology uses a weekly sample of paid sessions, excluding bring-your-own-key traffic and banned users. It caps contributions at five sessions per user and publishes a result only after collecting at least 200 sessions from 50 users. The cost dataset’s 30-day window ended November 1.
Those bills cover model inference only, excluding web-search and file-tool charges. Each application defines a session differently, and OpenRouter did not run agents side by side on identical tasks. The study therefore measures observed session spending, not the cost of completing the same coding job successfully.
For developers choosing a setup, OpenRouter recommends testing two or three candidate models on a real task from their own repository. That adds the evidence its leaderboard leaves out: how the resulting code performs on their work.
Loading discussion...
Join the conversation
Explain how you would weigh savings against uncertainty.
Be the first to share a perspective or an experience.
Reader comments
Newest comments first. Replies stay oldest first.