Enter opens the highlighted result. Esc closes.

GPT-4 vs Qwen3.5 397B A17B

Qwen3.5 397B A17B leads GPT-4 on the Artificial Analysis Intelligence Index, 21.4 to 6.7, and Qwen3.5 397B A17B costs 25.6x less per output token ($2.34 vs $60.00 per million). Updated October 22, 2026; 34 benchmarks have a result for both.

GPT-4OpenAI
Coding
No data
Overall
No data
Output $/M
$60.00
0
Qwen3.5 397B A17BQwen
Coding
No data
Overall
57.1
Output $/M
$2.34
34
vs boards won of 34 shared

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

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick GPT-4 for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
34
GPT-4 only
11
Qwen3.5 397B A17B only
31
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-4 not benchmarked, Qwen3.5 397B A17B not benchmarked.
Widest category
Knowledge, 47.0 points apart on average over 4 shared benchmarks.
Widest single gap
GPQA Diamond (Artificial Analysis run): GPT-4 34.9% against Qwen3.5 397B A17B 89.3%, 54.4 points apart on a 0 to 100 scale.
Output price
GPT-4 $60.00 against Qwen3.5 397B A17B $2.34 per million output tokens, 25.6x apart.
Context window
GPT-4 takes 8K 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-4BarsQwen3.5 397B A17BTies
Coding02
Intelligence02
Reasoning04
Math02
Knowledge04
General020
All shared boards034
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for GPT-4 and Qwen3.5 397B A17B
BenchmarkGPT-4Qwen3.5 397B A17BLeader
SWE-bench Verified22.4%Not measuredOnly GPT-4 measured
SWE-bench Lite39.7%Not measuredOnly GPT-4 measured
SWE-bench (full test set)12.5%Not measuredOnly GPT-4 measured
LMArena WebDevNot measured1400Only Qwen3.5 397B A17B measured
AA Coding Index13.1Not measuredOnly GPT-4 measured
SciCodeNot measured44.8%Only Qwen3.5 397B A17B measured
Terminal-Bench Hard (Artificial Analysis run)Not measured40.9%Only Qwen3.5 397B A17B measured
ALE-BenchNot measured621.9Only Qwen3.5 397B A17B measured
LMArena Text: coding12091464Qwen3.5 397B A17B
LMArena Text: software and IT11951463Qwen3.5 397B A17B
LMArena WebDev: ReactNot measured1388Only Qwen3.5 397B A17B measured
LMArena WebDev: HTMLNot measured1410Only Qwen3.5 397B A17B measured
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4 and Qwen3.5 397B A17B
BenchmarkGPT-4Qwen3.5 397B A17BLeader
AA Intelligence Index6.721.4Qwen3.5 397B A17B
Epoch Capabilities Index125.7146.8Qwen3.5 397B A17B
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Agentic work benchmarks for GPT-4 and Qwen3.5 397B A17B
BenchmarkGPT-4Qwen3.5 397B A17BLeader
τ²-Bench TelecomNot measured95.6%Only Qwen3.5 397B A17B measured
APEX-AgentsNot measured24.9%Only Qwen3.5 397B A17B measured
Neither model has a result on the other 39 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for GPT-4 and Qwen3.5 397B A17B
BenchmarkGPT-4Qwen3.5 397B A17BLeader
GPQA Diamond (Artificial Analysis run)34.9%89.3%Qwen3.5 397B A17B
Humanity's Last Exam (Artificial Analysis run)Not measured29.0%Only Qwen3.5 397B A17B measured
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
BIG-Bench Hard75.1%Not measuredOnly GPT-4 measured
LMArena Text: hard prompts12001448Qwen3.5 397B A17B
LMArena Text: expert11491462Qwen3.5 397B A17B
LMArena Text: hard prompts in English12091450Qwen3.5 397B A17B
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 12 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-4 and Qwen3.5 397B A17B
BenchmarkGPT-4Qwen3.5 397B A17BLeader
OTIS Mock AIMENot measured88.9%Only Qwen3.5 397B A17B measured
FrontierMath, tiers 1 to 3Not measured31.2%Only Qwen3.5 397B A17B measured
GSM8K92.0%Not measuredOnly GPT-4 measured
LMArena Text: math12301453Qwen3.5 397B A17B
LMArena Text: mathematical work12281454Qwen3.5 397B A17B
Neither model has a result on the other 8 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for GPT-4 and Qwen3.5 397B A17B
BenchmarkGPT-4Qwen3.5 397B A17BLeader
MMLU Pro (Artificial Analysis run)56.2%Not measuredOnly GPT-4 measured
MMLU86.4%Not measuredOnly GPT-4 measured
AI2 Reasoning Challenge96.3%Not measuredOnly GPT-4 measured
LMArena Text: science11771457Qwen3.5 397B A17B
LMArena Text: medicine and healthcare11451455Qwen3.5 397B A17B
LMArena Text: legal and government11911441Qwen3.5 397B A17B
LMArena Text: business and finance11451435Qwen3.5 397B A17B
Neither model has a result on the other 11 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for GPT-4 and Qwen3.5 397B A17B
BenchmarkGPT-4Qwen3.5 397B A17BLeader
Design Arena: websitesNot measured1190Only Qwen3.5 397B A17B measured
Design Arena: UI componentsNot measured1160Only Qwen3.5 397B A17B measured
Design Arena: game devNot measured1140Only Qwen3.5 397B A17B measured
Design Arena: data vizNot measured1175Only Qwen3.5 397B A17B measured
Design Arena: 3DNot measured1160Only Qwen3.5 397B A17B measured
Design Arena: all code categoriesNot measured1179Only Qwen3.5 397B A17B measured
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 index020
General benchmarks for GPT-4 and Qwen3.5 397B A17B
BenchmarkGPT-4Qwen3.5 397B A17BLeader
IFBench33.2%78.8%Qwen3.5 397B A17B
Long context reasoning (AA-LCR)Not measured77.3%Only Qwen3.5 397B A17B measured
DTBench62.7%87.5%Qwen3.5 397B A17B
LMCA17.1%37.9%Qwen3.5 397B A17B
HellaSwag95.3%Not measuredOnly GPT-4 measured
WinoGrande87.5%Not measuredOnly GPT-4 measured
LMArena Text12061437Qwen3.5 397B A17B
LMArena Text: instruction following12011424Qwen3.5 397B A17B
LMArena Text: creative writing11911402Qwen3.5 397B A17B
LMArena VisionNot measured1262Only Qwen3.5 397B A17B measured
LMArena Text: English12201443Qwen3.5 397B A17B
LMArena Text: non-English11941430Qwen3.5 397B A17B
LMArena Text: Chinese11841498Qwen3.5 397B A17B
LMArena Text: German11981445Qwen3.5 397B A17B
LMArena Text: Japanese11371429Qwen3.5 397B A17B
LMArena Text: Korean10871384Qwen3.5 397B A17B
LMArena Text: French12201462Qwen3.5 397B A17B
LMArena Text: Spanish11971441Qwen3.5 397B A17B
LMArena Text: Russian11951430Qwen3.5 397B A17B
LMArena Text: Polish12651447Qwen3.5 397B A17B
LMArena Text: multi-turn12061446Qwen3.5 397B A17B
LMArena Text: longer queries11901441Qwen3.5 397B A17B
LMArena Text: writing and language12191415Qwen3.5 397B A17B
LMArena Text: entertainment and media11841399Qwen3.5 397B A17B
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 15 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-4 and Qwen3.5 397B A17B
BenchmarkGPT-4Qwen3.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-4$0.060Fits 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-4$1.68Exceeds the context window
Qwen3.5 397B A17B$0.027Fits in one request

Qwen3.5 397B A17B costs less

Agent loop

200K input + 10K output tokens

GPT-4$6.60Exceeds the context window
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-4 and Qwen3.5 397B A17B
SpecificationOpenAI GPT-4Qwen3.5 397B A17B
MakerOpenAIQwen
WeightsNo public weights listedOpen weights
ReleasedMay 28, 2023February 16, 2026
Context window8K262K
Input $/Mtok$30.00$0.39
Output $/Mtok$60.00$2.34
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it01
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick GPT-4 for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

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

GPT-4 costs $30.00 per million input tokens and $60.00 per million output tokens; Qwen3.5 397B A17B costs $0.39 and $2.34. Cost per solved task is known for neither of them.

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

Qwen3.5 397B A17B, with 262K tokens against 8K.

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

34 benchmarks have a result for both models as of October 22, 2026. GPT-4's coding index rests on 0 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