GPT-5 Mini vs xAI Grok Code Fast 1
GPT-5 Mini wins 1 of 1 benchmarks both models report. xAI Grok Code Fast 1 is about 1.4× cheaper on a blended (3:1 input:output) token price. GPT-5 Mini has the larger context window (400K vs 250K).
| Spec | GPT-5 Mini | xAI Grok Code Fast 1 |
|---|---|---|
| Provider | OpenAI | xAI |
| Released | Aug 7, 2025 | Sep 2, 2025 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | — |
| Context window | 400K (better) | 250K |
| Max output | 125K (better) | 10K |
| Input price / 1M | $0.25 | $0.19 (better) |
| Output price / 1M | $2 | $1.43 (better) |
| Input modalities | text, image, file (better) | text |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 37 (better) | 7 |
| Epoch Capabilities Index | 146.0 | — |
| GPQA Diamond | 75.0% | — |
| Humanity's Last Exam | 19.4% | — |
| SWE-bench Verified | 64.7% | — |
| Terminal-Bench | 34.8% (better) | 25.8% |
| WebDev Arena | — | 1223 |
| OTIS Mock AIME | 86.7% | — |
| MATH Level 5 | 97.8% | — |
| FrontierMath | 46.7% | — |
| ARC-AGI-2 | 4.4% | — |
| SimpleQA Verified | 21.6% | — |
Cost example
For a workload of 10M input + 2M output tokens per month: GPT-5 Mini costs $6.50 and xAI Grok Code Fast 1 costs $4.75 at list price (OpenAI / jiekou pricing).
About GPT-5 Mini
GPT-5 Mini is a proprietary reasoning llm from OpenAI, released Aug 7, 2025. It has a 400K-token context window and accepts text, image, file input. API pricing starts at $0.25 per million input tokens and $2 per million output tokens. It is available from 37 API providers. It scores 146.0 on the Epoch Capabilities Index. Full GPT-5 Mini specs →
About xAI Grok Code Fast 1
xAI Grok Code Fast 1 is a proprietary reasoning llm from xAI, released Sep 2, 2025. It has a 250K-token context window. API pricing starts at $0.19 per million input tokens and $1.43 per million output tokens. It is available from 7 API providers. Full xAI Grok Code Fast 1 specs →
Compare other models
FAQ
Which is better, GPT-5 Mini or xAI Grok Code Fast 1?
GPT-5 Mini wins 1 of 1 benchmarks both models report. xAI Grok Code Fast 1 is about 1.4× cheaper on a blended (3:1 input:output) token price. GPT-5 Mini has the larger context window (400K vs 250K).
Is GPT-5 Mini cheaper than xAI Grok Code Fast 1?
GPT-5 Mini costs $0.25 input / $2 output per 1M tokens; xAI Grok Code Fast 1 costs $0.19 / $1.43. xAI Grok Code Fast 1 is cheaper overall.
Which has a bigger context window?
GPT-5 Mini: 400,000 tokens. xAI Grok Code Fast 1: 256,000 tokens.
Are GPT-5 Mini and xAI Grok Code Fast 1 open source?
GPT-5 Mini is proprietary; xAI Grok Code Fast 1 is proprietary.