Model Comparison

Gemini 2.5 Flash vs Grok Code Fast 1

Grok Code Fast 1 significantly outperforms across most benchmarks. Grok Code Fast 1 is 1.6x cheaper per token.

Performance Benchmarks

Comparative analysis across standard metrics

1 benchmarks

Gemini 2.5 Flash outperforms in 0 benchmarks, while Grok Code Fast 1 is better at 1 benchmark (SWE-Bench Verified).

Grok Code Fast 1 significantly outperforms across most benchmarks.

Mon May 25 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Grok Code Fast 1 costs less

For input processing, Gemini 2.5 Flash ($0.30/1M tokens) is 1.5x more expensive than Grok Code Fast 1 ($0.20/1M tokens).

For output processing, Gemini 2.5 Flash ($2.50/1M tokens) is 1.7x more expensive than Grok Code Fast 1 ($1.50/1M tokens).

In conclusion, Gemini 2.5 Flash is more expensive than Grok Code Fast 1.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Mon May 25 2026 • llm-stats.com
Google
Gemini 2.5 Flash
Input tokens$0.30
Output tokens$2.50
Best providerGoogle
xAI
Grok Code Fast 1
Input tokens$0.20
Output tokens$1.50
Best providerxAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Gemini 2.5 Flash accepts 1,048,576 input tokens compared to Grok Code Fast 1's 256,000 tokens. Gemini 2.5 Flash can generate longer responses up to 65,536 tokens, while Grok Code Fast 1 is limited to 10,000 tokens.

Google
Gemini 2.5 Flash
Input1,048,576 tokens
Output65,536 tokens
xAI
Grok Code Fast 1
Input256,000 tokens
Output10,000 tokens
Mon May 25 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Gemini 2.5 Flash supports multimodal inputs, whereas Grok Code Fast 1 does not.

Gemini 2.5 Flash can handle both text and other forms of data like images, making it suitable for multimodal applications.

Gemini 2.5 Flash

Text
Images
Audio
Video

Grok Code Fast 1

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Gemini 2.5 Flash

Proprietary

Closed source

Grok Code Fast 1

Proprietary

Closed source

Release Timeline

When each model was launched

Gemini 2.5 Flash was released on 2025-05-20, while Grok Code Fast 1 was released on 2025-08-28.

Grok Code Fast 1 is 3 months newer than Gemini 2.5 Flash.

Gemini 2.5 Flash

May 20, 2025

1.0 years ago

Grok Code Fast 1

Aug 28, 2025

9 months ago

3mo newer

Knowledge Cutoff

When training data ends

Gemini 2.5 Flash has a documented knowledge cutoff of 2025-01-31, while Grok Code Fast 1's cutoff date is not specified.

We can confirm Gemini 2.5 Flash's training data extends to 2025-01-31, but cannot make a direct comparison without Grok Code Fast 1's cutoff date.

Gemini 2.5 Flash

Jan 2025

Grok Code Fast 1

Provider Availability

Gemini 2.5 Flash is available from Google. Grok Code Fast 1 is available from xAI.

Gemini 2.5 Flash

google logo
Google
Input Price:Input: $0.30/1MOutput Price:Output: $2.50/1M

Grok Code Fast 1

xai logo
xAI
Input Price:Input: $0.20/1MOutput Price:Output: $1.50/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (1,048,576 tokens)
Supports multimodal inputs
Less expensive input tokens
Less expensive output tokens
Higher SWE-Bench Verified score (70.8% vs 60.4%)
GoogleGemini 2.5 Flash
xAIGrok Code Fast 1

Detailed Comparison

AI Model Comparison Table
Feature
Google
Gemini 2.5 Flash
xAI
Grok Code Fast 1

FAQ

Common questions about Gemini 2.5 Flash vs Grok Code Fast 1.

Which is better, Gemini 2.5 Flash or Grok Code Fast 1?

Grok Code Fast 1 significantly outperforms across most benchmarks. Gemini 2.5 Flash is made by Google and Grok Code Fast 1 is made by xAI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Gemini 2.5 Flash compare to Grok Code Fast 1 in benchmarks?

Gemini 2.5 Flash scores Global-MMLU-Lite: 88.4%, AIME 2024: 88.0%, FACTS Grounding: 85.3%, GPQA: 82.8%, MMMU: 79.7%. Grok Code Fast 1 scores SWE-Bench Verified: 70.8%.

Is Gemini 2.5 Flash cheaper than Grok Code Fast 1?

Grok Code Fast 1 is 1.5x cheaper for input tokens. Gemini 2.5 Flash costs $0.30/M input and $2.50/M output via google. Grok Code Fast 1 costs $0.20/M input and $1.50/M output via xai.

What are the context window sizes for Gemini 2.5 Flash and Grok Code Fast 1?

Gemini 2.5 Flash supports 1.0M tokens and Grok Code Fast 1 supports 256K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Gemini 2.5 Flash and Grok Code Fast 1?

Key differences include context window (1.0M vs 256K), input pricing ($0.30 vs $0.20/M), multimodal support (yes vs no). See the full comparison above for benchmark-by-benchmark results.

Who makes Gemini 2.5 Flash and Grok Code Fast 1?

Gemini 2.5 Flash is developed by Google and Grok Code Fast 1 is developed by xAI.