Enter opens the highlighted result. Esc closes.

GPT-5.4 Nano vs Qwen3.8 27B

Qwen3.8 27B leads GPT-5.4 Nano on coding, 74.2 to 44.8 on the Vibe Coding Index, and GPT-5.4 Nano costs 2.0x less per output token ($1.25 vs $2.55 per million). Updated October 22, 2026; 67 benchmarks have a result for both.

GPT-5.4 NanoOpenAI
Coding
44.8
Overall
45.7
Output $/M
$1.25
4
Qwen3.8 27BQwen
Coding
74.2
Overall
59.6
Output $/M
$2.55
63
vs boards won of 67 shared

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

Pick Qwen3.8 27B for coding: it scores 74.2 on the Vibe Coding Index against 44.8 for GPT-5.4 Nano.

Pick GPT-5.4 Nano for output tokens 2.0x cheaper ($1.25 vs $2.55 per million) and a lower cost per solved task ($0.14 against $1.26).

Shared results
67
GPT-5.4 Nano only
18
Qwen3.8 27B only
18
Like-for-like categories
7 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.4 Nano 44.8 from 2 benchmarks, Qwen3.8 27B 74.2 from 4 benchmarks.
Widest category
Agentic work, 22.2 points apart on average over 5 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): GPT-5.4 Nano 26.1% against Qwen3.8 27B 64.8%, 38.7 points apart on a 0 to 100 scale.
Output price
GPT-5.4 Nano $1.25 against Qwen3.8 27B $2.55 per million output tokens, 2.0x apart.
Context window
GPT-5.4 Nano takes 400K 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-5.4 NanoBarsQwen3.8 27BTies
Coding36
Intelligence02
Agentic work05
Reasoning011
Math03
Knowledge18
General028
All shared boards463
CodingLike-for-likeSix of these boards feed the Vibe Coding Index36
Coding benchmarks for GPT-5.4 Nano and Qwen3.8 27B
BenchmarkGPT-5.4 NanoQwen3.8 27BLeader
LiveBench codingNot measured86.8%Only Qwen3.8 27B measured
LMArena WebDevNot measured1593Only Qwen3.8 27B measured
AA Coding Index56.168.1Qwen3.8 27B
LiveCodeBench (Vals AI)84.0%84.0%GPT-5.4 Nano
SWE-bench Verified (Vals AI)69.8%86.0%Qwen3.8 27B
Vibe Code Bench (Vals AI)26.1%64.8%Qwen3.8 27B
Code migration (Vals AI)14.5%14.2%GPT-5.4 Nano
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)41.6%58.4%Qwen3.8 27B
SkillsBench (Vals AI)Not measured38.1%Only Qwen3.8 27B measured
CyberBench (Vals AI)Not measured67.8%Only Qwen3.8 27B measured
SciCode47.2%46.6%GPT-5.4 Nano
Terminal-Bench Hard (Artificial Analysis run)42.4%Not measuredOnly GPT-5.4 Nano measured
WeirdML49.2%Not measuredOnly GPT-5.4 Nano measured
ALE-Bench1004.5Not measuredOnly GPT-5.4 Nano measured
LMArena Text: coding14041483Qwen3.8 27B
LMArena Text: software and IT14021478Qwen3.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 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-5.4 Nano and Qwen3.8 27B
BenchmarkGPT-5.4 NanoQwen3.8 27BLeader
AA Intelligence Index20.733.7Qwen3.8 27B
Epoch Capabilities Index146.0151.7Qwen3.8 27B
Agentic workLike-for-likePublic boards, shown as published, kept out of the index05
Agentic work benchmarks for GPT-5.4 Nano and Qwen3.8 27B
BenchmarkGPT-5.4 NanoQwen3.8 27BLeader
AA Agentic Index16.045.8Qwen3.8 27B
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)38.2%48.5%Qwen3.8 27B
Tax Agent Bench (Vals AI)5.0%30.9%Qwen3.8 27B
Legal Research Bench (Vals AI)6.3%36.1%Qwen3.8 27B
Excel Modeling Benchmark (Vals AI)44.8%59.7%Qwen3.8 27B
Terminal-Bench-Science (Vals AI)Not measured0.0%Only Qwen3.8 27B measured
τ²-Bench Telecom76.0%Not measuredOnly GPT-5.4 Nano measured
APEX-AgentsNot measured47.5%Only Qwen3.8 27B measured
Neither model has a result on the other 31 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index011
Reasoning benchmarks for GPT-5.4 Nano and Qwen3.8 27B
BenchmarkGPT-5.4 NanoQwen3.8 27BLeader
GPQA Diamond77.5%88.9%Qwen3.8 27B
LiveBench reasoningNot measured80.0%Only Qwen3.8 27B measured
MMMU Pro (Vals AI)73.6%83.9%Qwen3.8 27B
GPQA Diamond (Artificial Analysis run)81.7%90.5%Qwen3.8 27B
Humanity's Last Exam (Artificial Analysis run)28.3%33.9%Qwen3.8 27B
GPQA Diamond (Epoch AI run)78.5%Not measuredOnly GPT-5.4 Nano measured
ARC-AGI51.5%87.5%Qwen3.8 27B
ARC-AGI-25.7%42.4%Qwen3.8 27B
Chess puzzles45.0%Not measuredOnly GPT-5.4 Nano measured
Mystery game puzzles9.0%Not measuredOnly GPT-5.4 Nano measured
LMArena Text: hard prompts13811459Qwen3.8 27B
LMArena Text: expert13961479Qwen3.8 27B
LMArena Text: hard prompts in English13871461Qwen3.8 27B
LMArena Vision: diagrams12101285Qwen3.8 27B
LMArena Vision: homework12251295Qwen3.8 27B
Kagi LLM Benchmark39.7%Not measuredOnly GPT-5.4 Nano measured
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for GPT-5.4 Nano and Qwen3.8 27B
BenchmarkGPT-5.4 NanoQwen3.8 27BLeader
AIME88.8%Not measuredOnly GPT-5.4 Nano measured
OTIS Mock AIME87.8%Not measuredOnly GPT-5.4 Nano measured
FrontierMath, tiers 1 to 344.9%Not measuredOnly GPT-5.4 Nano measured
FrontierMath, tier 412.2%Not measuredOnly GPT-5.4 Nano measured
ProofBench5.0%16.0%Qwen3.8 27B
LMArena Text: math14051455Qwen3.8 27B
LMArena Text: mathematical work14091458Qwen3.8 27B
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index18
Knowledge benchmarks for GPT-5.4 Nano and Qwen3.8 27B
BenchmarkGPT-5.4 NanoQwen3.8 27BLeader
MMLU Pro77.2%84.3%Qwen3.8 27B
LegalBench (Vals AI)77.9%82.4%Qwen3.8 27B
CaseLaw (Vals AI)51.9%Not measuredOnly GPT-5.4 Nano measured
CorpFin (Vals AI)61.2%Not measuredOnly GPT-5.4 Nano measured
TaxEval (Vals AI)67.4%70.8%Qwen3.8 27B
MortgageTax (Vals AI)59.1%64.9%Qwen3.8 27B
MedCode (Vals AI)41.0%28.7%GPT-5.4 Nano
SimpleQA Verified11.7%Not measuredOnly GPT-5.4 Nano measured
LMArena Text: science13741467Qwen3.8 27B
LMArena Text: medicine and healthcare13691437Qwen3.8 27B
LMArena Text: legal and government13681447Qwen3.8 27B
LMArena Text: business and finance13661438Qwen3.8 27B
Neither model has a result on the other 8 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Web design benchmarks for GPT-5.4 Nano and Qwen3.8 27B
BenchmarkGPT-5.4 NanoQwen3.8 27BLeader
LiveBench designNot measured75.9%Only Qwen3.8 27B measured
Neither model has a result on the other 8 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index028
General benchmarks for GPT-5.4 Nano and Qwen3.8 27B
BenchmarkGPT-5.4 NanoQwen3.8 27BLeader
LiveBench data analysisNot measured76.6%Only Qwen3.8 27B measured
SAGE (Vals AI)38.1%52.4%Qwen3.8 27B
MedScribe (Vals AI)77.1%83.8%Qwen3.8 27B
Vals Multimodal Index47.6%Not measuredOnly GPT-5.4 Nano measured
IFBench75.9%Not measuredOnly GPT-5.4 Nano measured
Long context reasoning (AA-LCR)76.7%82.0%Qwen3.8 27B
DTBench80.3%88.0%Qwen3.8 27B
LMCA36.9%41.4%Qwen3.8 27B
Surface Evolver BenchNot measured45.0%Only Qwen3.8 27B measured
LMArena Text13721440Qwen3.8 27B
LMArena Text: instruction following13621436Qwen3.8 27B
LMArena Text: creative writing13151383Qwen3.8 27B
LMArena Vision11961269Qwen3.8 27B
LMArena Text: English13811448Qwen3.8 27B
LMArena Text: non-English13591428Qwen3.8 27B
LMArena Text: Chinese13911501Qwen3.8 27B
LMArena Text: German13681443Qwen3.8 27B
LMArena Text: Japanese13431387Qwen3.8 27B
LMArena Text: Korean13211384Qwen3.8 27B
LMArena Text: French13951465Qwen3.8 27B
LMArena Text: Spanish13711449Qwen3.8 27B
LMArena Text: Russian13631415Qwen3.8 27B
LMArena Text: Polish13661439Qwen3.8 27B
LMArena Text: multi-turn13821440Qwen3.8 27B
LMArena Text: longer queries13651448Qwen3.8 27B
LMArena Text: writing and language13381405Qwen3.8 27B
LMArena Text: entertainment and media13251393Qwen3.8 27B
LMArena Vision: English12021267Qwen3.8 27B
LMArena Vision: Chinese12321326Qwen3.8 27B
LMArena Vision: reading text12041281Qwen3.8 27B
LMArena Vision: humor11611235Qwen3.8 27B
LMArena Vision: recognizing things1141Not measuredOnly GPT-5.4 Nano measured
LMArena Vision: creative writing11591237Qwen3.8 27B
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-5.4 Nano and Qwen3.8 27B
BenchmarkGPT-5.4 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-5.4 Nano$0.0008Fits in one request
Qwen3.8 27B$0.0017Fits in one request

