Gemini 2.5 Flash vs xAI Grok Code Fast 1
Which is better, Gemini 2.5 Flash or xAI Grok Code Fast 1?
xAI Grok Code Fast 1 wins 1 of 1 benchmarks both models report. xAI Grok Code Fast 1 is about 1.7× cheaper on a blended (3:1 input:output) token price. Gemini 2.5 Flash has the larger context window (1M vs 250K).
| Spec | Gemini 2.5 Flash | xAI Grok Code Fast 1 |
|---|---|---|
| Provider | Google DeepMind | xAI |
| Released | Jun 17, 2025 | Sep 2, 2025 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | — |
| Context window | 1M (better) | 250K |
| Max output | 64K (better) | 10K |
| Input price / 1M | $0.3 | $0.19 (better) |
| Output price / 1M | $2.50 | $1.43 (better) |
| Input modalities | text, image, audio, video, pdf, file (better) | text |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 31 (better) | 7 |
| Humanity's Last Exam | 12.1% | — |
| Terminal-Bench | 17.1% | 25.8% (better) |
| Aider Polyglot | 55.1% | — |
| WebDev Arena | — | 1223 |
| OTIS Mock AIME | 73.1% | — |
| ARC-AGI-2 | 2.5% | — |
Cost example
For a workload of 10M input + 2M output tokens per month: Gemini 2.5 Flash costs $8.00 and xAI Grok Code Fast 1 costs $4.75 at list price (Google DeepMind / jiekou pricing).
About Gemini 2.5 Flash
Gemini 2.5 Flash is a proprietary reasoning llm from Google DeepMind, released Jun 17, 2025. It has a 1M-token context window and accepts text, image, audio, video, pdf, file input. API pricing starts at $0.3 per million input tokens and $2.50 per million output tokens. It is available from 31 API providers. Full Gemini 2.5 Flash 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
More Gemini 2.5 Flash comparisons
More xAI Grok Code Fast 1 comparisons
More from Google DeepMind and xAI · Categories: audio-based llms, visual-based llms (vision & multimodal), reasoning & thinking llms, agentic & tool-calling llms
FAQ
Which is better, Gemini 2.5 Flash or xAI Grok Code Fast 1?
xAI Grok Code Fast 1 wins 1 of 1 benchmarks both models report. xAI Grok Code Fast 1 is about 1.7× cheaper on a blended (3:1 input:output) token price. Gemini 2.5 Flash has the larger context window (1M vs 250K).
Is Gemini 2.5 Flash cheaper than xAI Grok Code Fast 1?
Gemini 2.5 Flash costs $0.3 input / $2.50 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?
Gemini 2.5 Flash: 1,048,576 tokens. xAI Grok Code Fast 1: 256,000 tokens.
Are Gemini 2.5 Flash and xAI Grok Code Fast 1 open source?
Gemini 2.5 Flash is proprietary; xAI Grok Code Fast 1 is proprietary.