Compare AI models

API pricingUSD per 1M tokens · lower wins · base tier
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it.
$0.40$1.25
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one.
$1.60$2.50
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again.
$0.10$0.20
Cheapest inputLowest input rate across every provider on OpenRouter, the lab included. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page.
$0.40Azure—
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input.
$1.60Azure—
$160OpenAI list price$375SpaceXSI list price
Benchmarks
SWE-Bench VerifiedCoding — Real coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better.
23.6%76.7%
Overview
CompanyOpenAISpaceXSI
Release dateApr 14 2025Feb 17 2026
AccessClosedClosed
Model detailsView modelView model

Frequently asked questions

Grok 4.20 Beta leads GPT-4.1 mini on 1 of the 1 benchmark they both report (SWE-Bench Verified). GPT-4.1 mini is cheaper on both input and output: $0.40 vs $1.25 per million input tokens, and $1.60 vs $2.50 per million output tokens. Figures are base-tier rates. GPT-4.1 mini shipped 309 days before Grok 4.20 Beta, so benchmark comparisons should account for the intervening progress.

Published specifications for these two models are limited — see each model page for the latest details.

On SWE-Bench Verified, Grok 4.20 Beta leads at 76.7% vs GPT-4.1 mini at 23.6%.