Enter opens the highlighted result. Esc closes.

GPT-5.1-Codex vs Qwen3.5 397B A17B

GPT-5.1-Codex leads Qwen3.5 397B A17B on the Artificial Analysis Intelligence Index, 23.7 to 21.4, and Qwen3.5 397B A17B costs 4.3x less per output token ($2.34 vs $10.00 per million). Updated October 22, 2026; 15 benchmarks have a result for both.

GPT-5.1-CodexOpenAI
Coding
15.3
Overall
No data
Output $/M
$10.00
4
Qwen3.5 397B A17BQwen
Coding
No data
Overall
57.1
Output $/M
$2.34
11
vs boards won of 15 shared

GPT-5.1-Codex or Qwen3.5 397B A17B: which to pick

Only GPT-5.1-Codex has a coding score, 15.3 on the Vibe Coding Index; Qwen3.5 397B A17B has none, so the two cannot be ranked on coding.

Pick Qwen3.5 397B A17B for output tokens 4.3x cheaper ($2.34 vs $10.00 per million) and work measured by LMArena WebDev or Terminal-Bench Hard (Artificial Analysis run), where it leads.

Shared results
15
GPT-5.1-Codex only
11
Qwen3.5 397B A17B only
50
Like-for-like categories
6 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.

At a glance

Coding index
GPT-5.1-Codex 15.3 from 2 benchmarks, Qwen3.5 397B A17B not benchmarked.
Widest category
Agentic work, 12.6 points apart on average over 1 shared benchmark.
Widest single gap
ALE-Bench: GPT-5.1-Codex 1244.9 against Qwen3.5 397B A17B 621.9, 20.8 points apart on a 0 to 100 scale.
Output price
GPT-5.1-Codex $10.00 against Qwen3.5 397B A17B $2.34 per million output tokens, 4.3x apart.
Context window
GPT-5.1-Codex takes 400K tokens, Qwen3.5 397B A17B 262K.

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.

