Grok 4.20 vs GPT-5.4 Mini
API pricing, benchmark indices and specs — updated 19 October 2026.
x-ai · A · API-only
Input / 1M
$1.25
Output / 1M
$2.50
AA index
25.7
proprietary · 2M context
openai · B · API-only
Input / 1M
$0.75
Output / 1M
$4.50
AA index
24.1
proprietary · 400K context
Specification comparison
Differences are highlighted; identical values are muted.
| Specification | Grok 4.20 | GPT-5.4 Mini |
|---|---|---|
| Deployment | API-only (closed weights) | API-only (closed weights) |
| Parameters | n/a — API-only | n/a — API-only |
| Architecture | n/a — API-only | n/a — API-only |
| Context length | 2,000,000 | 400,000 |
| Licence | Proprietary | Proprietary |
| Commercial use | Per API terms | Per API terms |
| Languages | n/a — API-only | n/a — API-only |
| Downloads 30d | n/a — API-only | n/a — API-only |
| Downloads all time | n/a — API-only | n/a — API-only |
| Quantizations on the Hub | n/a — API-only | n/a — API-only |
| Gated | n/a — API-only | n/a — API-only |
| First seen on the Hub | n/a — API-only | n/a — API-only |
| API input price / 1M tokens | $1.25 | $0.75 |
| API output price / 1M tokens | $2.50 | $4.50 |
| Est. cost per 1M input + 1M output tokens | $3.75 | $5.25 |
| Cached input / 1M tokens | $0.20 | $0.075 |
| AA Intelligence Index | 25.7 | 24.1 |
| AA Coding Index | — | 56.1 |
| AA Agentic Index | — | 17.9 |
| Max output tokens | 1,800,000 | 128,000 |
| API providers | 1 | 2 |
| Tool calling | Yes | Yes |
| Reasoning mode | Yes | Yes |
API cost
Estimated cost of 1M input + 1M output tokens via OpenRouter
Grok 4.20
$3.75
GPT-5.4 Mini
$5.25
Grok 4.20 is 1.4× cheaper at list price.