Enter opens the highlighted result. Esc closes.

Gemini 2.5 Flash vs GPT-4

Gemini 2.5 Flash leads GPT-4 on the Artificial Analysis Intelligence Index, 15.5 to 6.7, and Gemini 2.5 Flash costs 24.0x less per output token ($2.50 vs $60.00 per million). Updated October 22, 2026; 36 benchmarks have a result for both.

Gemini 2.5 FlashGoogle
Coding
No data
Overall
34.3
Output $/M
$2.50
36
GPT-4OpenAI
Coding
No data
Overall
No data
Output $/M
$60.00
0
vs boards won of 36 shared

Gemini 2.5 Flash or GPT-4: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Gemini 2.5 Flash for output tokens 24.0x cheaper ($2.50 vs $60.00 per million) and a larger context window (1.05M against 8K tokens).

Shared results
36
Gemini 2.5 Flash only
37
GPT-4 only
9
Like-for-like categories
6 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Gemini 2.5 Flash not benchmarked, GPT-4 not benchmarked.
Widest category
Reasoning, 40.7 points apart on average over 4 shared benchmarks.
Widest single gap
LMArena Text: Korean: Gemini 2.5 Flash 1385 against GPT-4 1087, 49.6 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Flash $2.50 against GPT-4 $60.00 per million output tokens, 24.0x apart.
Context window
Gemini 2.5 Flash takes 1.05M tokens, GPT-4 8K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGemini 2.5 FlashBarsGPT-4Ties
Coding30
Intelligence20
Reasoning40
Math20
Knowledge50
General200
All shared boards360
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
Coding benchmarks for Gemini 2.5 Flash and GPT-4
BenchmarkGemini 2.5 FlashGPT-4Leader
SWE-bench Verified28.7%22.4%Gemini 2.5 Flash
SWE-bench LiteNot measured39.7%Only GPT-4 measured
SWE-bench (full test set)Not measured12.5%Only GPT-4 measured
AA Coding IndexNot measured13.1Only GPT-4 measured
LiveCodeBench (Artificial Analysis run)69.5%Not measuredOnly Gemini 2.5 Flash measured
Terminal-Bench Hard (Artificial Analysis run)13.6%Not measuredOnly Gemini 2.5 Flash measured
Terminal-Bench17.1%Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: coding14231209Gemini 2.5 Flash
LMArena Text: software and IT14251195Gemini 2.5 Flash
Neither model has a result on the other 30 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 2.5 Flash and GPT-4
BenchmarkGemini 2.5 FlashGPT-4Leader
AA Intelligence Index15.56.7Gemini 2.5 Flash
Epoch Capabilities Index142.9125.7Gemini 2.5 Flash
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Agentic work benchmarks for Gemini 2.5 Flash and GPT-4
BenchmarkGemini 2.5 FlashGPT-4Leader
τ²-Bench Telecom31.6%Not measuredOnly Gemini 2.5 Flash measured
BALROG33.5%Not measuredOnly Gemini 2.5 Flash measured
Vending-Bench 2$549Not measuredOnly Gemini 2.5 Flash measured
Berkeley Function Calling Leaderboard (BFCL)56.2%Not measuredOnly Gemini 2.5 Flash measured
BrowseComp-Plus39.9%Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index40
Reasoning benchmarks for Gemini 2.5 Flash and GPT-4
BenchmarkGemini 2.5 FlashGPT-4Leader
GPQA Diamond (Artificial Analysis run)79.0%34.9%Gemini 2.5 Flash
Humanity's Last Exam (Artificial Analysis run)12.1%Not measuredOnly Gemini 2.5 Flash measured
ARC-AGI33.3%Not measuredOnly Gemini 2.5 Flash measured
ARC-AGI-22.5%Not measuredOnly Gemini 2.5 Flash measured
SimpleBench41.2%Not measuredOnly Gemini 2.5 Flash measured
BIG-Bench HardNot measured75.1%Only GPT-4 measured
LMArena Text: hard prompts14221200Gemini 2.5 Flash
LMArena Text: expert14261149Gemini 2.5 Flash
LMArena Text: hard prompts in English14201209Gemini 2.5 Flash
LMArena Vision: diagrams1245Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: homework1244Not measuredOnly Gemini 2.5 Flash measured
Kagi LLM Benchmark56.8%Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 10 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for Gemini 2.5 Flash and GPT-4
BenchmarkGemini 2.5 FlashGPT-4Leader
AA Math Index73.3Not measuredOnly Gemini 2.5 Flash measured
AIME 2025 (Artificial Analysis run)73.3%Not measuredOnly Gemini 2.5 Flash measured
GSM8KNot measured92.0%Only GPT-4 measured
LMArena Text: math14111230Gemini 2.5 Flash
LMArena Text: mathematical work14221228Gemini 2.5 Flash
Neither model has a result on the other 8 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for Gemini 2.5 Flash and GPT-4
BenchmarkGemini 2.5 FlashGPT-4Leader
MedCode (Vals AI)40.4%Not measuredOnly Gemini 2.5 Flash measured
MMLU Pro (Artificial Analysis run)83.2%56.2%Gemini 2.5 Flash
MMLUNot measured86.4%Only GPT-4 measured
AI2 Reasoning ChallengeNot measured96.3%Only GPT-4 measured
LMArena Text: science14331177Gemini 2.5 Flash
LMArena Text: medicine and healthcare14281145Gemini 2.5 Flash
LMArena Text: legal and government14301191Gemini 2.5 Flash
LMArena Text: business and finance14041145Gemini 2.5 Flash
FACTS Benchmark Suite47.2%Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 9 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for Gemini 2.5 Flash and GPT-4
BenchmarkGemini 2.5 FlashGPT-4Leader
Design Arena: websites1074Not measuredOnly Gemini 2.5 Flash measured
Design Arena: UI components1002Not measuredOnly Gemini 2.5 Flash measured
Design Arena: game dev1004Not measuredOnly Gemini 2.5 Flash measured
Design Arena: data viz1060Not measuredOnly Gemini 2.5 Flash measured
Design Arena: 3D1020Not measuredOnly Gemini 2.5 Flash measured
Design Arena: all code categories1059Not measuredOnly Gemini 2.5 Flash measured
Design Arena: SVG1020Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index200
General benchmarks for Gemini 2.5 Flash and GPT-4
BenchmarkGemini 2.5 FlashGPT-4Leader
SAGE (Vals AI)44.8%Not measuredOnly Gemini 2.5 Flash measured
MedScribe (Vals AI)83.0%Not measuredOnly Gemini 2.5 Flash measured
IFBench50.3%33.2%Gemini 2.5 Flash
Long context reasoning (AA-LCR)65.3%Not measuredOnly Gemini 2.5 Flash measured
DTBench76.5%62.7%Gemini 2.5 Flash
LMCA27.5%17.1%Gemini 2.5 Flash
HellaSwagNot measured95.3%Only GPT-4 measured
WinoGrandeNot measured87.5%Only GPT-4 measured
LMArena Text14171206Gemini 2.5 Flash
LMArena Text: instruction following14051201Gemini 2.5 Flash
LMArena Text: creative writing14001191Gemini 2.5 Flash
LMArena Vision1235Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: English14181220Gemini 2.5 Flash
LMArena Text: non-English14091194Gemini 2.5 Flash
LMArena Text: Chinese14491184Gemini 2.5 Flash
LMArena Text: German14171198Gemini 2.5 Flash
LMArena Text: Japanese13961137Gemini 2.5 Flash
LMArena Text: Korean13851087Gemini 2.5 Flash
LMArena Text: French14321220Gemini 2.5 Flash
LMArena Text: Spanish14221197Gemini 2.5 Flash
LMArena Text: Russian14151195Gemini 2.5 Flash
LMArena Text: Polish14131265Gemini 2.5 Flash
LMArena Text: multi-turn14081206Gemini 2.5 Flash
LMArena Text: longer queries14191190Gemini 2.5 Flash
LMArena Text: writing and language14051219Gemini 2.5 Flash
LMArena Text: entertainment and media13931184Gemini 2.5 Flash
LMArena Vision: English1239Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: Chinese1284Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: reading text1237Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: humor1225Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: captioning1277Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: recognizing things1252Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: creative writing1241Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 2.5 Flash and GPT-4
BenchmarkGemini 2.5 FlashGPT-4Leader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Gemini 2.5 Flash$0.0015Fits in one request
GPT-4$0.060Fits in one request