Boards won, where both have a result
CategoryGPT-5.1-CodexBarsQwen3.5 397B A17BTies
Coding13
Intelligence10
Agentic work01
Reasoning02
Web design23
General02
All shared boards411
CodingLike-for-likeSix of these boards feed the Vibe Coding Index13
Coding benchmarks for GPT-5.1-Codex and Qwen3.5 397B A17B
BenchmarkGPT-5.1-CodexQwen3.5 397B A17BLeader
SWE-bench Verified66.0%Not measuredOnly GPT-5.1-Codex measured
LMArena WebDev13371400Qwen3.5 397B A17B
LiveCodeBench (Vals AI)85.5%Not measuredOnly GPT-5.1-Codex measured
Vibe Code Bench (Vals AI)13.1%Not measuredOnly GPT-5.1-Codex measured
LiveCodeBench (Artificial Analysis run)84.9%Not measuredOnly GPT-5.1-Codex measured
SciCodeNot measured44.8%Only Qwen3.5 397B A17B measured
Terminal-Bench Hard (Artificial Analysis run)34.8%40.9%Qwen3.5 397B A17B
Terminal-Bench57.8%Not measuredOnly GPT-5.1-Codex measured
ALE-Bench1244.9621.9GPT-5.1-Codex
LMArena Text: codingNot measured1464Only Qwen3.5 397B A17B measured
LMArena Text: software and ITNot measured1463Only Qwen3.5 397B A17B measured
LMArena WebDev: ReactNot measured1388Only Qwen3.5 397B A17B measured
LMArena WebDev: HTML13461410Qwen3.5 397B A17B
Neither model has a result on the other 26 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GPT-5.1-Codex and Qwen3.5 397B A17B
BenchmarkGPT-5.1-CodexQwen3.5 397B A17BLeader
AA Intelligence Index23.721.4GPT-5.1-Codex
Epoch Capabilities IndexNot measured146.8Only Qwen3.5 397B A17B measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-5.1-Codex and Qwen3.5 397B A17B
BenchmarkGPT-5.1-CodexQwen3.5 397B A17BLeader
Design Arena: agents building web apps1018Not measuredOnly GPT-5.1-Codex measured
Design Arena: agents building full-stack apps1086Not measuredOnly GPT-5.1-Codex measured
Design Arena: agents building mobile apps1191Not measuredOnly GPT-5.1-Codex measured
τ²-Bench Telecom83.0%95.6%Qwen3.5 397B A17B
APEX-AgentsNot measured24.9%Only Qwen3.5 397B A17B measured
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index02
Reasoning benchmarks for GPT-5.1-Codex and Qwen3.5 397B A17B
BenchmarkGPT-5.1-CodexQwen3.5 397B A17BLeader
GPQA Diamond (Artificial Analysis run)86.0%89.3%Qwen3.5 397B A17B
Humanity's Last Exam (Artificial Analysis run)25.7%29.0%Qwen3.5 397B A17B
GPQA Diamond (Epoch AI run)Not measured86.4%Only Qwen3.5 397B A17B measured
Mystery game puzzlesNot measured18.0%Only Qwen3.5 397B A17B measured
LMArena Text: hard promptsNot measured1448Only Qwen3.5 397B A17B measured
LMArena Text: expertNot measured1462Only Qwen3.5 397B A17B measured
LMArena Text: hard prompts in EnglishNot measured1450Only Qwen3.5 397B A17B measured
LMArena Vision: diagramsNot measured1277Only Qwen3.5 397B A17B measured
LMArena Vision: homeworkNot measured1292Only Qwen3.5 397B A17B measured
Neither model has a result on the other 13 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for GPT-5.1-Codex and Qwen3.5 397B A17B
BenchmarkGPT-5.1-CodexQwen3.5 397B A17BLeader
AA Math Index95.7Not measuredOnly GPT-5.1-Codex measured
AIME 2025 (Artificial Analysis run)95.7%Not measuredOnly GPT-5.1-Codex measured
OTIS Mock AIMENot measured88.9%Only Qwen3.5 397B A17B measured
FrontierMath, tiers 1 to 3Not measured31.2%Only Qwen3.5 397B A17B measured
LMArena Text: mathNot measured1453Only Qwen3.5 397B A17B measured
LMArena Text: mathematical workNot measured1454Only Qwen3.5 397B A17B measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Knowledge benchmarks for GPT-5.1-Codex and Qwen3.5 397B A17B
BenchmarkGPT-5.1-CodexQwen3.5 397B A17BLeader
MMLU Pro (Artificial Analysis run)86.0%Not measuredOnly GPT-5.1-Codex measured
LMArena Text: scienceNot measured1457Only Qwen3.5 397B A17B measured
LMArena Text: medicine and healthcareNot measured1455Only Qwen3.5 397B A17B measured
LMArena Text: legal and governmentNot measured1441Only Qwen3.5 397B A17B measured
LMArena Text: business and financeNot measured1435Only Qwen3.5 397B A17B measured
Neither model has a result on the other 13 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index23
Web design benchmarks for GPT-5.1-Codex and Qwen3.5 397B A17B
BenchmarkGPT-5.1-CodexQwen3.5 397B A17BLeader
Design Arena: websites11611190Qwen3.5 397B A17B
Design Arena: UI components12341160GPT-5.1-Codex
Design Arena: game dev11371140Qwen3.5 397B A17B
Design Arena: data viz12131175GPT-5.1-Codex
Design Arena: 3DNot measured1160Only Qwen3.5 397B A17B measured
Design Arena: all code categories11521179Qwen3.5 397B A17B
Design Arena: SVGNot measured1139Only Qwen3.5 397B A17B measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for GPT-5.1-Codex and Qwen3.5 397B A17B
BenchmarkGPT-5.1-CodexQwen3.5 397B A17BLeader
IFBench70.0%78.8%Qwen3.5 397B A17B
Long context reasoning (AA-LCR)69.3%77.3%Qwen3.5 397B A17B
DTBenchNot measured87.5%Only Qwen3.5 397B A17B measured
LMCANot measured37.9%Only Qwen3.5 397B A17B measured
LMArena TextNot measured1437Only Qwen3.5 397B A17B measured
LMArena Text: instruction followingNot measured1424Only Qwen3.5 397B A17B measured
LMArena Text: creative writingNot measured1402Only Qwen3.5 397B A17B measured
LMArena VisionNot measured1262Only Qwen3.5 397B A17B measured
LMArena Text: EnglishNot measured1443Only Qwen3.5 397B A17B measured
LMArena Text: non-EnglishNot measured1430Only Qwen3.5 397B A17B measured
LMArena Text: ChineseNot measured1498Only Qwen3.5 397B A17B measured
LMArena Text: GermanNot measured1445Only Qwen3.5 397B A17B measured
LMArena Text: JapaneseNot measured1429Only Qwen3.5 397B A17B measured
LMArena Text: KoreanNot measured1384Only Qwen3.5 397B A17B measured
LMArena Text: FrenchNot measured1462Only Qwen3.5 397B A17B measured
LMArena Text: SpanishNot measured1441Only Qwen3.5 397B A17B measured
LMArena Text: RussianNot measured1430Only Qwen3.5 397B A17B measured
LMArena Text: PolishNot measured1447Only Qwen3.5 397B A17B measured
LMArena Text: multi-turnNot measured1446Only Qwen3.5 397B A17B measured
LMArena Text: longer queriesNot measured1441Only Qwen3.5 397B A17B measured
LMArena Text: writing and languageNot measured1415Only Qwen3.5 397B A17B measured
LMArena Text: entertainment and mediaNot measured1399Only Qwen3.5 397B A17B measured
LMArena Vision: EnglishNot measured1268Only Qwen3.5 397B A17B measured
LMArena Vision: ChineseNot measured1314Only Qwen3.5 397B A17B measured
LMArena Vision: reading textNot measured1271Only Qwen3.5 397B A17B measured
LMArena Vision: humorNot measured1262Only Qwen3.5 397B A17B measured
LMArena Vision: captioningNot measured1230Only Qwen3.5 397B A17B measured
LMArena Vision: recognizing thingsNot measured1265Only Qwen3.5 397B A17B measured
LMArena Vision: creative writingNot measured1260Only Qwen3.5 397B A17B 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
Image generation benchmarks for GPT-5.1-Codex and Qwen3.5 397B A17B
BenchmarkGPT-5.1-CodexQwen3.5 397B A17BLeader
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

