BenchLeader

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 casePickWhyConfidence
Agents & tool useGPT-5.2-Codex66 vs 60 category scoreMedium
Lowest costQwen4 Max$2.25 vs $4.81 per 1M blended; agentic coding session $0.108 vs $0.161–
Fastest first answerGPT-5.2-Codex46.7 s (GPT-5.2-Codex (xhigh)) vs 69.8 s (Qwen4 Max (xhigh)) to the first answer token–
High volume on a budgetNeither flagshipA 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

SpecGPT-5.2-CodexQwen4 Max
DeveloperOpenAIAlibaba
Released18 Dec 202516 Nov 2026
Context window (tokens)400,0001,000,000
Compared atGPT-5.2-Codex (xhigh)Qwen4 Max (xhigh)
Open weightsNoNo
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.

CategoryGPT-5.2-Codex (xhigh)Qwen4 Max (xhigh)Leader
Reasoning–66.8not comparable
Coding–75.6not comparable
Agents & tools66.260.2GPT-5.2-Codex
Maths–63.2not comparable
Knowledge–58.9not comparable
Instruction following75.7–not comparable
Multimodal58.2–not comparable
Long context65.9–not comparable
Composite–57.6not 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.

2550 avg75ReasoningCodingAgents & toolsMathsKnowledgeInstructionfollowingLong contextMultimodalGPT-5.2-Codex, Agents & tools: 66.2GPT-5.2-Codex, Instruction following: 75.7GPT-5.2-Codex, Long context: 65.9GPT-5.2-Codex, Multimodal: 58.2Qwen4 Max, Reasoning: 66.8Qwen4 Max, Coding: 75.6Qwen4 Max, Agents & tools: 60.2Qwen4 Max, Maths: 63.2Qwen4 Max, Knowledge: 58.9

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.

Model, click to add or removeIndex

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.

MeasureGPT-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 speed78 tok/s100 tok/s
Time to first answer46.7 s69.8 s
Time to a complete answer, last measured 13 Nov 2026101.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.

