Enter opens the highlighted result. Esc closes.

GPT-5.4 Mini vs Qwen3.8 27B

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

GPT-5.4 MiniOpenAI
Coding
35.8
Overall
44.0
Output $/M
$4.50
5
Qwen3.8 27BQwen
Coding
74.2
Overall
59.6
Output $/M
$2.55
62
vs boards won of 68 shared, 1 tied

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

Pick Qwen3.8 27B for coding: it scores 74.2 on the Vibe Coding Index against 35.8 for GPT-5.4 Mini, though on 4 benchmarks against 5.

Pick GPT-5.4 Mini for a lower cost per solved task ($0.70 against $1.26) and work measured by SciCode or ProofBench, where it leads.

Shared results
68
GPT-5.4 Mini only
21
Qwen3.8 27B only
17
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 Mini 35.8 from 5 benchmarks, Qwen3.8 27B 74.2 from 4 benchmarks.
Widest category
Agentic work, 18.2 points apart on average over 5 shared benchmarks.
Widest single gap
LMArena WebDev: React: GPT-5.4 Mini 1386 against Qwen3.8 27B 1602, 35.6 points apart on a 0 to 100 scale.
Output price
GPT-5.4 Mini $4.50 against Qwen3.8 27B $2.55 per million output tokens, 1.8x apart.
Context window
GPT-5.4 Mini 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 MiniBarsQwen3.8 27BTies
Coding1111 tie
Intelligence02
Agentic work05
Reasoning011
Math12
Knowledge25
General126
All shared boards5621 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index111
Coding benchmarks for GPT-5.4 Mini and Qwen3.8 27B
BenchmarkGPT-5.4 MiniQwen3.8 27BLeader
LiveBench codingNot measured86.8%Only Qwen3.8 27B measured
LMArena WebDev13971593Qwen3.8 27B
AA Coding Index56.168.1Qwen3.8 27B
LiveCodeBench (Vals AI)81.5%84.0%Qwen3.8 27B
SWE-bench Verified (Vals AI)73.0%86.0%Qwen3.8 27B
Terminal-Bench 4 (Vals AI)2.5%Not measuredOnly GPT-5.4 Mini measured
Vibe Code Bench (Vals AI)48.0%64.8%Qwen3.8 27B
Code migration (Vals AI)12.9%14.2%Qwen3.8 27B
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)Not measured39.1%Only Qwen3.8 27B measured
Terminal-Bench 2.1 (Vals AI)54.7%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
SciCode52.1%46.6%GPT-5.4 Mini
Terminal-Bench Hard (Artificial Analysis run)52.3%Not measuredOnly GPT-5.4 Mini measured
FrontierCode27.0%Not measuredOnly GPT-5.4 Mini measured
WeirdML60.3%Not measuredOnly GPT-5.4 Mini measured
ALE-Bench1188.6Not measuredOnly GPT-5.4 Mini measured
LMArena Text: coding14381483Qwen3.8 27B
LMArena Text: software and IT14361478Qwen3.8 27B
LMArena WebDev: React13861602Qwen3.8 27B
LMArena WebDev: HTML14191570Qwen3.8 27B
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-5.4 Mini and Qwen3.8 27B
BenchmarkGPT-5.4 MiniQwen3.8 27BLeader
AA Intelligence Index24.133.7Qwen3.8 27B
Epoch Capabilities Index148.7151.7Qwen3.8 27B
Agentic workLike-for-likePublic boards, shown as published, kept out of the index05
Agentic work benchmarks for GPT-5.4 Mini and Qwen3.8 27B
BenchmarkGPT-5.4 MiniQwen3.8 27BLeader
AA Agentic Index17.945.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)45.4%48.5%Qwen3.8 27B
Tax Agent Bench (Vals AI)8.8%30.9%Qwen3.8 27B
Legal Research Bench (Vals AI)12.5%36.1%Qwen3.8 27B
Excel Modeling Benchmark (Vals AI)45.4%59.7%Qwen3.8 27B
Terminal-Bench-Science (Vals AI)Not measured0.0%Only Qwen3.8 27B measured
τ²-Bench Telecom83.3%Not measuredOnly GPT-5.4 Mini measured
APEX-AgentsNot measured47.5%Only Qwen3.8 27B measured
DeepResearch Bench36.3%Not measuredOnly GPT-5.4 Mini measured
Neither model has a result on the other 29 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index011
Reasoning benchmarks for GPT-5.4 Mini and Qwen3.8 27B
BenchmarkGPT-5.4 MiniQwen3.8 27BLeader
GPQA Diamond83.1%88.9%Qwen3.8 27B
LiveBench reasoningNot measured80.0%Only Qwen3.8 27B measured
MMMU Pro (Vals AI)79.3%83.9%Qwen3.8 27B
GPQA Diamond (Artificial Analysis run)87.5%90.5%Qwen3.8 27B
Humanity's Last Exam (Artificial Analysis run)28.1%33.9%Qwen3.8 27B
GPQA Diamond (Epoch AI run)86.9%Not measuredOnly GPT-5.4 Mini measured
ARC-AGI63.7%87.5%Qwen3.8 27B
ARC-AGI-218.9%42.4%Qwen3.8 27B
Chess puzzles23.0%Not measuredOnly GPT-5.4 Mini measured
Mystery game puzzles11.0%Not measuredOnly GPT-5.4 Mini measured
LMArena Text: hard prompts14241459Qwen3.8 27B
LMArena Text: expert14351479Qwen3.8 27B
LMArena Text: hard prompts in English14201461Qwen3.8 27B
LMArena Vision: diagrams12661285Qwen3.8 27B
LMArena Vision: homework12851295Qwen3.8 27B
Kagi LLM Benchmark37.9%Not measuredOnly GPT-5.4 Mini measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index12
Math benchmarks for GPT-5.4 Mini and Qwen3.8 27B
BenchmarkGPT-5.4 MiniQwen3.8 27BLeader
AIME95.6%Not measuredOnly GPT-5.4 Mini measured
OTIS Mock AIME88.9%Not measuredOnly GPT-5.4 Mini measured
FrontierMath, tiers 1 to 351.2%Not measuredOnly GPT-5.4 Mini measured
FrontierMath, tier 49.8%Not measuredOnly GPT-5.4 Mini measured
ProofBench21.0%16.0%GPT-5.4 Mini
LMArena Text: math14181455Qwen3.8 27B
LMArena Text: mathematical work14291458Qwen3.8 27B
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index25
Knowledge benchmarks for GPT-5.4 Mini and Qwen3.8 27B
BenchmarkGPT-5.4 MiniQwen3.8 27BLeader
MMLU Pro84.5%84.3%GPT-5.4 Mini
LegalBench (Vals AI)Not measured82.4%Only Qwen3.8 27B measured
CaseLaw (Vals AI)51.7%Not measuredOnly GPT-5.4 Mini measured
CorpFin (Vals AI)60.9%Not measuredOnly GPT-5.4 Mini measured
TaxEval (Vals AI)71.2%70.8%GPT-5.4 Mini
MortgageTax (Vals AI)63.5%64.9%Qwen3.8 27B
MedCode (Vals AI)Not measured28.7%Only Qwen3.8 27B measured
SimpleQA Verified29.4%Not measuredOnly GPT-5.4 Mini measured
LMArena Text: science14171467Qwen3.8 27B
LMArena Text: medicine and healthcare13951437Qwen3.8 27B
LMArena Text: legal and government14141447Qwen3.8 27B
LMArena Text: business and finance14181438Qwen3.8 27B
Neither model has a result on the other 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Web design benchmarks for GPT-5.4 Mini and Qwen3.8 27B
BenchmarkGPT-5.4 MiniQwen3.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 index126
General benchmarks for GPT-5.4 Mini and Qwen3.8 27B
BenchmarkGPT-5.4 MiniQwen3.8 27BLeader
LiveBench data analysisNot measured76.6%Only Qwen3.8 27B measured
SAGE (Vals AI)50.8%52.4%Qwen3.8 27B
MedScribe (Vals AI)Not measured83.8%Only Qwen3.8 27B measured
Vals Multimodal Index54.2%Not measuredOnly GPT-5.4 Mini measured
IFBench73.3%Not measuredOnly GPT-5.4 Mini measured
Long context reasoning (AA-LCR)77.0%82.0%Qwen3.8 27B
DTBench80.0%88.0%Qwen3.8 27B
LMCA40.8%41.4%Qwen3.8 27B
Surface Evolver BenchNot measured45.0%Only Qwen3.8 27B measured
LMArena Text14121440Qwen3.8 27B
LMArena Text: instruction following14051436Qwen3.8 27B
LMArena Text: creative writing13701383Qwen3.8 27B
LMArena Vision12451269Qwen3.8 27B
LMArena Text: English14121448Qwen3.8 27B
LMArena Text: non-English14051428Qwen3.8 27B
LMArena Text: Chinese14461501Qwen3.8 27B
LMArena Text: German14081443Qwen3.8 27B
LMArena Text: Japanese13751387Qwen3.8 27B
LMArena Text: Korean13701384Qwen3.8 27B
LMArena Text: French14411465Qwen3.8 27B
LMArena Text: Spanish14051449Qwen3.8 27B
LMArena Text: Russian14171415GPT-5.4 Mini
LMArena Text: Polish14151439Qwen3.8 27B
LMArena Text: multi-turn14291440Qwen3.8 27B
LMArena Text: longer queries14081448Qwen3.8 27B
LMArena Text: writing and language13931405Qwen3.8 27B
LMArena Text: entertainment and media13731393Qwen3.8 27B
LMArena Vision: English12441267Qwen3.8 27B
LMArena Vision: Chinese12861326Qwen3.8 27B
LMArena Vision: reading text12531281Qwen3.8 27B
LMArena Vision: humor12351235Qwen3.8 27B
LMArena Vision: recognizing things1218Not measuredOnly GPT-5.4 Mini measured
LMArena Vision: creative writing12221237Qwen3.8 27B
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-5.4 Mini and Qwen3.8 27B
BenchmarkGPT-5.4 MiniQwen3.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 Mini$0.0030Fits in one request
Qwen3.8 27B$0.0017Fits in one request