GPT-5.1-Codex$0.0063Fits in one request
Qwen3.5 397B A17B$0.0016Fits in one request

Qwen3.5 397B A17B costs less

Repository review

50K input + 3K output tokens

GPT-5.1-Codex$0.092Fits in one request
Qwen3.5 397B A17B$0.027Fits in one request

Qwen3.5 397B A17B costs less

Agent loop

200K input + 10K output tokens

GPT-5.1-Codex$0.350Fits in one request
Qwen3.5 397B A17B$0.101Fits in one request

Qwen3.5 397B A17B 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.

Specifications of GPT-5.1-Codex and Qwen3.5 397B A17B
SpecificationOpenAI GPT-5.1-CodexQwen3.5 397B A17B
MakerOpenAIQwen
WeightsNo public weights listedOpen weights
ReleasedNovember 13, 2025February 16, 2026
Context window400K262K
Input $/Mtok$1.25$0.39
Output $/Mtok$10.00$2.34
Coding index15.3Not benchmarked
Independent measurements behind it21
Cost per solved task$0.892Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.1-Codex better than Qwen3.5 397B A17B for coding?

Only GPT-5.1-Codex has a coding score, 15.3 on the Vibe Coding Index; Qwen3.5 397B A17B has none, so the two cannot be ranked on coding. Pick Qwen3.5 397B A17B for output tokens 4.3x cheaper ($2.34 vs $10.00 per million) and work measured by LMArena WebDev or Terminal-Bench Hard (Artificial Analysis run), where it leads.

Which is cheaper, GPT-5.1-Codex or Qwen3.5 397B A17B?

GPT-5.1-Codex costs $1.25 per million input tokens and $10.00 per million output tokens; Qwen3.5 397B A17B costs $0.39 and $2.34. Cost per solved task is known for GPT-5.1-Codex only.

Which has the bigger context window, GPT-5.1-Codex or Qwen3.5 397B A17B?

GPT-5.1-Codex, with 400K tokens against 262K.

How many benchmarks is the GPT-5.1-Codex vs Qwen3.5 397B A17B comparison based on?

15 benchmarks have a result for both models as of October 22, 2026. GPT-5.1-Codex's coding index rests on 2 independent benchmarks and Qwen3.5 397B A17B's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next