GPT-5.2-Codex vs Qwen4 Max
Full profiles: GPT-5.2-Codex (OpenAI) and Qwen4 Max (Alibaba): every benchmark, price and rank.
Updated · Data from 10 sources
As of 29 Nov 2026, there are not enough shared benchmarks for a verdict, and Qwen4 Max is 2.1× cheaper at $2.25 vs $4.81 per 1M tokens blended. GPT-5.2-Codex leads in every category we measure both in. Qwen4 Max streams faster.
Key facts (as of 29 Nov 2026)
- GPT-5.2-Codex costs $4.81 per 1M tokens blended (list price, 29 Nov 2026).
- Qwen4 Max costs $2.25 per 1M tokens blended (list price, 29 Nov 2026).
- Qwen4 Max streams faster than GPT-5.2-Codex (Artificial Analysis, 7-day median, 29 Nov 2026).
Which to pick for…
The pick's numbers come first. Category scores on the BenchLeader scale (50 is the average model, 15 points one standard deviation). High confidence means a lead of half a standard deviation or more; under one point is called either.
| Use case | Pick | Why | Confidence |
|---|---|---|---|
| Agents & tool use | GPT-5.2-Codex | 66 vs 60 category score | Medium |
| Lowest cost | Qwen4 Max | $2.25 vs $4.81 per 1M blended; agentic coding session $0.108 vs $0.161 | – |
| Fastest first answer | GPT-5.2-Codex | 46.7 s (GPT-5.2-Codex (xhigh)) vs 69.8 s (Qwen4 Max (xhigh)) to the first answer token | – |
| High volume on a budget | Neither flagship | A smaller model is usually the better fit: Cheapest good LLMs, Fastest LLMs | – |
Key differences
- Not enough shared benchmarks for a verdict.
- GPT-5.2-Codex (xhigh) is stronger in agents & tools.
- Qwen4 Max (xhigh) is 2.1× cheaper ($2.25 vs $4.81 per 1M blended).
At a glance
| Spec | GPT-5.2-Codex | Qwen4 Max |
|---|---|---|
| Developer | OpenAI | Alibaba |
| Released | 18 Dec 2025 | 16 Nov 2026 |
| Context window (tokens) | 400,000 | 1,000,000 |
| Compared at | GPT-5.2-Codex (xhigh) | Qwen4 Max (xhigh) |
| Open weights | No | No |
| Price in / out / cached input per 1M | $1.75 / $14.00 / $0.175 | $1.50 / $4.50 / $0.075 |
Category by category
Category scores on the BenchLeader scale: 50 is the average evaluated model, 15 points is one standard deviation. A gap under one point is called level.
| Category | GPT-5.2-Codex (xhigh) | Qwen4 Max (xhigh) | Leader |
|---|---|---|---|
| Reasoning | – | 66.8 | not comparable |
| Coding | – | 75.6 | not comparable |
| Agents & tools | 66.2 | 60.2 | GPT-5.2-Codex |
| Maths | – | 63.2 | not comparable |
| Knowledge | – | 58.9 | not comparable |
| Instruction following | 75.7 | – | not comparable |
| Multimodal | 58.2 | – | not comparable |
| Long context | 65.9 | – | not comparable |
| Composite | – | 57.6 | not comparable |
On one chart
Each domain on the index's own scale, where 50 is an average model. Click a domain to see the benchmarks behind it. Pick up to 5 models from the list.
Dashed: that model has no result on the axis it crosses; the line only joins its neighbours.
Not drawn, no result for these models: Human preference.
Price, speed and latency
List prices blended at three input tokens per output token. Per-task prices use the token counts on the methodology page. Cost, tokens and time per benchmark task are measured: Artificial Analysis’ averages over its whole Intelligence Index run.
| Measure | GPT-5.2-Codex (xhigh) | Qwen4 Max (xhigh) |
|---|---|---|
| Blended price per 1M tokens | $4.81 | $2.25 |
| Input / output per 1M | $1.75 / $14.00 | $1.50 / $4.50 |
| Cached input per 1M | $0.175 | $0.075 |
| Price per task: chat reply | $0.0049 | $0.0020 |
| Price per task: summarize a 30-page report | $0.029 | $0.021 |
| Price per task: code edit | $0.032 | $0.016 |
| Price per task: agentic coding session | $0.161 | $0.108 |
| Price per task: structured extraction | $0.0063 | $0.0039 |
| Agentic coding session, input mostly cached | $0.090 | $0.044 |
| Cost per benchmark task (AA Index) | – | $3.27 |
| Output speed | 78 tok/s | 100 tok/s |
| Time to first answer | 46.7 s | 69.8 s |
| Time to a complete answer, last measured 13 Nov 2026 | 101.2 s | – |
Each model is compared at its best-ranked reasoning-effort setting. GPT-5.2-Codex (xhigh) and takes 47 s to its first answer token. Qwen4 Max (xhigh) scores 60.0 and takes 70 s to its first answer token; Qwen4 Max scores 55.6 in 70 s. Higher effort means more thinking before the answer: better scores, longer waits and more tokens billed. How reasoning effort changes scores and cost.
Every benchmark
93 benchmarks, grouped by category; each name links to the board and its leaders. † measured at another effort setting of the same model, shown for reference and not counted as a win.
| Metric | Publisher | GPT-5.2-Codex (xhigh) | Qwen4 Max (xhigh) |
|---|---|---|---|
| BenchLeader Index | BenchLeader | – | 60.0 |
| Agents & tools score | BenchLeader | 66.2 | 60.2 |
| Instruction following score | BenchLeader | 75.7 | – |
| Long context score | BenchLeader | 65.9 | – |
| Multimodal score | BenchLeader | 58.2 | – |
| Coding score | BenchLeader | – | 75.6 |
| Composite score | BenchLeader | – | 57.6 |
| Knowledge score | BenchLeader | – | 58.9 |
| Maths score | BenchLeader | – | 63.2 |
| Reasoning score | BenchLeader | – | 66.8 |
| Blended price $/M | BenchLeader | $4.81 | $2.25 |
| Output speed | BenchLeader | 78 tok/s | 100 tok/s |
| Time to first answer | BenchLeader | 46.7 s | 69.8 s |
| Context window | BenchLeader | 400,000 tokens | 1,000,000 tokens |
| Reasoning | |||
| GPQA Diamond | Epoch AI Benchmarking Hub | – | 94.0% |
| LiveBench 2.0 Reasoning | LiveBench | – | 92.2% |
| LiveBench 1.0 Reasoning | LiveBench | 77.7%† | – |
| GPQA Diamond (AA) | Artificial Analysis | 89.9% | – |
| Humanity's Last Exam (AA) | Artificial Analysis | 35.7% | – |
| HLE-Diamond (AA) | Artificial Analysis | – | 44.9%† |
| CritPt | Artificial Analysis | 8.7% | – |
| CritPt v2 hard subset (AA) | Artificial Analysis | – | 43.0%† |
| Chess Puzzles | Epoch AI Benchmarking Hub | – | 36.0% |
| EBR-bench | Epoch AI Benchmarking Hub | – | 40.0% |
| Mystery Game Puzzles | Epoch AI Benchmarking Hub | – | 36.0% |
| Coding | |||
| Arena WebDev | Arena (LMArena) | 1339† | 1752 |
| LiveBench 2.0 Coding | LiveBench | – | 69.8% |
| LiveBench 1.0 Coding | LiveBench | 83.6%† | – |
| LiveCodeBench | Vals AI | 88.0%† | – |
| SWE-bench (Vals) | Vals AI | 72.4%† | – |
| SWE-Bench Pro | Scale AI SEAL | 41.0%† | – |
| SWE-bench Verified (bash only) | SWE-bench | 72.8%† | – |
| SWE-bench Multilingual (bash only) | SWE-bench | 66.3%† | – |
| SWE-bench Verified (any scaffold) | SWE-bench | 72.8%† | – |
| Vibe Code Bench v1.1 | Vals AI | 37.9%† | 86.7% |
| Vibe Code Bench v1.1.1 | Vals AI | – | 74.0% |
| SWE-Bench Pro (private) | Scale AI SEAL | 27.7%† | – |
| MirrorCode | Epoch AI Benchmarking Hub | – | 47.8% |
| ALE-Bench | Epoch AI Benchmarking Hub | 1299.9† | 1831.0 |
Show all 93 benchmarks
| Metric | Publisher | GPT-5.2-Codex (xhigh) | Qwen4 Max (xhigh) |
|---|---|---|---|
| Coding | |||
| GameBench 2 Overall | DuelLab GameBench 2 | – | 68.4† |
| GameBench 2 by reasoning setting | DuelLab GameBench 2 | – | 76.1 |
| FrontierCode 2.0 (AA) | Artificial Analysis | – | 26.4%† |
| Agents & tools | |||
| APEX-Agents | Mercor | – | 67.4%† |
| Arena Agent | Arena (LMArena) | – | 7.3 |
| LiveBench Long Agentic | LiveBench | – | 46.6% |
| LiveBench Browser | LiveBench | – | 80.7% |
| LiveBench Agentic Coding | LiveBench | 49.4%† | – |
| Terminal-Bench Hard | Artificial Analysis | 37.1% | – |
| τ²-Bench Telecom (AA) | Artificial Analysis | 92.1% | – |
| GDPval-AA v2.1 | Artificial Analysis | – | 1806† |
| Analyst Agent (AA) | Artificial Analysis | – | 46.3%† |
| APEX-Agents (AA) | Artificial Analysis | – | 59.1%† |
| Finance Agent v2.1 | Vals AI | – | 66.7% |
| Harvey's Legal Agent Benchmark v1.1 | Vals AI | – | 21.3% |
| Legal Research Bench | Vals AI | – | 41.4% |
| Tax Agent Bench | Vals AI | – | 40.4% |
| Terminal-Bench 4.0 (Vals) | Vals AI | – | 48.5% |
| Arena Agent Task Completion | Arena (LMArena) | – | 8.9 |
| PostTrainBench | Epoch AI Benchmarking Hub | – | 36.7% |
| SpireClimb | Epoch AI Benchmarking Hub | – | 0.0% |
| Terminal-Bench 4.1 (AA) | Artificial Analysis | – | 47.5%† |
| Terminal-Bench 4.0 (AA) | Artificial Analysis | – | 48.5%† |
| AutomationBench | Artificial Analysis | – | 72.6%† |
| GDP.pdf (AA) | Artificial Analysis | – | 26.2%† |
| Harvey LAB-AA v1.1 | Harvey | – | 9.4%† |
| EnterpriseOps-Gym | Artificial Analysis | – | 48.5%† |
| AA-Briefcase v1.1 | Artificial Analysis | – | 1685† |
| GDPx | GDPx by SemiAnalysis | – | 7.4% |
| Design Arena Agentic | Design Arena | 1043† | 1364† |
| Terminal-Bench-Science 0.1 (AA) | Artificial Analysis | – | 23.3%† |
| FrontierPhysics (AA) | Artificial Analysis | – | 2.5%† |
| Terminal-Bench 2.0 | Terminal-Bench | 66.5%† | – |
| Arena Agent Index | Arena (LMArena) | – | 1189.6 |
| Arena Agent Steerability | Arena (LMArena) | – | 7.9 |
| Arena Agent Bash Reliability | Arena (LMArena) | – | 3.2 |
| Arena Agent Tool Hallucination | Arena (LMArena) | – | 1.2 |
| Maths | |||
| FrontierMath Tiers 1–3 | Epoch AI Benchmarking Hub | – | 78.6% |
| FrontierMath Tier 4 | Epoch AI Benchmarking Hub | – | 53.7% |
| OTIS Mock AIME | Epoch AI Benchmarking Hub | – | 100.0% |
| LiveBench Mathematics | LiveBench | 88.8%† | – |
| ArXivMath | MathArena | – | 47.1%† |
| BrokenArXiv | MathArena | – | 65.0%† |
| Knowledge | |||
| SimpleQA Verified | Epoch AI Benchmarking Hub | – | 54.1% |
| LiveBench 2.0 Data Analysis | LiveBench | – | 83.4% |
| LiveBench Research | LiveBench | – | 84.7% |
| LiveBench 1.0 Data Analysis | LiveBench | 78.2%† | – |
| AA-Omniscience v1.1 | Artificial Analysis | – | 27.7† |
| Excel Modeling Benchmark v1.1 | Vals AI | – | 70.8% |
| AA-Omniscience v1.1: accuracy | Artificial Analysis | – | 43.7%† |
| AA-Omniscience v1.1: non-hallucination | Artificial Analysis | – | 71.6%† |
| Instruction following | |||
| LiveBench Language | LiveBench | 73.7%† | – |
| LiveBench Instruction Following | LiveBench | 66.5%† | – |
| IFBench | Artificial Analysis | 77.6% | – |
| Multimodal | |||
| LiveBench Design | LiveBench | – | 79.1% |
| MMMU-Pro | Artificial Analysis | 76.3% | – |
| Furniture Assembly | Epoch AI Benchmarking Hub | – | 34.2% |
| Long context | |||
| AA-LCR v1.1 | Artificial Analysis | 82.3% | – |
| MLCR | Artificial Analysis | – | 19.4%† |
| Composite | |||
| Epoch Capabilities Index | Epoch AI Benchmarking Hub | – | 160.0† |
| LiveBench 2.0 | LiveBench | – | 73.1% |
| LiveBench 1.0 | LiveBench | 74.0%† | – |
| AA Intelligence Index v5.0.1 | Artificial Analysis | – | 42.8† |
| AA Intelligence Index v4.3.2 | Artificial Analysis | 28.5 | – |
| AA Progress Index v1 | Artificial Analysis | 289.3 | 334.4† |
| Vals Index | Vals AI | – | 61.7 |
| Vals Finance Index | Vals AI | – | 62.0% |
| Vals Legal Index | Vals AI | – | 70.7% |
Data as of 2026-11-29. Best configuration of each model; every score links to its source on the model pages.
DuelLab GameBench 2, release gb2-20261121-2b6a3a9e2dd6 (https://benchmarks.duellab.org/releases/gb2-20261121-2b6a3a9e2dd6/), CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Scores mapped to BenchLeader model names; not endorsed by DuelLab.
What changed
- GPT-5.2-Codex (xhigh): 1 score revision.
- Qwen4 Max (xhigh): 2 new results (PostTrainBench, ALE-Bench).
- Qwen4 Max (xhigh): 1 new result (GDPx).
- Qwen4 Max (xhigh): 1 new result (MirrorCode).
- Qwen4 Max (xhigh): BenchLeader Index 59.5 → 60.0.
- Qwen4 Max (xhigh): 4 new results (FrontierMath Tiers 1–3, FrontierMath Tier 4, SpireClimb…); 1 score revision.
- Qwen4 Max (xhigh): 7 new results (GPQA Diamond, OTIS Mock AIME, SimpleQA Verified…).
- Qwen4 Max (xhigh): 1 score revision.
- Qwen4 Max (xhigh): 13 new results (Arena WebDev, Arena Agent, Arena Agent Task Completion…).
Related comparisons
- GPT-5.2-Codex vs Claude Opus 5.5
- GPT-5.2-Codex vs GPT-6.1 Sol
- GPT-5.2-Codex vs Claude Fable 5
- Qwen4 Max vs Claude Fable 5.2
- Qwen4 Max vs Gemini 4 Carbon
- GPT-5.2 vs Qwen4 Max
- GPT-5.2-Codex vs Gemini 4 Argon
- GPT-5.2-Codex vs Claude Sonnet 5.5
Rankings: Best LLM overall · Best LLM for agents · Best cheap LLMs
GPT-5.2-Codex vs Qwen4 Max: questions
- GPT-5.2-Codex vs Qwen4 Max: which is cheaper, and will that change?
- Qwen4 Max is cheaper today: $2.25 against $4.81 per million tokens, blended at three input tokens per output token. No price change has been announced for either.
- Which is faster, GPT-5.2-Codex or Qwen4 Max?
- Qwen4 Max streams faster (100 vs 78 output tokens per second, Artificial Analysis 7-day median).
- Is GPT-5.2-Codex or Qwen4 Max better for agents and tool use?
- GPT-5.2-Codex scores higher in agentic tasks (66 vs 60 on the category index, where 50 is average).
- Which is better for long documents?
- Qwen4 Max accepts more context: 1,000,000 against 400,000 tokens for GPT-5.2-Codex.
- Which has lower latency?
- GPT-5.2-Codex answers first: 46.7 s against 69.8 s to the first answer token, as Artificial Analysis measures it. Reasoning effort drives most of this: a higher setting thinks longer before it answers.
More questions (1)
- When was Qwen4 Max released?
- Qwen4 Max was released on 16 Nov 2026.