Operator noteAleksei Balchunas

Which coding model is cheapest per task?

Same coding benchmark, different price tags. Compare API cost with estimated Codex Credits and Codex Pro cost per task across Astra, Claude, Sol, Terra, Luna, Kimi, Grok, Composer, and DeepSeek.

01

Comparison

Click any column to sort. Default: effective cost per score point, lowest first.

Model ↕ Effort / Harness ↕ Overall coding score ↕ DeepSWE ↕ TerminalBench ↕ SWE Atlas ↕ API / PAYG $/task ↕ Credits at -20% ↕ Codex Pro 20x est. ↕ Effective ¢ / score point ↕
DeepSeek V4 Flash 0731Max / Codex5043%68%39%$0.06--0.12¢
LunaMedium / Codex4237%62%27%$0.09$0.07$0.05-$0.060.13¢
LunaHigh / Codex5253%73%29%$0.18$0.14$0.09-$0.110.19¢
DeepSeek V4 Pro 0813Max / Codex4316%63%49%$0.09--0.21¢
Composer 2.5Standard / Cursor CLI3816%68%31%$0.09--0.24¢
LunaXHigh / Codex5357%71%31%$0.24$0.19$0.12-$0.150.25¢
LunaMax / Codex5763%75%33%$0.29$0.23$0.15-$0.180.29¢
TerraMedium / Codex4846%70%29%$0.67$0.54$0.34-$0.420.79¢
TerraHigh / Codex5560%72%31%$1.14$0.91$0.57-$0.711.16¢
TerraXHigh / Codex5658%77%33%$1.36$1.09$0.68-$0.851.37¢
Composer 2.5Fast / Cursor CLI3816%68%31%$0.56--1.47¢
TerraMax / Codex6067%78%36%$1.93$1.54$0.97-$1.211.82¢
SolMedium / Codex6264%81%40%$2.19$1.75$1.10-$1.371.99¢
SolHigh / Codex6465%82%45%$3.00$2.40$1.50-$1.882.64¢
SolXHigh / Codex6367%80%43%$3.74$2.99$1.87-$2.343.34¢
Grok 4.5High / Grok Build6460%84%48%$2.44--3.81¢
Claude Opus 5Low / Claude Code5957%82%39%$2.30--3.90¢
AstraMax / Codex6767%83%51%$4.72$3.78$2.36-$2.953.96¢
SolMax / Codex6569%83%43%$5.00$4.00$2.50-$3.134.33¢
Kimi K3Kimi Code CLI6364%88%37%$3.08--4.89¢
Claude Opus 5Medium / Claude Code6463%85%44%$3.17--4.95¢
Claude Opus 5High / Claude Code6661%87%49%$3.92--5.94¢
Claude Opus 5XHigh / Claude Code6860%89%55%$8.17--12.01¢
Claude Fable 5.1Max + fallback / Claude Code7066%89%56%$9.18--13.11¢
Claude Opus 5Max / Claude Code6763%89%49%$8.94--13.34¢
Higher benchmark scores are better.Lower cost per task and per score point is better.
02

Notes

Snapshot: . Scores and measured API cost come from Artificial Analysis Coding Agent Index v1.4.

Codex estimates: Credits applies the working 20% discount. Pro 20x assumes included compute delivers about 1.6x to 2.0x the value of base pay-as-you-go credits. Neither is an official per-task quote.

Effective cost per score point: effective task cost divided by Overall coding score, shown in cents. Codex models use the midpoint of the Pro 20x estimate; other models use API / PAYG cost. It is a cost-efficiency indicator, not a linear measure of intelligence.

DeepSeek on OpenRouter: Flash 0731 currently starts near $0.05/M input and $0.10/M output, versus DeepSeek Direct at $0.22-$0.44/M fresh input and $0.66-$1.32/M output. The table keeps the measured $0.06 benchmark task cost because no identical token trace has been rerun through OpenRouter. See current OpenRouter endpoints.

Missing current models: Grok 4.6 and Claude Sonnet 5 have CursorBench results, but no comparable Coding Agent Index v1.4 run yet. Mixing those scores into this ranking would make the decision less reliable.

Related guide: How to Have an Endless Supply of Tokens in Codex.