Enter opens the highlighted result. Esc closes.

GPT-4.1 vs Qwen3.8 27B

Qwen3.8 27B leads GPT-4.1 on the Artificial Analysis Intelligence Index, 33.7 to 12.7, and Qwen3.8 27B costs 3.1x less per output token ($2.55 vs $8.00 per million). Updated October 22, 2026; 52 benchmarks have a result for both.

GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
3
Qwen3.8 27BQwen
Coding
74.2
Overall
59.6
Output $/M
$2.55
49
vs boards won of 52 shared

GPT-4.1 or Qwen3.8 27B: which to pick

Only Qwen3.8 27B has a coding score, 74.2 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding.

Pick GPT-4.1 for a lower cost per solved task ($0.37 against $1.26) and a larger context window (1.05M against 1M tokens).

Shared results
52
GPT-4.1 only
40
Qwen3.8 27B only
33
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.1 not benchmarked, Qwen3.8 27B 74.2 from 4 benchmarks.
Widest category
Reasoning, 25.0 points apart on average over 11 shared benchmarks.
Widest single gap
ARC-AGI: GPT-4.1 5.5% against Qwen3.8 27B 87.5%, 82.0 points apart on a 0 to 100 scale.
Output price
GPT-4.1 $8.00 against Qwen3.8 27B $2.55 per million output tokens, 3.1x apart.
Context window
GPT-4.1 takes 1.05M tokens, Qwen3.8 27B 1M.

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.8 27BTies
Coding03
Intelligence02
Reasoning011
Math02
Knowledge35
General026
All shared boards349
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for GPT-4.1 and Qwen3.8 27B
BenchmarkGPT-4.1Qwen3.8 27BLeader
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
LiveBench codingNot measured86.8%Only Qwen3.8 27B measured
LMArena WebDevNot measured1593Only Qwen3.8 27B measured
AA Coding IndexNot measured68.1Only Qwen3.8 27B measured
LiveCodeBench (Vals AI)54.7%84.0%Qwen3.8 27B
SWE-bench Verified (Vals AI)Not measured86.0%Only Qwen3.8 27B measured
Vibe Code Bench (Vals AI)Not measured64.8%Only Qwen3.8 27B measured
Code migration (Vals AI)Not measured14.2%Only Qwen3.8 27B measured
ProgramBench (Vals AI)Not measured0.0%Only Qwen3.8 27B measured
IOI (Vals AI)Not measured39.1%Only Qwen3.8 27B measured
Terminal-Bench 2.1 (Vals AI)Not measured58.4%Only Qwen3.8 27B measured
SkillsBench (Vals AI)Not measured38.1%Only Qwen3.8 27B measured
CyberBench (Vals AI)Not measured67.8%Only Qwen3.8 27B measured
LiveCodeBench (Artificial Analysis run)45.7%Not measuredOnly GPT-4.1 measured
SciCodeNot measured46.6%Only Qwen3.8 27B measured
Terminal-Bench Hard (Artificial Analysis run)13.6%Not measuredOnly GPT-4.1 measured
WeirdML39.0%Not measuredOnly GPT-4.1 measured
ALE-Bench558.1Not measuredOnly GPT-4.1 measured
LMArena Text: coding13901483Qwen3.8 27B
LMArena Text: software and IT13911478Qwen3.8 27B
LMArena WebDev: ReactNot measured1602Only Qwen3.8 27B measured
LMArena WebDev: HTMLNot measured1570Only Qwen3.8 27B measured
LMArena WebDev: from an imageNot measured1577Only Qwen3.8 27B measured
SciCode4.6%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4.1 and Qwen3.8 27B
BenchmarkGPT-4.1Qwen3.8 27BLeader
AA Intelligence Index12.733.7Qwen3.8 27B
Epoch Capabilities Index136.7151.7Qwen3.8 27B
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index13 boards, none shared
Agentic work benchmarks for GPT-4.1 and Qwen3.8 27B
BenchmarkGPT-4.1Qwen3.8 27BLeader
AA Agentic IndexNot measured45.8Only Qwen3.8 27B measured
LiveBench researchNot measured59.4%Only Qwen3.8 27B measured
LiveBench browserNot measured32.0%Only Qwen3.8 27B measured
LiveBench long agenticNot measured27.9%Only Qwen3.8 27B measured
Finance Agent (Vals AI)Not measured48.5%Only Qwen3.8 27B measured
Tax Agent Bench (Vals AI)Not measured30.9%Only Qwen3.8 27B measured
Legal Research Bench (Vals AI)Not measured36.1%Only Qwen3.8 27B measured
Excel Modeling Benchmark (Vals AI)Not measured59.7%Only Qwen3.8 27B measured
Terminal-Bench-Science (Vals AI)Not measured0.0%Only Qwen3.8 27B measured
τ²-Bench Telecom47.1%Not measuredOnly GPT-4.1 measured
APEX-AgentsNot measured47.5%Only Qwen3.8 27B 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 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index011
Reasoning benchmarks for GPT-4.1 and Qwen3.8 27B
BenchmarkGPT-4.1Qwen3.8 27BLeader
GPQA Diamond65.4%88.9%Qwen3.8 27B
LiveBench reasoningNot measured80.0%Only Qwen3.8 27B measured
MMMU Pro (Vals AI)72.4%83.9%Qwen3.8 27B
GPQA Diamond (Artificial Analysis run)66.6%90.5%Qwen3.8 27B
Humanity's Last Exam (Artificial Analysis run)4.2%33.9%Qwen3.8 27B
GPQA Diamond (Epoch AI run)66.9%Not measuredOnly GPT-4.1 measured
ARC-AGI5.5%87.5%Qwen3.8 27B
ARC-AGI-20.4%42.4%Qwen3.8 27B
SimpleBench27.0%Not measuredOnly GPT-4.1 measured
Chess puzzles3.0%Not measuredOnly GPT-4.1 measured
LMArena Text: hard prompts13841459Qwen3.8 27B
LMArena Text: expert13641479Qwen3.8 27B
LMArena Text: hard prompts in English13931461Qwen3.8 27B
LMArena Vision: diagrams12151285Qwen3.8 27B
LMArena Vision: homework12481295Qwen3.8 27B
Kagi LLM Benchmark52.3%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-4.1 and Qwen3.8 27B
BenchmarkGPT-4.1Qwen3.8 27BLeader
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%Not measuredOnly GPT-4.1 measured
FrontierMath, tiers 1 to 36.0%Not measuredOnly GPT-4.1 measured
ProofBenchNot measured16.0%Only Qwen3.8 27B measured
MATH level 583.0%Not measuredOnly GPT-4.1 measured
LMArena Text: math13691455Qwen3.8 27B
LMArena Text: mathematical work13601458Qwen3.8 27B
Neither model has a result on the other 2 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index35
Knowledge benchmarks for GPT-4.1 and Qwen3.8 27B
BenchmarkGPT-4.1Qwen3.8 27BLeader
MMLU Pro80.5%84.3%Qwen3.8 27B
LegalBench (Vals AI)83.1%82.4%GPT-4.1
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%70.8%GPT-4.1
MortgageTax (Vals AI)65.9%64.9%GPT-4.1
MedQA (Vals AI)91.2%Not measuredOnly GPT-4.1 measured
MedCode (Vals AI)Not measured28.7%Only Qwen3.8 27B 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: science13821467Qwen3.8 27B
LMArena Text: medicine and healthcare13791437Qwen3.8 27B
LMArena Text: legal and government13991447Qwen3.8 27B
LMArena Text: business and finance13691438Qwen3.8 27B
FACTS Benchmark Suite45.8%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 2 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for GPT-4.1 and Qwen3.8 27B
BenchmarkGPT-4.1Qwen3.8 27BLeader
Design Arena: websites1038Not measuredOnly GPT-4.1 measured
Design Arena: UI components997Not measuredOnly GPT-4.1 measured
Design Arena: game dev1079Not measuredOnly GPT-4.1 measured
Design Arena: data viz1104Not measuredOnly GPT-4.1 measured
Design Arena: 3D849Not measuredOnly GPT-4.1 measured
Design Arena: all code categories1025Not measuredOnly GPT-4.1 measured
LiveBench designNot measured75.9%Only Qwen3.8 27B measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index026
General benchmarks for GPT-4.1 and Qwen3.8 27B
BenchmarkGPT-4.1Qwen3.8 27BLeader
LiveBench data analysisNot measured76.6%Only Qwen3.8 27B measured
SAGE (Vals AI)Not measured52.4%Only Qwen3.8 27B measured
MedScribe (Vals AI)Not measured83.8%Only Qwen3.8 27B measured
IFBench43.0%Not measuredOnly GPT-4.1 measured
Long context reasoning (AA-LCR)68.3%82.0%Qwen3.8 27B
DTBench68.3%88.0%Qwen3.8 27B
LMCA25.6%41.4%Qwen3.8 27B
Fiction.LiveBench63.9%Not measuredOnly GPT-4.1 measured
Surface Evolver BenchNot measured45.0%Only Qwen3.8 27B measured
LMArena Text13831440Qwen3.8 27B
LMArena Text: instruction following13671436Qwen3.8 27B
LMArena Text: creative writing13631383Qwen3.8 27B
LMArena Vision12101269Qwen3.8 27B
LMArena Text: English13921448Qwen3.8 27B
LMArena Text: non-English13701428Qwen3.8 27B
LMArena Text: Chinese13821501Qwen3.8 27B
LMArena Text: German13811443Qwen3.8 27B
LMArena Text: Japanese13191387Qwen3.8 27B
LMArena Text: Korean13381384Qwen3.8 27B
LMArena Text: French13821465Qwen3.8 27B
LMArena Text: Spanish13761449Qwen3.8 27B
LMArena Text: Russian13771415Qwen3.8 27B
LMArena Text: Polish13891439Qwen3.8 27B
LMArena Text: multi-turn13971440Qwen3.8 27B
LMArena Text: longer queries13851448Qwen3.8 27B
LMArena Text: writing and language13711405Qwen3.8 27B
LMArena Text: entertainment and media13651393Qwen3.8 27B
LMArena Vision: English12091267Qwen3.8 27B
LMArena Vision: Chinese12261326Qwen3.8 27B
LMArena Vision: reading text12181281Qwen3.8 27B
LMArena Vision: humor11961235Qwen3.8 27B
LMArena Vision: captioning1207Not measuredOnly GPT-4.1 measured
LMArena Vision: recognizing things1208Not measuredOnly GPT-4.1 measured
LMArena Vision: creative writing12101237Qwen3.8 27B
Neither model has a result on the other 12 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.8 27B
BenchmarkGPT-4.1Qwen3.8 27BLeader
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.8 27B$0.0017Fits in one request

