Price Per TokenPrice Per Token
Google
Google
vs
OpenAI
OpenAI

Gemini 2.0 Flash vs GPT-4o

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Deploy OpenClaw in Under 1 Minute We handle hosting, scaling, and maintenance

114 out of our 303 tracked models have had a price change in February.

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

Key Takeaways

Gemini 2.0 Flash wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window
  • Higher intelligence benchmark
  • Better at math

GPT-4o wins:

  • Faster response time
  • Better at coding
Price Advantage
Gemini 2.0 Flash
Benchmark Advantage
Gemini 2.0 Flash
Context Window
Gemini 2.0 Flash
Speed
GPT-4o

Pricing Comparison

Price Comparison

MetricGemini 2.0 FlashGPT-4oWinner
Input (per 1M tokens)$0.10$2.50 Gemini 2.0 Flash
Output (per 1M tokens)$0.40$10.00 Gemini 2.0 Flash
Cache Read (per 1M)$0.03$1.25 Gemini 2.0 Flash
Cache Write (per 1M)$0.08N/A Gemini 2.0 Flash
Using a 3:1 input/output ratio, Gemini 2.0 Flash is 96% cheaper overall.

Gemini 2.0 Flash Providers

Google AI Studio $0.10 (Cheapest)
Google $0.10 (Cheapest)

GPT-4o Providers

OpenAI $2.50 (Cheapest)
Vercel $2.50 (Cheapest)
Azure $2.50 (Cheapest)

Benchmark Comparison

8
Benchmarks Compared
4
Gemini 2.0 Flash Wins
1
GPT-4o Wins

Benchmark Scores

BenchmarkGemini 2.0 FlashGPT-4oWinner
Intelligence Index
Overall intelligence score
17.615.6
Coding Index
Code generation & understanding
13.616.6
Math Index
Mathematical reasoning
21.7--
MMLU Pro
Academic knowledge
77.9--
GPQA
Graduate-level science
62.352.1
LiveCodeBench
Competitive programming
33.431.7
Aider
Real-world code editing
-74.4-
AIME
Competition math
33.011.7
Gemini 2.0 Flash shows stronger mathematical reasoning abilities.

Cost vs Quality

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

Context & Performance

Context Window

Gemini 2.0 Flash
1,048,576
tokens
Max output: 8,192 tokens
GPT-4o
128,000
tokens
Max output: 16,384 tokens
Gemini 2.0 Flash has a 88% larger context window.

Speed Performance

MetricGemini 2.0 FlashGPT-4oWinner
Tokens/second0.0 tok/s86.1 tok/s
Time to First Token0.00s0.58s
GPT-4o responds Infinity% faster on average.

Capabilities

Feature Comparison

FeatureGemini 2.0 FlashGPT-4o
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGemini 2.0 FlashGPT-4o
LicenseProprietaryProprietary
AuthorGoogleOpenAI
ReleasedFeb 2025May 2024

Gemini 2.0 Flash Modalities

Input
textimagefileaudiovideo
Output
text

GPT-4o Modalities

Input
textimagefile
Output
text

Related Comparisons

Compare Gemini 2.0 Flash with:

Compare GPT-4o with:

Frequently Asked Questions

Gemini 2.0 Flash has cheaper input pricing at $0.10/M tokens. Gemini 2.0 Flash has cheaper output pricing at $0.40/M tokens.
GPT-4o scores higher on coding benchmarks with a score of 16.6, compared to Gemini 2.0 Flash's score of 13.6.
Gemini 2.0 Flash has a 1,048,576 token context window, while GPT-4o has a 128,000 token context window.
Gemini 2.0 Flash supports vision. GPT-4o supports vision.