GPT-5.2-Codex vs Qwen3.8 27B
Qwen3.8 27B leads GPT-5.2-Codex on coding, 72.2 to 51.4 on the Vibe Coding Index, and Qwen3.8 27B costs 5.5x less per output token ($2.55 vs $14.00 per million). Updated December 6, 2026; 8 benchmarks have a result for both.
GPT-5.2-Codex or Qwen3.8 27B: which to pick
Pick Qwen3.8 27B for coding: it scores 72.2 on the Vibe Coding Index against 51.4 for GPT-5.2-Codex.
Pick GPT-5.2-Codex for a lower cost per solved task ($0.43 against $1.26) and work measured by LiveCodeBench (Vals AI) or Humanity's Last Exam (Artificial Analysis run), where it leads.
- Shared results
- 8
- GPT-5.2-Codex only
- 13
- Qwen3.8 27B only
- 88
- 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
Qwen3.8 27B
Qwen3.8 27B scores 72.2 against 51.4.
2 and 3 benchmarks behind the scores
Intelligence
AA Intelligence Index
No call
Only Qwen3.8 27B has a AA Intelligence Index result, 20.0.
Directional only
Reasoning
GPQA Diamond
No call
Only Qwen3.8 27B has a GPQA Diamond result, 88.9%.
Directional only
Knowledge
MMLU Pro
No call
Only Qwen3.8 27B has a MMLU Pro result, 84.3%.
Directional only
Long documents
Listed context window
Qwen3.8 27B
Qwen3.8 27B takes 1.02M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Qwen3.8 27B
GPT-5.2-Codex $0.0088, Qwen3.8 27B $0.0017 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5.2-Codex
GPT-5.2-Codex $0.43, Qwen3.8 27B $1.26.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-5.2-Codex 51.4 from 2 benchmarks, Qwen3.8 27B 72.2 from 3 benchmarks.
- Widest category
- Coding, 27.0 points apart on average over 5 shared benchmarks.
- Widest single gap
- LMArena WebDev: React: GPT-5.2-Codex 1329 against Qwen3.8 27B 1595, 44.3 points apart on a 0 to 100 scale.
- Output price
- GPT-5.2-Codex $14.00 against Qwen3.8 27B $2.55 per million output tokens, 5.5x apart.
- Context window
- GPT-5.2-Codex takes 400K tokens, Qwen3.8 27B 1.02M.
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 | Qwen3.8 27B | Ties |
|---|---|---|---|---|
| Coding | 1 | 4 | ||
| Reasoning | 1 | 1 | ||
| General | 1 | 0 | ||
| All shared boards | 3 | 5 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index14
| Benchmark | GPT-5.2-Codex | Qwen3.8 27B | 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 |
| LiveBench coding | Not measured | 69.3% | Only Qwen3.8 27B measured |
| LMArena WebDev | 1339 | 1590 | Qwen3.8 27B |
| LiveCodeBench (Vals AI) | 88.0% | 84.0% | GPT-5.2-Codex |
| SWE-bench Verified (Vals AI) | 72.4% | 86.0% | Qwen3.8 27B |
| Code migration (Vals AI) | Not measured | 14.2% | Only Qwen3.8 27B measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only Qwen3.8 27B measured |
| IOI (Vals AI) | Not measured | 39.1% | Only Qwen3.8 27B measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 58.4% | Only Qwen3.8 27B measured |
| SkillsBench (Vals AI) | Not measured | 38.1% | Only Qwen3.8 27B measured |
| CyberBench (Vals AI) | Not measured | 67.8% | Only Qwen3.8 27B measured |
| SciCode | Not measured | 46.6% | Only Qwen3.8 27B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 37.1% | Not measured | Only GPT-5.2-Codex measured |
| Terminal-Bench 4.0 (Artificial Analysis run) | Not measured | 5.6% | Only Qwen3.8 27B measured |
| FrontierCode 2.0 | Not measured | 14.9% | Only Qwen3.8 27B 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 Text: coding | Not measured | 1481 | Only Qwen3.8 27B measured |
| LMArena Text: software and IT | Not measured | 1474 | Only Qwen3.8 27B measured |
| LMArena WebDev: React | 1329 | 1595 | Qwen3.8 27B |
| LMArena WebDev: HTML | 1349 | 1572 | Qwen3.8 27B |
| LMArena WebDev: from an image | Not measured | 1574 | Only Qwen3.8 27B measured |
| GameBench 2 | Not measured | 43.5 | Only Qwen3.8 27B measured |
| Terminal-Bench 2.0 | 66.5% | Not measured | Only GPT-5.2-Codex measured |
| Neither model has a result on the other 27 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | GPT-5.2-Codex | Qwen3.8 27B | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 20.0 | Only Qwen3.8 27B measured |
| Epoch Capabilities Index | Not measured | 152.6 | Only Qwen3.8 27B measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index15 boards, none shared
| Benchmark | GPT-5.2-Codex | Qwen3.8 27B | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1012 | Not measured | Only GPT-5.2-Codex measured |
| Design Arena: agents building full-stack apps | 1039 | Not measured | Only GPT-5.2-Codex measured |
| Design Arena: agents building mobile apps | 1079 | 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 |
| LiveBench research | Not measured | 61.3% | Only Qwen3.8 27B measured |
| LiveBench browser | Not measured | 24.2% | Only Qwen3.8 27B measured |
| LiveBench long agentic | Not measured | 15.9% | Only Qwen3.8 27B measured |
| Finance Agent (Vals AI) | Not measured | 48.5% | Only Qwen3.8 27B measured |
| Tax Agent Bench (Vals AI) | Not measured | 30.9% | Only Qwen3.8 27B measured |
| Legal Research Bench (Vals AI) | Not measured | 36.1% | Only Qwen3.8 27B measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 59.7% | Only Qwen3.8 27B measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 0.0% | Only Qwen3.8 27B measured |
| τ²-Bench Telecom | 92.1% | Not measured | Only GPT-5.2-Codex measured |
| APEX-Agents | Not measured | 47.5% | Only Qwen3.8 27B measured |
| Neither model has a result on the other 29 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | GPT-5.2-Codex | Qwen3.8 27B | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 88.9% | Only Qwen3.8 27B measured |
| LiveBench reasoning | Not measured | 80.0% | Only Qwen3.8 27B measured |
| MMMU Pro (Vals AI) | Not measured | 83.9% | Only Qwen3.8 27B measured |
| GPQA Diamond (Artificial Analysis run) | 89.9% | 90.5% | Qwen3.8 27B |
| Humanity's Last Exam (Artificial Analysis run) | 35.7% | 33.9% | GPT-5.2-Codex |
| HLE-Diamond (Artificial Analysis run) | Not measured | 15.3% | Only Qwen3.8 27B measured |
| CritPt v2, hard subset (Artificial Analysis run) | Not measured | 16.5% | Only Qwen3.8 27B measured |
| GPQA Diamond (Epoch AI run) | Not measured | 89.2% | Only Qwen3.8 27B measured |
| ARC-AGI | Not measured | 87.5% | Only Qwen3.8 27B measured |
| ARC-AGI-2 | Not measured | 42.4% | Only Qwen3.8 27B measured |
| SimpleBench | Not measured | 60.2% | Only Qwen3.8 27B measured |
| Chess puzzles | Not measured | 18.0% | Only Qwen3.8 27B measured |
| Mystery game puzzles | Not measured | 17.0% | Only Qwen3.8 27B measured |
| LMArena Text: hard prompts | Not measured | 1458 | Only Qwen3.8 27B measured |
| LMArena Text: expert | Not measured | 1478 | Only Qwen3.8 27B measured |
| LMArena Text: hard prompts in English | Not measured | 1464 | Only Qwen3.8 27B measured |
| LMArena Vision: diagrams | Not measured | 1282 | Only Qwen3.8 27B measured |
| LMArena Vision: homework | Not measured | 1290 | Only Qwen3.8 27B measured |
| Neither model has a result on the other 8 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
| Benchmark | GPT-5.2-Codex | Qwen3.8 27B | Leader |
|---|---|---|---|
| OTIS Mock AIME | Not measured | 88.3% | Only Qwen3.8 27B measured |
| ProofBench | Not measured | 16.0% | Only Qwen3.8 27B measured |
| LMArena Text: math | Not measured | 1458 | Only Qwen3.8 27B measured |
| LMArena Text: mathematical work | Not measured | 1461 | Only Qwen3.8 27B measured |
| Neither model has a result on the other 10 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
| Benchmark | GPT-5.2-Codex | Qwen3.8 27B | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 84.3% | Only Qwen3.8 27B measured |
| LegalBench (Vals AI) | Not measured | 82.4% | Only Qwen3.8 27B measured |
| TaxEval (Vals AI) | Not measured | 70.8% | Only Qwen3.8 27B measured |
| MortgageTax (Vals AI) | Not measured | 64.9% | Only Qwen3.8 27B measured |
| MedCode (Vals AI) | Not measured | 28.7% | Only Qwen3.8 27B measured |
| AA-Omniscience | Not measured | -6.4 | Only Qwen3.8 27B measured |
| SimpleQA Verified | Not measured | 9.7% | Only Qwen3.8 27B measured |
| GeoBench | Not measured | 38.0% | Only Qwen3.8 27B measured |
| LMArena Text: science | Not measured | 1465 | Only Qwen3.8 27B measured |
| LMArena Text: medicine and healthcare | Not measured | 1439 | Only Qwen3.8 27B measured |
| LMArena Text: legal and government | Not measured | 1447 | Only Qwen3.8 27B measured |
| LMArena Text: business and finance | Not measured | 1441 | Only Qwen3.8 27B measured |
| Neither model has a result on the other 9 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | GPT-5.2-Codex | Qwen3.8 27B | Leader |
|---|---|---|---|
| LiveBench design | Not measured | 72.4% | Only Qwen3.8 27B measured |
| Neither model has a result on the other 8 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.2-Codex | Qwen3.8 27B | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 76.6% | Only Qwen3.8 27B measured |
| MedScribe (Vals AI) | Not measured | 83.8% | Only Qwen3.8 27B measured |
| IFBench | 77.6% | Not measured | Only GPT-5.2-Codex measured |
| Long context reasoning (AA-LCR) | 82.3% | 82.0% | GPT-5.2-Codex |
| GDPval-AA | Not measured | 1430 | Only Qwen3.8 27B measured |
| DTBench | Not measured | 88.0% | Only Qwen3.8 27B measured |
| LMCA | Not measured | 41.4% | Only Qwen3.8 27B measured |
| Surface Evolver Bench | Not measured | 45.0% | Only Qwen3.8 27B measured |
| Furniture assembly | Not measured | 15.0% | Only Qwen3.8 27B measured |
| LMArena Text | Not measured | 1438 | Only Qwen3.8 27B measured |
| LMArena Text: instruction following | Not measured | 1434 | Only Qwen3.8 27B measured |
| LMArena Text: creative writing | Not measured | 1379 | Only Qwen3.8 27B measured |
| LMArena Vision | Not measured | 1274 | Only Qwen3.8 27B measured |
| LMArena Text: English | Not measured | 1448 | Only Qwen3.8 27B measured |
| LMArena Text: non-English | Not measured | 1425 | Only Qwen3.8 27B measured |
| LMArena Text: Chinese | Not measured | 1491 | Only Qwen3.8 27B measured |
| LMArena Text: German | Not measured | 1439 | Only Qwen3.8 27B measured |
| LMArena Text: Japanese | Not measured | 1389 | Only Qwen3.8 27B measured |
| LMArena Text: Korean | Not measured | 1400 | Only Qwen3.8 27B measured |
| LMArena Text: French | Not measured | 1465 | Only Qwen3.8 27B measured |
| LMArena Text: Spanish | Not measured | 1445 | Only Qwen3.8 27B measured |
| LMArena Text: Russian | Not measured | 1411 | Only Qwen3.8 27B measured |
| LMArena Text: Polish | Not measured | 1448 | Only Qwen3.8 27B measured |
| LMArena Text: multi-turn | Not measured | 1439 | Only Qwen3.8 27B measured |
| LMArena Text: longer queries | Not measured | 1446 | Only Qwen3.8 27B measured |
| LMArena Text: writing and language | Not measured | 1401 | Only Qwen3.8 27B measured |
| LMArena Text: entertainment and media | Not measured | 1390 | Only Qwen3.8 27B measured |
| LMArena Vision: English | Not measured | 1277 | Only Qwen3.8 27B measured |
| LMArena Vision: Chinese | Not measured | 1326 | Only Qwen3.8 27B measured |
| LMArena Vision: reading text | Not measured | 1282 | Only Qwen3.8 27B measured |
| LMArena Vision: humor | Not measured | 1238 | Only Qwen3.8 27B measured |
| LMArena Vision: creative writing | Not measured | 1240 | Only Qwen3.8 27B measured |
| Neither model has a result on the other 17 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.2-Codex | Qwen3.8 27B | 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
Qwen3.8 27B costs less
Repository review
50K input + 3K output tokens
Qwen3.8 27B costs less
Agent loop
200K input + 10K output tokens
Qwen3.8 27B 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 | Qwen3.8 27B |
|---|---|---|
| Maker | OpenAI | Qwen |
| Weights | No public weights listed | Open weights |
| Released | January 14, 2026 | August 14, 2026 |
| Context window | 400K | 1.02M |
| Input $/Mtok | $1.75 | $0.425 |
| Output $/Mtok | $14.00 | $2.55 |
| Coding index | 51.4 | 72.2 |
| Independent measurements behind it | 2 | 3 |
| Cost per solved task | $0.43 | $1.26 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.2-Codex better than Qwen3.8 27B for coding?
Pick Qwen3.8 27B for coding: it scores 72.2 on the Vibe Coding Index against 51.4 for GPT-5.2-Codex. Pick GPT-5.2-Codex for a lower cost per solved task ($0.43 against $1.26) and work measured by LiveCodeBench (Vals AI) or Humanity's Last Exam (Artificial Analysis run), where it leads.
Which is cheaper, GPT-5.2-Codex or Qwen3.8 27B?
GPT-5.2-Codex costs $1.75 per million input tokens and $14.00 per million output tokens; Qwen3.8 27B costs $0.425 and $2.55. Per solved SWE-bench Verified task, GPT-5.2-Codex costs $0.43 and Qwen3.8 27B $1.26.
Which has the bigger context window, GPT-5.2-Codex or Qwen3.8 27B?
Qwen3.8 27B, with 1.02M tokens against 400K.
How many benchmarks is the GPT-5.2-Codex vs Qwen3.8 27B comparison based on?
8 benchmarks have a result for both models as of December 6, 2026. GPT-5.2-Codex's coding index rests on 2 independent benchmarks and Qwen3.8 27B's on 3. Where only one model has a result, the page says so instead of naming a winner.