Qwen3.8 27B costs less

Repository review

50K input + 3K output tokens

GPT-4.1$0.124Fits in one request
Qwen3.8 27B$0.029Fits in one request

Qwen3.8 27B costs less

Agent loop

200K input + 10K output tokens

GPT-4.1$0.480Fits in one request
Qwen3.8 27B$0.111Fits in one request

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.

Specifications of GPT-4.1 and Qwen3.8 27B
SpecificationOpenAI GPT-4.1Qwen3.8 27B
MakerOpenAIQwen
WeightsNo public weights listedOpen weights
ReleasedApril 14, 2025August 14, 2026
Context window1.05M1M
Input $/Mtok$2.00$0.425
Output $/Mtok$8.00$2.55
Coding indexNot benchmarked74.2
Independent measurements behind it04
Cost per solved task$0.37$1.26
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4.1 better than Qwen3.8 27B for coding?

Only Qwen3.8 27B has a coding score, 74.2 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for a lower cost per solved task ($0.37 against $1.26) and a larger context window (1.05M against 1M tokens).

Which is cheaper, GPT-4.1 or Qwen3.8 27B?

GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; Qwen3.8 27B costs $0.425 and $2.55. Per solved SWE-bench Verified task, GPT-4.1 costs $0.37 and Qwen3.8 27B $1.26.

Which has the bigger context window, GPT-4.1 or Qwen3.8 27B?

GPT-4.1, with 1.05M tokens against 1M.

How many benchmarks is the GPT-4.1 vs Qwen3.8 27B comparison based on?

52 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.8 27B's on 4. Where only one model has a result, the page says so instead of naming a winner.

Compare next