See what your AI agent really costs

Coding agent cost per task: Artificial Analysis Coding Agent Index 2.0

What it costs, in API tokens, for a coding agent to finish one benchmark task, from $0.16 to $13.30 depending on the agent and model.

Key takeaways

  • Top score: Claude Code with Opus 5.5 (max) scores 61.7 at $11.42 per task.
  • Best value near the top: Codex with GPT-6.1 Sol (max) scores 54.1 at $1.50 per task, about 88% of the top score for about 13% of the cost.
  • Cheapest strong option: DeepSeek Harness with DeepSeek V4.1 Flash 1017 scores 46.3 at $0.30, and Codex with DeepSeek V4.1 Flash scores 47.3 at $0.39.
  • The spread is huge: the most expensive configuration (Claude Code with Sonnet 5.5 max, $13.30) costs about 83 times the cheapest (Codex with GPT-6 Luna max, $0.16).
  • The harness matters, not just the model: the same model can cost very different amounts in different agents because of how many steps they take and how well they use prompt caching.

Score and cost per task by agent and model

Sorted by index score. "Points per $" is index score divided by cost per task (our calculation).

AgentModel (effort)Index scoreCost per taskPoints per $
Claude CodeOpus 5.5 (max)61.7$11.425.4
Devin Fusion CLIClaude Opus 5.5 Max + GPT-6 Luna High61.5$8.007.7
Claude CodeSonnet 5.5 (max)59.3$13.304.5
Devin Fusion CLIClaude Fable 5.1 XHigh + SWE-2 Medium58.7$8.207.2
Claude CodeFable 5.1 (max, with fallback)57.6$11.535.0
CodexGPT-6 Astra (max)54.7$7.047.8
CodexGPT-6.1 Sol (max)54.1$1.5036.1
Antigravity CLIGemini 4 Argon (high)53.2$5.869.1
Devin Fusion CLIGPT-6 Astra XHigh + SWE-2 Medium53.1$4.3412.2
Muse CodeMuse Wonder (max)52.0$8.056.5
OpencodeGLM-5.3 (max)48.9$5.239.3
CodexDeepSeek V4.1 Flash (max)47.3$0.39121.3
Grok BuildGrok 4.7 (xhigh)46.6$9.484.9
DeepSeek HarnessDeepSeek V4.1 Flash 1017 (max)46.3$0.30154.3
Muse CodeMuse Spark 1.3 (max)45.7$3.9111.7
Claude CodeStep 5 Preview43.1$1.8423.4
Kimi Code CLIKimi K341.4$5.178.0
Claude CodeQwen3.8 Max39.2$3.8010.3
Claude CodeHaiku 5.5 (max)37.3$2.6714.0
Antigravity SDKGemini 3.8 Flash (high)33.3$2.5113.3
CodexGPT-6 Luna (max)31.1$0.16194.4
Muse CodeMuse Spark Open (xhigh)26.3$3.547.4

What the numbers mean

Coding Agent Index v2.0 is the equal-weight average of three benchmarks: FrontierCode v1.1, Terminal-Bench 4.0 and SWE-Atlas-QnA-AA. Cost per task is the average pay-per-token API cost per task, including cached-input discounts and cache-write charges where providers bill them. It is not a subscription price: many people run these agents on $20/month plans instead. Infrastructure and engineering time are not included.

Source: Artificial Analysis, AI Coding Agent Benchmarks & Leaderboard (data as of Oct 22, 2026) and Coding Agent Index v2.0 methodology. Scores shown on a 0-100 scale, costs rounded to the cent. TokenTab is not affiliated with Artificial Analysis.

Estimate your own agent's cost

Benchmarks are a guide; your prompts, tools and task mix decide your bill. Plug your own token counts and tool calls into the calculator to see the cost per task, per day and per month on every major model.

Open the TokenTab calculator Read the estimation guide

Get the TokenTab newsletter

Model price changes and agent cost tips, straight to your inbox. Unsubscribe anytime; we only use your email for this newsletter.