In our calculation DeepSeek V4.1 Flash gives the most agentic-coding ability per dollar: 40 Terminal-Bench 4.0 points (from Artificial Analysis) per dollar of 100 coding-agent requests (our measured cost), followed by Claude Haiku 5.5 (25) and Step 5 Preview (13).
Run current Claude, GPT, Gemini and open models in your agent
Or let the router send each step to the cheapest model that can do it, on providers we vet for price, uptime and speed. Plans from $19 a month.
| Model | Points per $our calculation | 100 requestsour data |
|---|---|---|
| 1. DeepSeek V4.1 Flashmax effort | 40 | $0.67 |
| 2. Claude Haiku 5.5max effort | 25 | $1.31 |
| 3. Step 5 Preview | 13 | $2.48 |
| 4. Claude Sonnet 5.5max effort | 12 | $5.33 |
| 5. GPT-6.1 Solmax effort | 8.3 | $6.74 |
| 6. GLM 5.3max effort | 7.3 | $5.72 |
| 7. Mistral Large 4Mistral Large 4 Preview | 6.3 | $4.24 |
| 8. Claude Opus 5.5max effort | 5.6 | $10.66 |
| 9. Gemini 4 Argonhigh effort | 5.4 | $10.55 |
| 10. Muse Wondermax effort | 4.9 | $10.55 |
| 11. GPT-5.6 Terramax effort | 4.2 | $8.40 |
| 12. Claude Fable 5.1max effort | 2.2 | $23.76 |
| 13. Grok 4.7xhigh effort | 2.0 | $13.16 |
| 14. GPT-6 Astramax effort | 1.4 | $41.25 |
Source: Artificial Analysis (artificialanalysis.ai). Each model is measured as the variant named under it. Cost per request is ours: every one of 79,301 real coding-agent requests priced at list rates (OpenRouter's listed price for some older and open models). Methodology
| Model | Points per $our calculation | 100 requestsour data |
|---|---|---|
| GPT-6 Lunapasses 12.6% of Terminal-Bench 4.0 tasks | 31 | $0.41 |
| GPT-5.6 Lunasuperseded by GPT-6 Luna | 14 | $0.84 |
| GPT-6 Solsuperseded by GPT-6.1 Sol | 5.3 | $8.25 |
| DeepSeek V4 Propasses 14.1% of Terminal-Bench 4.0 tasks | 4.6 | $3.04 |
| Gemini 3.8 Flashpasses 19.7% of Terminal-Bench 4.0 tasks | 4.1 | $4.83 |
| GPT-5.6 Solsuperseded by GPT-6.1 Sol | 2.4 | $16.50 |
| MiniMax M3passes 2.0% of Terminal-Bench 4.0 tasks | 1.6 | $1.29 |
| Claude Opus 4.8superseded by Claude Opus 5.5 | 1.3 | $16.23 |
| Gemini 3.5 Flashsuperseded by Gemini 3.8 Flash | 1.3 | $4.93 |
| Claude Fable 5superseded by Claude Fable 5.1 | 1.3 | $32.47 |
| GPT-5.4 Minipasses 2.0% of Terminal-Bench 4.0 tasks | 0.9 | $2.27 |
| Qwen3.7 Pluspasses 1.0% of Terminal-Bench 4.0 tasks | 0.7 | $1.39 |
| GPT-5.5superseded by GPT-6.1 Sol | 0.7 | $20.99 |
| Gemini 3.1 Flash Litepasses 0.5% of Terminal-Bench 4.0 tasks | 0.6 | $0.82 |
| Gemini 3.1 Propasses 4.0% of Terminal-Bench 4.0 tasks | 0.4 | $9.48 |
| Kimi K2.7 Codepasses 1.0% of Terminal-Bench 4.0 tasks | 0.4 | $2.71 |
| Claude Sonnet 4.6superseded by Claude Sonnet 5.5 | 0.3 | $9.74 |
| Qwen3.7 Maxpasses 1.5% of Terminal-Bench 4.0 tasks | 0.2 | $6.29 |
| Kimi K2.6passes 0.5% of Terminal-Bench 4.0 tasks | 0.2 | $2.41 |
| GLM 5.2superseded by GLM 5.3 | 0.2 | $5.72 |
| Llama 4 Maverickpasses 0.0% of Terminal-Bench 4.0 tasks | 0.0 | $0.95 |
| Devstral 2passes 0.0% of Terminal-Bench 4.0 tasks | 0.0 | $1.01 |
| Mistral Large 3superseded by Mistral Large 4 | 0.0 | $1.19 |
| Claude Haiku 4.5superseded by Claude Haiku 5.5 | 0.0 | $2.22 |
| Grok 4.3superseded by Grok 4.7 | 0.0 | $6.84 |
Source: Artificial Analysis (artificialanalysis.ai). Cost per request is ours. Methodology
This is a ratio of two different sources: a benchmark score and our measured request cost. It ignores retries and the number of steps a model needs, and DeepSeek prices are its peak-hour rates (half price off-peak).
Current Claude, GPT, Gemini and open models run on Standard Compute