LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GPT-4.1 Nano vs Qwen3.8 27B

Updated October 21, 2026. 43 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GPT-4.1 NanoOpenAI
Coding
8.9
Overall
7.8
Output $/M
$0.40
0
Qwen3.8 27BQwen
Coding
73.6
Overall
33.7
Output $/M
$1.35
43
vs boards won of 43 shared

Decision reading

Pick Qwen3.8 27B for coding: it scores 73.6 on the Vibe Coding Index against 8.9 for GPT-4.1 Nano.

Pick GPT-4.1 Nano when output tokens cost 3.4x less, or when the context window is larger, 1.05M against 1M tokens.

Shared results
43
GPT-4.1 Nano only
26
Qwen3.8 27B only
42
Like-for-like categories
6 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 Nano 8.9 from 1 benchmark, Qwen3.8 27B 73.6 from 2 benchmarks.
Widest category
Reasoning, 39.8 points apart on average over 9 shared benchmarks.
Widest single gap
ARC-AGI: GPT-4.1 Nano 0.0% against Qwen3.8 27B 87.5%, 87.5 points apart on a 0 to 100 scale.
Output price
GPT-4.1 Nano $0.40 against Qwen3.8 27B $1.35 per million output tokens, 3.4x apart.
Context window
GPT-4.1 Nano 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.1 NanoBarsQwen3.8 27BTies
Coding04
Intelligence02
Reasoning09
Math02
Knowledge08
General018
All shared boards043
CodingLike-for-likeFour of these boards feed the Vibe Coding Index04
Coding benchmarks for GPT-4.1 Nano and Qwen3.8 27B
BenchmarkGPT-4.1 NanoQwen3.8 27BLeader
Aider polyglot8.9%Not measuredOnly GPT-4.1 Nano measured
LiveBench codingNot measured86.8%Only Qwen3.8 27B measured
LMArena WebDevNot measured1593Only Qwen3.8 27B measured
AA Coding Index11.168.1Qwen3.8 27B
LiveCodeBench (Vals AI)42.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)32.6%Not measuredOnly GPT-4.1 Nano measured
SciCodeNot measured46.6%Only Qwen3.8 27B measured
Terminal-Bench Hard (Artificial Analysis run)3.8%Not measuredOnly GPT-4.1 Nano measured
WeirdML19.0%Not measuredOnly GPT-4.1 Nano measured
LMArena Text: coding13061483Qwen3.8 27B
LMArena Text: software and IT13051478Qwen3.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
Neither model has a result on the other 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4.1 Nano and Qwen3.8 27B
BenchmarkGPT-4.1 NanoQwen3.8 27BLeader
AA Intelligence Index7.833.7Qwen3.8 27B
Epoch Capabilities Index129.5151.7Qwen3.8 27B
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
Agentic work benchmarks for GPT-4.1 Nano and Qwen3.8 27B
BenchmarkGPT-4.1 NanoQwen3.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 Telecom17.3%Not measuredOnly GPT-4.1 Nano measured
APEX-AgentsNot measured47.5%Only Qwen3.8 27B measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index09
Reasoning benchmarks for GPT-4.1 Nano and Qwen3.8 27B
BenchmarkGPT-4.1 NanoQwen3.8 27BLeader
GPQA Diamond50.8%88.9%Qwen3.8 27B
LiveBench reasoningNot measured80.0%Only Qwen3.8 27B measured
MMMU Pro (Vals AI)55.0%83.9%Qwen3.8 27B
GPQA Diamond (Artificial Analysis run)51.2%90.5%Qwen3.8 27B
Humanity's Last Exam (Artificial Analysis run)3.8%33.9%Qwen3.8 27B
GPQA Diamond (Epoch AI run)48.9%Not measuredOnly GPT-4.1 Nano measured
ARC-AGI0.0%87.5%Qwen3.8 27B
ARC-AGI-20.0%42.4%Qwen3.8 27B
Chess puzzles0.0%Not measuredOnly GPT-4.1 Nano measured
LMArena Text: hard prompts12861459Qwen3.8 27B
LMArena Text: expert12711479Qwen3.8 27B
LMArena Text: hard prompts in English12931461Qwen3.8 27B
LMArena Vision: diagramsNot measured1285Only Qwen3.8 27B measured
LMArena Vision: homeworkNot measured1295Only Qwen3.8 27B measured
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-4.1 Nano and Qwen3.8 27B
BenchmarkGPT-4.1 NanoQwen3.8 27BLeader
AIME26.5%Not measuredOnly GPT-4.1 Nano measured
MATH 500 (Vals AI)80.2%Not measuredOnly GPT-4.1 Nano measured
MGSM (Vals AI)69.3%Not measuredOnly GPT-4.1 Nano measured
AA Math Index24.0Not measuredOnly GPT-4.1 Nano measured
AIME 2025 (Artificial Analysis run)24.0%Not measuredOnly GPT-4.1 Nano measured
OTIS Mock AIME28.9%Not measuredOnly GPT-4.1 Nano measured
ProofBenchNot measured16.0%Only Qwen3.8 27B measured
MATH level 570.0%Not measuredOnly GPT-4.1 Nano measured
LMArena Text: math12741455Qwen3.8 27B
LMArena Text: mathematical work12741458Qwen3.8 27B
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index08
Knowledge benchmarks for GPT-4.1 Nano and Qwen3.8 27B
BenchmarkGPT-4.1 NanoQwen3.8 27BLeader
MMLU Pro63.5%84.3%Qwen3.8 27B
LegalBench (Vals AI)61.1%82.4%Qwen3.8 27B
CorpFin (Vals AI)42.1%Not measuredOnly GPT-4.1 Nano measured
TaxEval (Vals AI)60.8%70.8%Qwen3.8 27B
MortgageTax (Vals AI)52.8%64.9%Qwen3.8 27B
MedQA (Vals AI)68.2%Not measuredOnly GPT-4.1 Nano measured
MedCode (Vals AI)Not measured28.7%Only Qwen3.8 27B measured
MMLU Pro (Artificial Analysis run)65.7%Not measuredOnly GPT-4.1 Nano measured
SimpleQA Verified6.0%Not measuredOnly GPT-4.1 Nano measured
LMArena Text: science12971467Qwen3.8 27B
LMArena Text: medicine and healthcare12761437Qwen3.8 27B
LMArena Text: legal and government13001447Qwen3.8 27B
LMArena Text: business and finance12671438Qwen3.8 27B
Neither model has a result on the other 4 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for GPT-4.1 Nano and Qwen3.8 27B
BenchmarkGPT-4.1 NanoQwen3.8 27BLeader
Design Arena: websites973Not measuredOnly GPT-4.1 Nano measured
Design Arena: UI components916Not measuredOnly GPT-4.1 Nano measured
Design Arena: game dev971Not measuredOnly GPT-4.1 Nano measured
Design Arena: data viz891Not measuredOnly GPT-4.1 Nano measured
Design Arena: 3D925Not measuredOnly GPT-4.1 Nano measured
Design Arena: all code categories963Not measuredOnly GPT-4.1 Nano 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 index018
General benchmarks for GPT-4.1 Nano and Qwen3.8 27B
BenchmarkGPT-4.1 NanoQwen3.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
IFBench32.0%Not measuredOnly GPT-4.1 Nano measured
Long context reasoning (AA-LCR)20.3%82.0%Qwen3.8 27B
DTBench52.5%88.0%Qwen3.8 27B
LMCA5.5%41.4%Qwen3.8 27B
Fiction.LiveBench25.0%Not measuredOnly GPT-4.1 Nano measured
Surface Evolver BenchNot measured45.0%Only Qwen3.8 27B measured
LMArena Text12851440Qwen3.8 27B
LMArena Text: instruction following12661436Qwen3.8 27B
LMArena Text: creative writing12601383Qwen3.8 27B
LMArena Vision10631269Qwen3.8 27B
LMArena Text: English13031448Qwen3.8 27B
LMArena Text: non-English12601428Qwen3.8 27B
LMArena Text: Chinese12701501Qwen3.8 27B
LMArena Text: German12881443Qwen3.8 27B
LMArena Text: Japanese11981387Qwen3.8 27B
LMArena Text: KoreanNot measured1384Only Qwen3.8 27B measured
LMArena Text: FrenchNot measured1465Only Qwen3.8 27B measured
LMArena Text: SpanishNot measured1449Only Qwen3.8 27B measured
LMArena Text: Russian12611415Qwen3.8 27B
LMArena Text: PolishNot measured1439Only Qwen3.8 27B measured
LMArena Text: multi-turn12771440Qwen3.8 27B
LMArena Text: longer queries12831448Qwen3.8 27B
LMArena Text: writing and language12611405Qwen3.8 27B
LMArena Text: entertainment and media12431393Qwen3.8 27B
LMArena Vision: English11011267Qwen3.8 27B
LMArena Vision: ChineseNot measured1326Only Qwen3.8 27B measured
LMArena Vision: reading textNot measured1281Only Qwen3.8 27B measured
LMArena Vision: humorNot measured1235Only Qwen3.8 27B measured
LMArena Vision: creative writingNot measured1237Only Qwen3.8 27B measured
Neither model has a result on the other 14 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-4.1 Nano and Qwen3.8 27B
BenchmarkGPT-4.1 NanoQwen3.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 Nano$0.0003Fits in one request
Qwen3.8 27B$0.0007Fits in one request