Qwen3.8 27B costs less

Repository review

50K input + 3K output tokens

GPT-5.4 Mini$0.051Fits in one request
Qwen3.8 27B$0.029Fits in one request

Qwen3.8 27B costs less

Agent loop

200K input + 10K output tokens

GPT-5.4 Mini$0.195Fits 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-5.4 Mini and Qwen3.8 27B
SpecificationOpenAI GPT-5.4 MiniQwen3.8 27B
MakerOpenAIQwen
WeightsNo public weights listedOpen weights
ReleasedMarch 17, 2026August 14, 2026
Context window400K1M
Input $/Mtok$0.75$0.425
Output $/Mtok$4.50$2.55
Coding index35.874.2
Independent measurements behind it54
Cost per solved task$0.70$1.26
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick Qwen3.8 27B for coding: it scores 74.2 on the Vibe Coding Index against 35.8 for GPT-5.4 Mini, though on 4 benchmarks against 5. Pick GPT-5.4 Mini for a lower cost per solved task ($0.70 against $1.26) and work measured by SciCode or ProofBench, where it leads.

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

GPT-5.4 Mini costs $0.75 per million input tokens and $4.50 per million output tokens; Qwen3.8 27B costs $0.425 and $2.55. Per solved SWE-bench Verified task, GPT-5.4 Mini costs $0.70 and Qwen3.8 27B $1.26.

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

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

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

68 benchmarks have a result for both models as of October 22, 2026. GPT-5.4 Mini's coding index rests on 5 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-mini-vs-qwen3-8-27b" title="GPT-5.4 Mini 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-mini-vs-qwen3-8-27b">LLMBenchmark.ai, GPT-5.4 Mini vs Qwen3.8 27B</a></p>