Gemini 3.1 Pro Preview vs Hy4 flash
Hy4 flash leads Gemini 3.1 Pro Preview on coding, 44.5 to 32.3 on the Vibe Coding Index, and Hy4 flash costs 85.4x less per output token ($0.1405 vs $12.00 per million). Updated November 22, 2026; 10 benchmarks have a result for both.
Gemini 3.1 Pro Preview or Hy4 flash: which to pick
Pick Hy4 flash for coding: it scores 44.5 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview, though on 2 benchmarks against 4.
Pick Gemini 3.1 Pro Preview for work measured by GameBench 2, where it leads.
- Shared results
- 10
- Gemini 3.1 Pro Preview only
- 129
- Hy4 flash only
- 2
- Like-for-like categories
- 3 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.
Coding
Vibe Coding Index, six public coding benchmarks
Hy4 flash
Hy4 flash scores 44.5 against 32.3.
4 and 2 benchmarks behind the scores
Reasoning
GPQA Diamond
No call
Only Gemini 3.1 Pro Preview has a GPQA Diamond result, 95.5%.
Directional only
Math
AIME
No call
Only Gemini 3.1 Pro Preview has a AIME result, 98.1%.
Directional only
Knowledge
MMLU Pro
No call
Only Gemini 3.1 Pro Preview has a MMLU Pro result, 91.0%.
Directional only
Web design
Design Arena: websites
Hy4 flash
Hy4 flash leads, 1227 against 1221.
Same board, both measured
General
Vals Index
No call
Only Hy4 flash has a Vals Index result, 50.8%.
Directional only
Long documents
Listed context window
No call
Both take 1.05M tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Hy4 flash
Gemini 3.1 Pro Preview $0.0080, Hy4 flash $0.0001 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Gemini 3.1 Pro Preview has the number, $0.99.
Directional only
At a glance
- Coding index
- Gemini 3.1 Pro Preview 32.3 from 4 benchmarks, Hy4 flash 44.5 from 2 benchmarks.
- Widest category
- Coding, 24.6 points apart on average over 3 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): Gemini 3.1 Pro Preview 32.0% against Hy4 flash 74.8%, 42.8 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.1 Pro Preview $12.00 against Hy4 flash $0.1405 per million output tokens, 85.4x apart.
- Context window
- Both take 1.05M tokens.
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.
| Category | Gemini 3.1 Pro Preview | Bars | Hy4 flash | Ties |
|---|---|---|---|---|
| Coding | 1 | 2 | ||
| Agentic work | 0 | 2 | ||
| Web design | 0 | 5 | ||
| All shared boards | 1 | 9 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index12
| Benchmark | Gemini 3.1 Pro Preview | Hy4 flash | Leader |
|---|---|---|---|
| LMArena WebDev | 1446 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LiveCodeBench (Vals AI) | 88.5% | Not measured | Only Gemini 3.1 Pro Preview measured |
| SWE-bench Verified (Vals AI) | 78.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench 4 (Vals AI) | 2.5% | 15.2% | Hy4 flash |
| Vibe Code Bench (Vals AI) | 32.0% | 74.8% | Hy4 flash |
| Code migration (Vals AI) | 17.3% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| IOI (Vals AI) | 51.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench 2.1 (Vals AI) | 70.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Vibe Code Bench 1-100 (Vals AI) | 6.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| SciCode | 58.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench Hard (Artificial Analysis run) | 53.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench 4.0 (Artificial Analysis run) | 4.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench | 80.2% | Not measured | Only Gemini 3.1 Pro Preview measured |
| GSO-Bench | 22.6% | Not measured | Only Gemini 3.1 Pro Preview measured |
| WeirdML | 72.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MirrorCode | 8.9% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ALE-Bench | 1160.6 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: coding | 1483 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: software and IT | 1486 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena WebDev: React | 1437 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena WebDev: HTML | 1488 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena WebDev: from an image | 1480 | Not measured | Only Gemini 3.1 Pro Preview measured |
| SciCode | 14.3% | Not measured | Only Gemini 3.1 Pro Preview measured |
| GameBench 2 | 64.7 | 50.5 | Gemini 3.1 Pro Preview |
| Neither model has a result on the other 27 boards here | |||
IntelligenceNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3.1 Pro Preview | Hy4 flash | Leader |
|---|---|---|---|
| Neither model has a result on 2 boards here | |||
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemini 3.1 Pro Preview | Hy4 flash | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1093 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building full-stack apps | 1045 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building mobile apps | 1086 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building Android apps | 1033 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building Godot games | 1124 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building games | 1061 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: HTML slides | 1054 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: PowerPoint slides | 1047 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: spreadsheets | 918 | Not measured | Only Gemini 3.1 Pro Preview measured |
| SREBench (Vals AI) | 0.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Finance Agent (Vals AI) | 43.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Tax Agent Bench (Vals AI) | 9.3% | 23.3% | Hy4 flash |
| Legal Research Bench (Vals AI) | 20.7% | 38.5% | Hy4 flash |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 5.4% | Only Hy4 flash measured |
| Excel Modeling Benchmark (Vals AI) | 52.6% | Not measured | Only Gemini 3.1 Pro Preview measured |
| BioMysteryBench (Vals AI) | 60.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench-Science (Vals AI) | 1.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Vals Science Index | 27.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| τ²-Bench Telecom | 95.6% | Not measured | Only Gemini 3.1 Pro Preview measured |
| APEX-Agents | 35.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| METR time horizons | 77.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| BALROG | 57.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| DeepResearch Bench | 47.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| PostTrainBench | 18.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Vending-Bench 2 | $911 | Not measured | Only Gemini 3.1 Pro Preview measured |
| τ³-Banking | 26.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 18 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index18 boards, none shared
| Benchmark | Gemini 3.1 Pro Preview | Hy4 flash | Leader |
|---|---|---|---|
| GPQA Diamond | 95.5% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MysteryMechanism (Vals AI) | 20.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MMMU Pro (Vals AI) | 88.2% | Not measured | Only Gemini 3.1 Pro Preview measured |
| GPQA Diamond (Artificial Analysis run) | 94.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Humanity's Last Exam (Artificial Analysis run) | 47.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| HLE-Diamond (Artificial Analysis run) | 31.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| GPQA Diamond (Epoch AI run) | 94.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ARC-AGI | 98.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ARC-AGI-2 | 77.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| SimpleBench | 79.6% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Chess puzzles | 51.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Mystery game puzzles | 34.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| EBR-bench | 14.3% | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: hard prompts | 1485 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: expert | 1484 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: hard prompts in English | 1480 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: diagrams | 1311 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: homework | 1317 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 8 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Gemini 3.1 Pro Preview | Hy4 flash | Leader |
|---|---|---|---|
| AIME | 98.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| OTIS Mock AIME | 95.6% | Not measured | Only Gemini 3.1 Pro Preview measured |
| FrontierMath, tiers 1 to 3 | 59.6% | Not measured | Only Gemini 3.1 Pro Preview measured |
| FrontierMath, tier 4 | 26.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ProofBench | 26.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: math | 1485 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: mathematical work | 1477 | Not measured | Only Gemini 3.1 Pro Preview measured |
| MathArena | 27.3% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 6 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index15 boards, none shared
| Benchmark | Gemini 3.1 Pro Preview | Hy4 flash | Leader |
|---|---|---|---|
| MMLU Pro | 91.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| LegalBench (Vals AI) | 87.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| CaseLaw (Vals AI) | 64.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| CorpFin (Vals AI) | 64.5% | Not measured | Only Gemini 3.1 Pro Preview measured |
| TaxEval (Vals AI) | 72.9% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MortgageTax (Vals AI) | 69.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MedQA (Vals AI) | 96.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MedCode (Vals AI) | 59.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| SimpleQA Verified | 73.5% | Not measured | Only Gemini 3.1 Pro Preview measured |
| GeoBench | 84.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: science | 1496 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: medicine and healthcare | 1486 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: legal and government | 1487 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: business and finance | 1460 | Not measured | Only Gemini 3.1 Pro Preview measured |
| FACTS Benchmark Suite | 69.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Gemini 3.1 Pro Preview | Hy4 flash | Leader |
|---|---|---|---|
| Design Arena: websites | 1221 | 1227 | Hy4 flash |
| Design Arena: UI components | 1209 | 1262 | Hy4 flash |
| Design Arena: game dev | 1174 | 1202 | Hy4 flash |
| Design Arena: data viz | 1203 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: 3D | 1201 | 1209 | Hy4 flash |
| Design Arena: all code categories | 1212 | 1225 | Hy4 flash |
| Design Arena: SVG | 1269 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: ASCII art | 1255 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 1 board here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index41 boards, none shared
| Benchmark | Gemini 3.1 Pro Preview | Hy4 flash | Leader |
|---|---|---|---|
| Vals Index | Not measured | 50.8% | Only Hy4 flash measured |
| Public Benefits Bench (Vals AI) | 53.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| SAGE (Vals AI) | 83.2% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MedScribe (Vals AI) | 76.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Vals Multimodal Index | 56.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| IFBench | 77.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Long context reasoning (AA-LCR) | 82.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| GDPval-AA | 799 | Not measured | Only Gemini 3.1 Pro Preview measured |
| DTBench | 97.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMCA | 53.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| CL-bench | 20.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Furniture assembly | 26.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ExploitBench | 26.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| CL-bench Life | 16.9% | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text | 1480 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: instruction following | 1465 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: creative writing | 1483 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision | 1296 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: English | 1478 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: non-English | 1476 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Chinese | 1529 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: German | 1491 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Japanese | 1495 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Korean | 1457 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: French | 1487 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Spanish | 1480 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Russian | 1497 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: Polish | 1498 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: multi-turn | 1486 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: longer queries | 1482 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: writing and language | 1481 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: entertainment and media | 1465 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: English | 1286 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: Chinese | 1362 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: reading text | 1305 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: humor | 1324 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: captioning | 1343 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: recognizing things | 1327 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: creative writing | 1324 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Document | 1443 | Not measured | Only Gemini 3.1 Pro Preview measured |
| EQ-Bench 4 | 1132 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 8 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3.1 Pro Preview | Hy4 flash | Leader |
|---|---|---|---|
| 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
Hy4 flash costs less
Repository review
50K input + 3K output tokens
Hy4 flash costs less
Agent loop
200K input + 10K output tokens
Hy4 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.
| Specification | Google Gemini 3.1 Pro Preview | Tencent Hy4 flash |
|---|---|---|
| Maker | Tencent | |
| Weights | No public weights listed | Open weights |
| Released | February 19, 2026 | November 16, 2026 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $2.00 | $0.035 |
| Output $/Mtok | $12.00 | $0.1405 |
| Coding index | 32.3 | 44.5 |
| Independent measurements behind it | 4 | 2 |
| Cost per solved task | $0.99 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.1 Pro Preview better than Hy4 flash for coding?
Pick Hy4 flash for coding: it scores 44.5 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview, though on 2 benchmarks against 4. Pick Gemini 3.1 Pro Preview for work measured by GameBench 2, where it leads.
Which is cheaper, Gemini 3.1 Pro Preview or Hy4 flash?
Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; Hy4 flash costs $0.035 and $0.1405. Cost per solved task is known for Gemini 3.1 Pro Preview only.
Which has the bigger context window, Gemini 3.1 Pro Preview or Hy4 flash?
Neither: both take 1.05M tokens.
How many benchmarks is the Gemini 3.1 Pro Preview vs Hy4 flash comparison based on?
10 benchmarks have a result for both models as of November 22, 2026. Gemini 3.1 Pro Preview's coding index rests on 4 independent benchmarks and Hy4 flash's on 2. Where only one model has a result, the page says so instead of naming a winner.