For coding agents, GPT-5.4 and Claude Sonnet 4.6 cost about the same per request ($0.10 vs $0.097 on our measured traffic).
Run Claude Sonnet 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 | Sonnet 4.6 | GPT-5.4 |
|---|---|---|
| Prompt under 100K tokens50% of requests, 87% of input cached | $0.047 | $0.040 |
| Prompt of 100K to 272K39% of requests, 88% of input cached | $0.12 | $0.099 |
| Prompt over 272K tokens11% of requests, 86% of input cached | $0.26 | $0.43 |
| Average request | $0.097 | $0.10 |
| 100 requests | $9.74 | $10.49 |
| Median session16 requests; a session ends after 10 idle minutes | $1.35 | $1.15 |
| A month of regular usemedian of 20 users active on 5+ days | $149 | $148 |
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.
| Artificial Analysis | Sonnet 4.6 | GPT-5.4 |
|---|---|---|
| Intelligence Index10 evaluations, 0 to 100 | 30 | 39 (estimate) |
| Terminal-Bench 4.0agentic coding in a terminal | 3.0% | n/a |
| Output speedmedian | 57 tokens/s | 95 tokens/s |
| Time to first answer tokenincludes thinking time | 101 s | 3.3 min |
Source: Artificial Analysis (artificialanalysis.ai). Measured variants: Claude Sonnet 4.6 (Max), speed on Anthropic; GPT-5.4 (Xhigh), speed on OpenAI. Fetched October 13, 2026. Artificial Analysis runs Terminal-Bench 4.0 in its own setup, so its scores differ from the tbench.ai leaderboard.
The gap widens on long prompts: under 100K tokens GPT-5.4 costs 1.2x as much per request, over 272K 1.6x. Claude Sonnet 4.6 is superseded: Claude Sonnet 5.5 costs $0.053 per request. GPT-5.4 scores clearly higher on the benchmarks above, so it may finish hard tasks in fewer steps.
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