MetricPublisherGPT-5.2-Codex (xhigh)Qwen4 Max (xhigh)
BenchLeader IndexBenchLeader–60.0
Agents & tools scoreBenchLeader66.260.2
Instruction following scoreBenchLeader75.7–
Long context scoreBenchLeader65.9–
Multimodal scoreBenchLeader58.2–
Coding scoreBenchLeader–75.6
Composite scoreBenchLeader–57.6
Knowledge scoreBenchLeader–58.9
Maths scoreBenchLeader–63.2
Reasoning scoreBenchLeader–66.8
Blended price $/MBenchLeader$4.81$2.25
Output speedBenchLeader78 tok/s100 tok/s
Time to first answerBenchLeader46.7 s69.8 s
Context windowBenchLeader400,000 tokens1,000,000 tokens
Reasoning
GPQA DiamondEpoch AI Benchmarking Hub–94.0%
LiveBench 2.0 ReasoningLiveBench–92.2%
LiveBench 1.0 ReasoningLiveBench77.7%†–
GPQA Diamond (AA)Artificial Analysis89.9%–
Humanity's Last Exam (AA)Artificial Analysis35.7%–
HLE-Diamond (AA)Artificial Analysis–44.9%†
CritPtArtificial Analysis8.7%–
CritPt v2 hard subset (AA)Artificial Analysis–43.0%†
Chess PuzzlesEpoch AI Benchmarking Hub–36.0%
EBR-benchEpoch AI Benchmarking Hub–40.0%
Mystery Game PuzzlesEpoch AI Benchmarking Hub–36.0%
Coding
Arena WebDevArena (LMArena)1339†1752
LiveBench 2.0 CodingLiveBench–69.8%
LiveBench 1.0 CodingLiveBench83.6%†–
LiveCodeBenchVals AI88.0%†–
SWE-bench (Vals)Vals AI72.4%†–
SWE-Bench ProScale AI SEAL41.0%†–
SWE-bench Verified (bash only)SWE-bench72.8%†–
SWE-bench Multilingual (bash only)SWE-bench66.3%†–
SWE-bench Verified (any scaffold)SWE-bench72.8%†–
Vibe Code Bench v1.1Vals AI37.9%†86.7%
Vibe Code Bench v1.1.1Vals AI–74.0%
SWE-Bench Pro (private)Scale AI SEAL27.7%†–
MirrorCodeEpoch AI Benchmarking Hub–47.8%
ALE-BenchEpoch AI Benchmarking Hub1299.9†1831.0
Show all 93 benchmarks
MetricPublisherGPT-5.2-Codex (xhigh)Qwen4 Max (xhigh)
Coding
GameBench 2 OverallDuelLab GameBench 2–68.4†
GameBench 2 by reasoning settingDuelLab GameBench 2–76.1
FrontierCode 2.0 (AA)Artificial Analysis–26.4%†
Agents & tools
APEX-AgentsMercor–67.4%†
Arena AgentArena (LMArena)–7.3
LiveBench Long AgenticLiveBench–46.6%
LiveBench BrowserLiveBench–80.7%
LiveBench Agentic CodingLiveBench49.4%†–
Terminal-Bench HardArtificial Analysis37.1%–
τ²-Bench Telecom (AA)Artificial Analysis92.1%–
GDPval-AA v2.1Artificial Analysis–1806†
Analyst Agent (AA)Artificial Analysis–46.3%†
APEX-Agents (AA)Artificial Analysis–59.1%†
Finance Agent v2.1Vals AI–66.7%
Harvey's Legal Agent Benchmark v1.1Vals AI–21.3%
Legal Research BenchVals AI–41.4%
Tax Agent BenchVals AI–40.4%
Terminal-Bench 4.0 (Vals)Vals AI–48.5%
Arena Agent Task CompletionArena (LMArena)–8.9
PostTrainBenchEpoch AI Benchmarking Hub–36.7%
SpireClimbEpoch AI Benchmarking Hub–0.0%
Terminal-Bench 4.1 (AA)Artificial Analysis–47.5%†
Terminal-Bench 4.0 (AA)Artificial Analysis–48.5%†
AutomationBenchArtificial Analysis–72.6%†
GDP.pdf (AA)Artificial Analysis–26.2%†
Harvey LAB-AA v1.1Harvey–9.4%†
EnterpriseOps-GymArtificial Analysis–48.5%†
AA-Briefcase v1.1Artificial Analysis–1685†
GDPxGDPx by SemiAnalysis–7.4%
Design Arena AgenticDesign Arena1043†1364†
Terminal-Bench-Science 0.1 (AA)Artificial Analysis–23.3%†
FrontierPhysics (AA)Artificial Analysis–2.5%†
Terminal-Bench 2.0Terminal-Bench66.5%†–
Arena Agent IndexArena (LMArena)–1189.6
Arena Agent SteerabilityArena (LMArena)–7.9
Arena Agent Bash ReliabilityArena (LMArena)–3.2
Arena Agent Tool HallucinationArena (LMArena)–1.2
Maths
FrontierMath Tiers 1–3Epoch AI Benchmarking Hub–78.6%
FrontierMath Tier 4Epoch AI Benchmarking Hub–53.7%
OTIS Mock AIMEEpoch AI Benchmarking Hub–100.0%
LiveBench MathematicsLiveBench88.8%†–
ArXivMathMathArena–47.1%†
BrokenArXivMathArena–65.0%†
Knowledge
SimpleQA VerifiedEpoch AI Benchmarking Hub–54.1%
LiveBench 2.0 Data AnalysisLiveBench–83.4%
LiveBench ResearchLiveBench–84.7%
LiveBench 1.0 Data AnalysisLiveBench78.2%†–
AA-Omniscience v1.1Artificial Analysis–27.7†
Excel Modeling Benchmark v1.1Vals AI–70.8%
AA-Omniscience v1.1: accuracyArtificial Analysis–43.7%†
AA-Omniscience v1.1: non-hallucinationArtificial Analysis–71.6%†
Instruction following
LiveBench LanguageLiveBench73.7%†–
LiveBench Instruction FollowingLiveBench66.5%†–
IFBenchArtificial Analysis77.6%–
Multimodal
LiveBench DesignLiveBench–79.1%
MMMU-ProArtificial Analysis76.3%–
Furniture AssemblyEpoch AI Benchmarking Hub–34.2%
Long context
AA-LCR v1.1Artificial Analysis82.3%–
MLCRArtificial Analysis–19.4%†
Composite
Epoch Capabilities IndexEpoch AI Benchmarking Hub–160.0†
LiveBench 2.0LiveBench–73.1%
LiveBench 1.0LiveBench74.0%†–
AA Intelligence Index v5.0.1Artificial Analysis–42.8†
AA Intelligence Index v4.3.2Artificial Analysis28.5–
AA Progress Index v1Artificial Analysis289.3334.4†
Vals IndexVals AI–61.7
Vals Finance IndexVals AI–62.0%
Vals Legal IndexVals 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…).

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.