Enter opens the highlighted result. Esc closes.

GPT-4.1 vs Qwen3.5 397B A17B

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

GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
0
Qwen3.5 397B A17BQwen
Coding
No data
Overall
57.1
Output $/M
$2.34
58
vs boards won of 58 shared

GPT-4.1 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.1 for a larger context window (1.05M against 262K tokens) and work measured by Terminal-Bench Hard (Artificial Analysis run) or ALE-Bench, where it leads.

Shared results
58
GPT-4.1 only
37
Qwen3.5 397B A17B only
8
Like-for-like categories
8 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.1 not benchmarked, Qwen3.5 397B A17B not benchmarked.
Widest category
Agentic work, 48.5 points apart on average over 1 shared benchmark.
Widest single gap
OTIS Mock AIME: GPT-4.1 38.3% against Qwen3.5 397B A17B 88.9%, 50.6 points apart on a 0 to 100 scale.
Output price
GPT-4.1 $8.00 against Qwen3.5 397B A17B $2.34 per million output tokens, 3.4x apart.
Context window
GPT-4.1 takes 1.05M 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-4.1BarsQwen3.5 397B A17BTies
Coding04
Intelligence02
Agentic work01
Reasoning08
Math04
Knowledge04
Web design06
General029
All shared boards058
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
Coding benchmarks for GPT-4.1 and Qwen3.5 397B A17B
BenchmarkGPT-4.1Qwen3.5 397B A17BLeader
Aider polyglot52.4%Not measuredOnly GPT-4.1 measured
SWE-bench Verified39.6%Not measuredOnly GPT-4.1 measured
SWE-bench Multimodal31.1%Not measuredOnly GPT-4.1 measured
LMArena WebDevNot measured1400Only Qwen3.5 397B A17B measured
LiveCodeBench (Vals AI)54.7%Not measuredOnly GPT-4.1 measured
LiveCodeBench (Artificial Analysis run)45.7%Not measuredOnly GPT-4.1 measured
SciCodeNot measured44.8%Only Qwen3.5 397B A17B measured
Terminal-Bench Hard (Artificial Analysis run)13.6%40.9%Qwen3.5 397B A17B
WeirdML39.0%Not measuredOnly GPT-4.1 measured
ALE-Bench558.1621.9Qwen3.5 397B A17B
LMArena Text: coding13901464Qwen3.5 397B A17B
LMArena Text: software and IT13911463Qwen3.5 397B A17B
LMArena WebDev: ReactNot measured1388Only Qwen3.5 397B A17B measured
LMArena WebDev: HTMLNot measured1410Only Qwen3.5 397B A17B measured
SciCode4.6%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 28 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4.1 and Qwen3.5 397B A17B
BenchmarkGPT-4.1Qwen3.5 397B A17BLeader
AA Intelligence Index12.721.4Qwen3.5 397B A17B
Epoch Capabilities Index136.7146.8Qwen3.5 397B A17B
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-4.1 and Qwen3.5 397B A17B
BenchmarkGPT-4.1Qwen3.5 397B A17BLeader
τ²-Bench Telecom47.1%95.6%Qwen3.5 397B A17B
APEX-AgentsNot measured24.9%Only Qwen3.5 397B A17B measured
Berkeley Function Calling Leaderboard (BFCL)54.0%Not measuredOnly GPT-4.1 measured
BrowseComp-Plus36.4%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index08
Reasoning benchmarks for GPT-4.1 and Qwen3.5 397B A17B
BenchmarkGPT-4.1Qwen3.5 397B A17BLeader
GPQA Diamond65.4%Not measuredOnly GPT-4.1 measured
MMMU Pro (Vals AI)72.4%Not measuredOnly GPT-4.1 measured
GPQA Diamond (Artificial Analysis run)66.6%89.3%Qwen3.5 397B A17B
Humanity's Last Exam (Artificial Analysis run)4.2%29.0%Qwen3.5 397B A17B
GPQA Diamond (Epoch AI run)66.9%86.4%Qwen3.5 397B A17B
ARC-AGI5.5%Not measuredOnly GPT-4.1 measured
ARC-AGI-20.4%Not measuredOnly GPT-4.1 measured
SimpleBench27.0%Not measuredOnly GPT-4.1 measured
Chess puzzles3.0%Not measuredOnly GPT-4.1 measured
Mystery game puzzlesNot measured18.0%Only Qwen3.5 397B A17B measured
LMArena Text: hard prompts13841448Qwen3.5 397B A17B
LMArena Text: expert13641462Qwen3.5 397B A17B
LMArena Text: hard prompts in English13931450Qwen3.5 397B A17B
LMArena Vision: diagrams12151277Qwen3.5 397B A17B
LMArena Vision: homework12481292Qwen3.5 397B A17B
Kagi LLM Benchmark52.3%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for GPT-4.1 and Qwen3.5 397B A17B
BenchmarkGPT-4.1Qwen3.5 397B A17BLeader
AIME39.6%Not measuredOnly GPT-4.1 measured
MATH 500 (Vals AI)87.2%Not measuredOnly GPT-4.1 measured
MGSM (Vals AI)87.7%Not measuredOnly GPT-4.1 measured
AA Math Index34.7Not measuredOnly GPT-4.1 measured
AIME 2025 (Artificial Analysis run)34.7%Not measuredOnly GPT-4.1 measured
OTIS Mock AIME38.3%88.9%Qwen3.5 397B A17B
FrontierMath, tiers 1 to 36.0%31.2%Qwen3.5 397B A17B
MATH level 583.0%Not measuredOnly GPT-4.1 measured
LMArena Text: math13691453Qwen3.5 397B A17B
LMArena Text: mathematical work13601454Qwen3.5 397B A17B
MathArenaNot measured19.2%Only Qwen3.5 397B A17B measured
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for GPT-4.1 and Qwen3.5 397B A17B
BenchmarkGPT-4.1Qwen3.5 397B A17BLeader
MMLU Pro80.5%Not measuredOnly GPT-4.1 measured
LegalBench (Vals AI)83.1%Not measuredOnly GPT-4.1 measured
CaseLaw (Vals AI)69.9%Not measuredOnly GPT-4.1 measured
CorpFin (Vals AI)63.0%Not measuredOnly GPT-4.1 measured
TaxEval (Vals AI)75.1%Not measuredOnly GPT-4.1 measured
MortgageTax (Vals AI)65.9%Not measuredOnly GPT-4.1 measured
MedQA (Vals AI)91.2%Not measuredOnly GPT-4.1 measured
MMLU Pro (Artificial Analysis run)80.6%Not measuredOnly GPT-4.1 measured
SimpleQA Verified31.1%Not measuredOnly GPT-4.1 measured
GeoBench72.0%Not measuredOnly GPT-4.1 measured
LMArena Text: science13821457Qwen3.5 397B A17B
LMArena Text: medicine and healthcare13791455Qwen3.5 397B A17B
LMArena Text: legal and government13991441Qwen3.5 397B A17B
LMArena Text: business and finance13691435Qwen3.5 397B A17B
FACTS Benchmark Suite45.8%Not measuredOnly GPT-4.1 measured
PRBench Finance34.3%Not measuredOnly GPT-4.1 measured
PRBench Legal36.5%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for GPT-4.1 and Qwen3.5 397B A17B
BenchmarkGPT-4.1Qwen3.5 397B A17BLeader
Design Arena: websites10381190Qwen3.5 397B A17B
Design Arena: UI components9981161Qwen3.5 397B A17B
Design Arena: game dev10791140Qwen3.5 397B A17B
Design Arena: data viz11041175Qwen3.5 397B A17B
Design Arena: 3D8491160Qwen3.5 397B A17B
Design Arena: all code categories10251179Qwen3.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 index029
General benchmarks for GPT-4.1 and Qwen3.5 397B A17B
BenchmarkGPT-4.1Qwen3.5 397B A17BLeader
IFBench43.0%78.8%Qwen3.5 397B A17B
Long context reasoning (AA-LCR)68.3%77.3%Qwen3.5 397B A17B
DTBench68.3%87.5%Qwen3.5 397B A17B
LMCA25.6%37.9%Qwen3.5 397B A17B
Fiction.LiveBench63.9%Not measuredOnly GPT-4.1 measured
LMArena Text13831437Qwen3.5 397B A17B
LMArena Text: instruction following13671424Qwen3.5 397B A17B
LMArena Text: creative writing13631402Qwen3.5 397B A17B
LMArena Vision12101262Qwen3.5 397B A17B
LMArena Text: English13921443Qwen3.5 397B A17B
LMArena Text: non-English13701430Qwen3.5 397B A17B
LMArena Text: Chinese13821498Qwen3.5 397B A17B
LMArena Text: German13811445Qwen3.5 397B A17B
LMArena Text: Japanese13191429Qwen3.5 397B A17B
LMArena Text: Korean13381384Qwen3.5 397B A17B
LMArena Text: French13821462Qwen3.5 397B A17B
LMArena Text: Spanish13761441Qwen3.5 397B A17B
LMArena Text: Russian13771430Qwen3.5 397B A17B
LMArena Text: Polish13891447Qwen3.5 397B A17B
LMArena Text: multi-turn13971446Qwen3.5 397B A17B
LMArena Text: longer queries13851441Qwen3.5 397B A17B
LMArena Text: writing and language13711415Qwen3.5 397B A17B
LMArena Text: entertainment and media13651399Qwen3.5 397B A17B
LMArena Vision: English12091268Qwen3.5 397B A17B
LMArena Vision: Chinese12261314Qwen3.5 397B A17B
LMArena Vision: reading text12181271Qwen3.5 397B A17B
LMArena Vision: humor11961262Qwen3.5 397B A17B
LMArena Vision: captioning12071230Qwen3.5 397B A17B
LMArena Vision: recognizing things12081265Qwen3.5 397B A17B
LMArena Vision: creative writing12101260Qwen3.5 397B A17B
MultiChallenge39.4%Not measuredOnly GPT-4.1 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-4.1 and Qwen3.5 397B A17B
BenchmarkGPT-4.1Qwen3.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.1$0.0060Fits 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$0.124Fits 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-4.1$0.480Fits 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-4.1 and Qwen3.5 397B A17B
SpecificationOpenAI GPT-4.1Qwen3.5 397B A17B
MakerOpenAIQwen
WeightsNo public weights listedOpen weights
ReleasedApril 14, 2025February 16, 2026
Context window1.05M262K
Input $/Mtok$2.00$0.39
Output $/Mtok$8.00$2.34
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it01
Cost per solved task$0.37Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4.1 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.1 for a larger context window (1.05M against 262K tokens) and work measured by Terminal-Bench Hard (Artificial Analysis run) or ALE-Bench, where it leads.

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

GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; Qwen3.5 397B A17B costs $0.39 and $2.34. Cost per solved task is known for GPT-4.1 only.

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

GPT-4.1, with 1.05M tokens against 262K.

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

58 benchmarks have a result for both models as of October 22, 2026. GPT-4.1'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