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.00 |
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.00 |
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 | $300SpaceXSI 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% | 70.8% |
| Overview | ||
| Company | OpenAI | SpaceXSI |
| Release date | Apr 14 2025 | Aug 28 2025 |
| Access | Closed | Closed |
| Model details | View model | View model |
Other comparisons
GPT-4.1 minivsClaude Haiku 5.5Grok Code Fast 1vsClaude Haiku 5.5GPT-4.1 minivsGemini 4 ArgonGrok Code Fast 1vsGemini 4 ArgonGPT-4.1 minivsMuse Spark OpenGrok Code Fast 1vsMuse Spark OpenGPT-4.1 minivsDeepSeek-V4.1-FlashGrok Code Fast 1vsDeepSeek-V4.1-FlashGPT-4.1 minivsMistral Large 4Grok Code Fast 1vsMistral Large 4GPT-4.1 minivsKimi K3Grok Code Fast 1vsKimi K3Frequently asked questions
Grok Code Fast 1 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.00 per million input tokens, and $1.60 vs $2.00 per million output tokens. Figures are base-tier rates. GPT-4.1 mini shipped 136 days before Grok Code Fast 1, 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 Code Fast 1 leads at 70.8% vs GPT-4.1 mini at 23.6%.