GPT-5.4 Nano costs less

Repository review

50K input + 3K output tokens

GPT-5.4 Nano$0.014Fits in one request
Qwen3.8 27B$0.029Fits in one request

GPT-5.4 Nano costs less

Agent loop

200K input + 10K output tokens

GPT-5.4 Nano$0.052Fits in one request
Qwen3.8 27B$0.111Fits in one request

GPT-5.4 Nano 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.4 Nano and Qwen3.8 27B
SpecificationOpenAI GPT-5.4 NanoQwen3.8 27B
MakerOpenAIQwen
WeightsNo public weights listedOpen weights
ReleasedMarch 17, 2026August 14, 2026
Context window400K1M
Input $/Mtok$0.20$0.425
Output $/Mtok$1.25$2.55
Coding index44.874.2
Independent measurements behind it24
Cost per solved task$0.14$1.26
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick Qwen3.8 27B for coding: it scores 74.2 on the Vibe Coding Index against 44.8 for GPT-5.4 Nano. Pick GPT-5.4 Nano for output tokens 2.0x cheaper ($1.25 vs $2.55 per million) and a lower cost per solved task ($0.14 against $1.26).

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

GPT-5.4 Nano costs $0.20 per million input tokens and $1.25 per million output tokens; Qwen3.8 27B costs $0.425 and $2.55. Per solved SWE-bench Verified task, GPT-5.4 Nano costs $0.14 and Qwen3.8 27B $1.26.

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

Qwen3.8 27B, with 1M tokens against 400K.

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

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

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gpt-5-4-nano-vs-qwen3-8-27b" title="GPT-5.4 Nano vs Qwen3.8 27B, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gpt-5-4-nano-vs-qwen3-8-27b">LLMBenchmark.ai, GPT-5.4 Nano vs Qwen3.8 27B</a></p>