Gemini 2.5 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Flash$0.022Fits in one request
GPT-4$1.68Exceeds the context window

Gemini 2.5 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Flash$0.085Fits in one request
GPT-4$6.60Exceeds the context window

Gemini 2.5 Flash costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Gemini 2.5 Flash and GPT-4
SpecificationGoogle Gemini 2.5 FlashOpenAI GPT-4
MakerGoogleOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedJune 17, 2025May 28, 2023
Context window1.05M8K
Input $/Mtok$0.30$30.00
Output $/Mtok$2.50$60.00
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved task$0.466Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Flash better than GPT-4 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemini 2.5 Flash for output tokens 24.0x cheaper ($2.50 vs $60.00 per million) and a larger context window (1.05M against 8K tokens).

Which is cheaper, Gemini 2.5 Flash or GPT-4?

Gemini 2.5 Flash costs $0.30 per million input tokens and $2.50 per million output tokens; GPT-4 costs $30.00 and $60.00. Cost per solved task is known for Gemini 2.5 Flash only.

Which has the bigger context window, Gemini 2.5 Flash or GPT-4?

Gemini 2.5 Flash, with 1.05M tokens against 8K.

How many benchmarks is the Gemini 2.5 Flash vs GPT-4 comparison based on?

36 benchmarks have a result for both models as of October 22, 2026. Gemini 2.5 Flash's coding index rests on 0 independent benchmarks and GPT-4's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next