GPT-5.2-Codex vs Hy4 flash
GPT-5.2-Codex leads Hy4 flash on coding, 45.4 to 44.5 on the Vibe Coding Index, and Hy4 flash costs 99.6x less per output token ($0.1405 vs $14.00 per million). Updated November 22, 2026; 1 benchmarks have a result for both.
GPT-5.2-Codex or Hy4 flash: which to pick
GPT-5.2-Codex and Hy4 flash are level for coding, 45.4 against 44.5 on the Vibe Coding Index, so price and context decide.
Pick Hy4 flash for output tokens 99.6x cheaper ($0.1405 vs $14.00 per million) and a larger context window (1.05M against 400K tokens).
- Shared results
- 1
- GPT-5.2-Codex only
- 21
- Hy4 flash only
- 11
- Like-for-like categories
- 1 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
No call
Level: 45.4 against 44.5, inside 2 points.
3 and 2 benchmarks behind the scores
Web design
Design Arena: websites
No call
Only Hy4 flash has a Design Arena: websites result, 1227.
Directional only
General
Vals Index
No call
Only Hy4 flash has a Vals Index result, 50.8%.
Directional only
Long documents
Listed context window
Hy4 flash
Hy4 flash takes 1.05M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Hy4 flash
GPT-5.2-Codex $0.0088, Hy4 flash $0.0001 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5.2-Codex has the number, $0.43.
Directional only
At a glance
- Coding index
- GPT-5.2-Codex 45.4 from 3 benchmarks, Hy4 flash 44.5 from 2 benchmarks.
- Widest category
- Coding, 36.9 points apart on average over 1 shared benchmark.
- Widest single gap
- Vibe Code Bench (Vals AI): GPT-5.2-Codex 37.9% against Hy4 flash 74.8%, 36.9 points apart on a 0 to 100 scale.
- Output price
- GPT-5.2-Codex $14.00 against Hy4 flash $0.1405 per million output tokens, 99.6x apart.
- Context window
- GPT-5.2-Codex takes 400K tokens, Hy4 flash 1.05M.
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 | GPT-5.2-Codex | Bars | Hy4 flash | Ties |
|---|---|---|---|---|
| Coding | 0 | 1 | ||
| All shared boards | 0 | 1 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index01
| Benchmark | GPT-5.2-Codex | Hy4 flash | Leader |
|---|---|---|---|
| SWE-bench Verified | 72.8% | Not measured | Only GPT-5.2-Codex measured |
| SWE-bench Multilingual | 66.3% | Not measured | Only GPT-5.2-Codex measured |
| LMArena WebDev | 1339 | Not measured | Only GPT-5.2-Codex measured |
| LiveCodeBench (Vals AI) | 88.0% | Not measured | Only GPT-5.2-Codex measured |
| SWE-bench Verified (Vals AI) | 72.4% | Not measured | Only GPT-5.2-Codex measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 15.2% | Only Hy4 flash measured |
| Vibe Code Bench (Vals AI) | 37.9% | 74.8% | Hy4 flash |
| Terminal-Bench Hard (Artificial Analysis run) | 37.1% | Not measured | Only GPT-5.2-Codex measured |
| Terminal-Bench | 66.5% | Not measured | Only GPT-5.2-Codex measured |
| ALE-Bench | 1299.9 | Not measured | Only GPT-5.2-Codex measured |
| LMArena WebDev: React | 1329 | Not measured | Only GPT-5.2-Codex measured |
| LMArena WebDev: HTML | 1348 | Not measured | Only GPT-5.2-Codex measured |
| GameBench 2 | Not measured | 50.5 | Only Hy4 flash measured |
| Terminal-Bench 2.0 | 66.5% | Not measured | Only GPT-5.2-Codex measured |
| Neither model has a result on the other 38 boards here | |||
IntelligenceNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.2-Codex | Hy4 flash | Leader |
|---|---|---|---|
| Neither model has a result on 2 boards here | |||
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
| Benchmark | GPT-5.2-Codex | Hy4 flash | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1019 | Not measured | Only GPT-5.2-Codex measured |
| Design Arena: agents building full-stack apps | 971 | Not measured | Only GPT-5.2-Codex measured |
| Design Arena: agents building mobile apps | 1082 | Not measured | Only GPT-5.2-Codex measured |
| Design Arena: agents building Android apps | 1176 | Not measured | Only GPT-5.2-Codex measured |
| Design Arena: agents building Godot games | 1142 | Not measured | Only GPT-5.2-Codex measured |
| Tax Agent Bench (Vals AI) | Not measured | 23.3% | Only Hy4 flash measured |
| Legal Research Bench (Vals AI) | Not measured | 38.5% | Only Hy4 flash measured |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 5.4% | Only Hy4 flash measured |
| τ²-Bench Telecom | 92.1% | Not measured | Only GPT-5.2-Codex measured |
| Neither model has a result on the other 35 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | GPT-5.2-Codex | Hy4 flash | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | 89.9% | Not measured | Only GPT-5.2-Codex measured |
| Humanity's Last Exam (Artificial Analysis run) | 35.7% | Not measured | Only GPT-5.2-Codex measured |
| Neither model has a result on the other 24 boards here | |||
MathNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.2-Codex | Hy4 flash | Leader |
|---|---|---|---|
| Neither model has a result on 14 boards here | |||
KnowledgeNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.2-Codex | Hy4 flash | Leader |
|---|---|---|---|
| Neither model has a result on 21 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
| Benchmark | GPT-5.2-Codex | Hy4 flash | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1227 | Only Hy4 flash measured |
| Design Arena: UI components | Not measured | 1262 | Only Hy4 flash measured |
| Design Arena: game dev | Not measured | 1202 | Only Hy4 flash measured |
| Design Arena: 3D | Not measured | 1209 | Only Hy4 flash measured |
| Design Arena: all code categories | Not measured | 1225 | Only Hy4 flash measured |
| Neither model has a result on the other 4 boards here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
| Benchmark | GPT-5.2-Codex | Hy4 flash | Leader |
|---|---|---|---|
| Vals Index | Not measured | 50.8% | Only Hy4 flash measured |
| IFBench | 77.6% | Not measured | Only GPT-5.2-Codex measured |
| Long context reasoning (AA-LCR) | 82.3% | Not measured | Only GPT-5.2-Codex measured |
| Neither model has a result on the other 46 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.2-Codex | 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 | OpenAI GPT-5.2-Codex | Tencent Hy4 flash |
|---|---|---|
| Maker | OpenAI | Tencent |
| Weights | No public weights listed | Open weights |
| Released | January 14, 2026 | November 16, 2026 |
| Context window | 400K | 1.05M |
| Input $/Mtok | $1.75 | $0.035 |
| Output $/Mtok | $14.00 | $0.1405 |
| Coding index | 45.4 | 44.5 |
| Independent measurements behind it | 3 | 2 |
| Cost per solved task | $0.43 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.2-Codex better than Hy4 flash for coding?
GPT-5.2-Codex and Hy4 flash are level for coding, 45.4 against 44.5 on the Vibe Coding Index, so price and context decide. Pick Hy4 flash for output tokens 99.6x cheaper ($0.1405 vs $14.00 per million) and a larger context window (1.05M against 400K tokens).
Which is cheaper, GPT-5.2-Codex or Hy4 flash?
GPT-5.2-Codex costs $1.75 per million input tokens and $14.00 per million output tokens; Hy4 flash costs $0.035 and $0.1405. Cost per solved task is known for GPT-5.2-Codex only.
Which has the bigger context window, GPT-5.2-Codex or Hy4 flash?
Hy4 flash, with 1.05M tokens against 400K.
How many benchmarks is the GPT-5.2-Codex vs Hy4 flash comparison based on?
1 benchmarks have a result for both models as of November 22, 2026. GPT-5.2-Codex's coding index rests on 3 independent benchmarks and Hy4 flash's on 2. Where only one model has a result, the page says so instead of naming a winner.