For coding agents, Claude Haiku 4.5 costs 1.3x as much as GPT-5.4 Mini per request ($0.022 vs $0.017 on our measured traffic), because Claude Haiku 4.5 lists at $1 input, $0.10 cached input and $5 output per million tokens against $0.75, $0.075 and $4.50 for GPT-5.4 Mini.
Run Claude Haiku 5.5 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.
| Cost at list price | GPT-5.4 Mini | Haiku 4.5 |
|---|---|---|
| Prompt under 100K tokens50% of requests, 87% of input cached | $0.012 | $0.016 |
| Prompt of 100K to 272K39% of requests, 88% of input cached | $0.026 | $0.033 |
| Prompt over 272K tokens11% of requests, 86% of input cached | n/a | n/a |
| Average request | $0.017 | $0.022 |
| 100 requests | $1.70 | $2.22 |
| Median session16 requests; a session ends after 10 idle minutes | $0.20 | $0.27 |
| A month of regular usemedian of 20 users active on 5+ days | $18.99 | $24.74 |
Each logged request priced at the vendor’s list rates for its own token counts, including cache reads and any higher rate for long prompts. Average output: 698 tokens per request. Both models are priced on the requests up to 200K tokens that fit in both context windows; band shares above describe all requests.
| Artificial Analysis | GPT-5.4 Mini | Haiku 4.5 |
|---|---|---|
| Intelligence Index10 evaluations, 0 to 100 | 24 | 17 |
| Terminal-Bench 4.0agentic coding in a terminal | 2.0% | 0.0% |
| Output speedmedian | 233 tokens/s | 95 tokens/s |
| Time to first answer tokenincludes thinking time | 2.1 min | 22 s |
Source: Artificial Analysis (artificialanalysis.ai). Measured variants: GPT-5.4 mini (Xhigh), speed on OpenAI; Claude 4.5 Haiku (Reasoning), speed on Anthropic. Fetched October 13, 2026. Artificial Analysis runs Terminal-Bench 4.0 in its own setup, so its scores differ from the tbench.ai leaderboard.
Claude Haiku 4.5's 200K window cannot take 21% of coding-agent requests, so the comparison uses only requests both can take. Claude Haiku 4.5 is superseded: Claude Haiku 5.5 costs $0.013 per request. GPT-5.4 Mini scores as well or better on the benchmarks above, so the cheaper request is not bought with much lower ability.
Pick a winner in each dimension. You can change your vote any time.
Correctness and depth of what it produces
Tool calls, instruction-following, and multi-step tasks
Tokens per second and time-to-first-token
How much capability you get per dollar
Consistent results: fewer refusals, loops and format breaks
The agent matters as much as the model. Compare AI agents →
Current Claude, GPT, Gemini and open models run on Standard Compute