On December 4, OpenRouter published an empirical ranking of CLI AI coding agents covering 200 trillion tokens routed over 30 days (October 4 to November 2, 2026) and 627 published session-cost cells. Claude Code ranked first among dedicated coding agents with 44.69 trillion tokens (22.3% share, up 74% month-over-month), while Nous Research's general-purpose Hermes Agent led overall at 52.54 trillion tokens; together they accounted for 48.6% of all CLI-agent volume. Across 10-to-49-turn sessions, swapping the underlying model drove a ~55x cost gap—from $1.331 on Claude Opus 5.5 down to $0.024 on GPT-6 Luna in Claude Code—whereas switching agent harnesses on the same model varied only 0.90x to 1.26x.
Key Takeaways
- ✓Dedicated coding agent token volume (30 days): Claude Code led at 44.69T (22.3%, +74%), followed by Kilo Code at 23.59T (11.8%, +24%), pi at 16.58T (+58%), Codex at 13.20T (+50%), Cline at 11.13T (-37%), omp at 9.35T (+4%), and OpenHands at 2.91T (+21%).
- ✓General and security agents surge: Hermes Agent topped overall CLI traffic at 52.54T tokens (26.3%), OpenClaw reached 10.82T (+97%, #7), and security agent Strix grew 262% to 4.79T (#9).
- ✓Model choice dominates spend: In 10–49 turn Claude Code runs, median cost swung ~55x from Claude Opus 5.5 ($1.331) to GPT-6 Luna ($0.024), while cross-agent medians at a fixed model stayed within 0.90x (Hermes), 1.08x (Codex), and 1.26x (Kilo Code) of Claude Code.
- ✓Long-session and model-specific outliers: At 50+ turns, Claude Opus 5.5 hit $8.402–$8.977 median vs $0.200–$0.262 on GPT-6 Luna; Codex was uniquely cheap on GLM 5.3 at $0.452 vs $1.252–$1.736 elsewhere.

Key Decision Metrics at a Glance
Heavy Claude Code use: compare subscription limits and API bills
Compare 40 dev plans & simulate token costs vs $20/mo subscriptions
Project Links & Resources
Direct AccessIn-Depth Technical Analysis
Core Background & Industry Pain Points
Engineering teams adopting terminal coding agents often debate whether switching harnesses meaningfully lowers API bills. Published on December 4, OpenRouter's empirical report analyzes 200 trillion CLI-agent tokens routed over 30 days (October 4 to November 2, 2026) alongside real session-cost telemetry to separate adoption trends from model-driven spend.
Architecture Highlights & Internals
Usage figures come from OpenRouter's public CLI-agent rankings dataset covering 83 visible agents, excluding private apps, bring-your-own-key traffic, and first-party subscriptions (such as Anthropic-billed Claude Code or Cursor's own models). The session-cost dataset spans 627 cells ending November 1, 2026, requiring at least 200 paid sessions across 50 users per agent-model-turn-bucket cell (1, 2–9, 10–49, and 50+ turns) and counting inference fees only without pooling differing session definitions across tools.
Authoritative Benchmarks & Measured Scores
Among dedicated coding tools in the top 10 CLI agents, Claude Code led with 44.69T tokens (22.3% share, +74%, 113k tokens/request), followed by Kilo Code (23.59T, +24%), pi (16.58T, +58%), Codex (13.20T, +50%, smallest at 69k tokens/request), Cline (11.13T, -37%), omp (9.35T, +4%, largest at 150k tokens/request), and OpenHands (2.91T, +21%), while general agent Hermes Agent led overall at 52.54T. At fixed models for 10–49 turns, Hermes (0.90x), Codex (1.08x), and Kilo Code (1.26x) clustered tightly around Claude Code, whereas changing models shifted costs ~55x (GPT-6 Luna and DeepSeek V4.1 Flash stayed at $0.023–$0.036 vs $1.331–$2.364 on Claude Opus 5.5). Code quality was not benchmarked.
Developer Hands-on Guide
Developers can pick a primary harness by workflow and control spend via model routing. Using OpenRouter's Ori Harness (curl -fsSL https://openrouter.ai/labs/ori/install.sh | bash), teams can run ori claude, ori hermes, ori codex, or ori kilo with --model flags to benchmark candidate models on real repository tasks under one account.
Benchmark side-by-side against alternatives, or calculate monthly token cost vs subscription break-even.
Discussion & Comments
Sign in to join the discussion
Connect with AI developers to exchange benchmark insights.