Skip to content
llmmodels

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).

SpecGemini 2.5 FlashxAI Grok Code Fast 1
ProviderGoogle DeepMindxAI
ReleasedJun 17, 2025Sep 2, 2025 (better)
TypeReasoning LLMReasoning LLM
Parameters——
Context window1M (better)250K
Max output64K (better)10K
Input price / 1M$0.3$0.19 (better)
Output price / 1M$2.50$1.43 (better)
Input modalitiestext, image, audio, video, pdf, file (better)text
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers31 (better)7
Humanity's Last Exam12.1%—
Terminal-Bench17.1%25.8% (better)
Aider Polyglot55.1%—
WebDev Arena—1223
OTIS Mock AIME73.1%—
ARC-AGI-22.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 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.