GPT-4.1 Nano costs less

Repository review

50K input + 3K output tokens

GPT-4.1 Nano$0.0062Fits in one request
Qwen3.8 27B$0.0060Fits in one request

Qwen3.8 27B costs less

Agent loop

200K input + 10K output tokens

GPT-4.1 Nano$0.024Fits in one request
Qwen3.8 27B$0.021Fits 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 Nano and Qwen3.8 27B
SpecificationOpenAI GPT-4.1 NanoQwen3.8 27B
MakerOpenAIQwen
WeightsNo public weights listedOpen weights
ReleasedApril 14, 2025August 14, 2026
Context window1.05M1M
Input $/Mtok$0.10$0.04
Output $/Mtok$0.40$1.35
Coding index8.973.6
Independent measurements behind it12
Cost per solved taskNot computable$1.26
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick Qwen3.8 27B for coding: it scores 73.6 on the Vibe Coding Index against 8.9 for GPT-4.1 Nano. Pick GPT-4.1 Nano when output tokens cost 3.4x less, or when the context window is larger, 1.05M against 1M tokens.

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

GPT-4.1 Nano costs $0.10 per million input tokens and $0.40 per million output tokens; Qwen3.8 27B costs $0.04 and $1.35. Cost per solved task is known for Qwen3.8 27B only.

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

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

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

43 benchmarks have a result for both models as of October 21, 2026. GPT-4.1 Nano's coding index rests on 1 independent benchmark and Qwen3.8 27B's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next