Price Per TokenPrice Per Token
Google
Google
vs
Xai
Xai

Gemini 3 Flash Preview vs Grok Code Fast 1

A detailed comparison of pricing, benchmarks, and capabilities

108 out of our 483 tracked models have had a price change in March.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Gemini 3 Flash Preview wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
  • Supports vision

Grok Code Fast 1 wins:

  • Cheaper input tokens
  • Cheaper output tokens
Price Advantage
Grok Code Fast 1
Benchmark Advantage
Gemini 3 Flash Preview
Context Window
Gemini 3 Flash Preview
Speed
Gemini 3 Flash Preview

Pricing Comparison

Price Comparison

MetricGemini 3 Flash PreviewGrok Code Fast 1Winner
Input (per 1M tokens)$0.50$0.20 Grok Code Fast 1
Output (per 1M tokens)$3.00$1.50 Grok Code Fast 1
Cache Read (per 1M)$0.05$0.02 Grok Code Fast 1
Cache Write (per 1M)$0.08N/A Gemini 3 Flash Preview
Using a 3:1 input/output ratio, Grok Code Fast 1 is 53% cheaper overall.

Gemini 3 Flash Preview Providers

No provider data available

Grok Code Fast 1 Providers

No provider data available

Benchmark Comparison

6
Benchmarks Compared
6
Gemini 3 Flash Preview Wins
0
Grok Code Fast 1 Wins

Benchmark Scores

BenchmarkGemini 3 Flash PreviewGrok Code Fast 1Winner
Intelligence Index
Overall intelligence score
35.028.7
Coding Index
Code generation & understanding
37.823.7
Math Index
Mathematical reasoning
55.743.3
MMLU Pro
Academic knowledge
88.279.3
GPQA
Graduate-level science
81.272.7
LiveCodeBench
Competitive programming
79.765.7
Gemini 3 Flash Preview significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Gemini 3 Flash Preview
Other models

Context & Performance

Context Window

Gemini 3 Flash Preview
1,048,576
tokens
Grok Code Fast 1
256,000
tokens
Gemini 3 Flash Preview has a 76% larger context window.

Speed Performance

MetricGemini 3 Flash PreviewGrok Code Fast 1Winner
Tokens/second175.7 tok/s171.7 tok/s
Time to First Token0.86s3.27s

Capabilities

Feature Comparison

FeatureGemini 3 Flash PreviewGrok Code Fast 1
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGemini 3 Flash PreviewGrok Code Fast 1
LicenseProprietaryProprietary
AuthorGoogleXai
ReleasedDec 2025Aug 2025

Gemini 3 Flash Preview Modalities

Input
textimagefileaudiovideo
Output
text

Grok Code Fast 1 Modalities

Input
text
Output
text

Related Comparisons

Compare Gemini 3 Flash Preview with:

Compare Grok Code Fast 1 with:

Frequently Asked Questions

Grok Code Fast 1 has cheaper input pricing at $0.20/M tokens. Grok Code Fast 1 has cheaper output pricing at $1.50/M tokens.
Gemini 3 Flash Preview scores higher on coding benchmarks with a score of 37.8, compared to Grok Code Fast 1's score of 23.7.
Gemini 3 Flash Preview has a 1,048,576 token context window, while Grok Code Fast 1 has a 256,000 token context window.
Gemini 3 Flash Preview supports vision. Grok Code Fast 1 does not support vision.