Enter opens the highlighted result. Esc closes.

GLM 5.2 vs Qwen3.8 27B

Qwen3.8 27B leads GLM 5.2 on coding, 72.2 to 59.7 on the Vibe Coding Index, and Qwen3.8 27B costs 1.7x less per output token ($2.55 vs $4.40 per million). Updated December 6, 2026; 69 benchmarks have a result for both.

GLM 5.2Z.ai
Coding
59.7
Overall
65.2
Output $/M
$4.40
54
Qwen3.8 27BQwen
Coding
72.2
Overall
55.0
Output $/M
$2.55
15
vs boards won of 69 shared

GLM 5.2 or Qwen3.8 27B: which to pick

Pick Qwen3.8 27B for coding: it scores 72.2 on the Vibe Coding Index against 59.7 for GLM 5.2.

Pick GLM 5.2 for a lower cost per solved task ($0.86 against $1.26) and a larger context window (1.05M against 1.02M tokens).

Shared results
69
GLM 5.2 only
42
Qwen3.8 27B only
27
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
GLM 5.2 59.7 from 3 benchmarks, Qwen3.8 27B 72.2 from 3 benchmarks.
Widest category
Math, 7.5 points apart on average over 4 shared benchmarks.
Widest single gap
SimpleQA Verified: GLM 5.2 34.2% against Qwen3.8 27B 9.7%, 24.5 points apart on a 0 to 100 scale.
Output price
GLM 5.2 $4.40 against Qwen3.8 27B $2.55 per million output tokens, 1.7x apart.
Context window
GLM 5.2 takes 1.05M tokens, Qwen3.8 27B 1.02M.

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
CategoryGLM 5.2BarsQwen3.8 27BTies
Coding104
Intelligence10
Agentic work22
Reasoning85
Math31
Knowledge100
General203
All shared boards5415
CodingLike-for-likeSix of these boards feed the Vibe Coding Index104
Coding benchmarks for GLM 5.2 and Qwen3.8 27B
BenchmarkGLM 5.2Qwen3.8 27BLeader
LiveBench codingNot measured69.3%Only Qwen3.8 27B measured
LMArena WebDev16081590GLM 5.2
LiveCodeBench (Vals AI)69.5%84.0%Qwen3.8 27B
SWE-bench Verified (Vals AI)82.8%86.0%Qwen3.8 27B
Code migration (Vals AI)37.9%14.2%GLM 5.2
ProgramBench (Vals AI)0.5%0.0%GLM 5.2
IOI (Vals AI)Not measured39.1%Only Qwen3.8 27B measured
Terminal-Bench 2.1 (Vals AI)67.8%58.4%GLM 5.2
SkillsBench (Vals AI)45.1%38.1%GLM 5.2
CyberBench (Vals AI)Not measured67.8%Only Qwen3.8 27B measured
SciCode51.2%46.6%GLM 5.2
Terminal-Bench Hard (Artificial Analysis run)50.8%Not measuredOnly GLM 5.2 measured
Terminal-Bench 4.0 (Artificial Analysis run)1.0%5.6%Qwen3.8 27B
FrontierCode 2.0Not measured14.9%Only Qwen3.8 27B measured
FrontierCode24.5%Not measuredOnly GLM 5.2 measured
WeirdML70.1%Not measuredOnly GLM 5.2 measured
MirrorCode36.7%Not measuredOnly GLM 5.2 measured
ALE-Bench1047.0Not measuredOnly GLM 5.2 measured
LMArena Text: coding14881481GLM 5.2
LMArena Text: software and IT14871474GLM 5.2
LMArena WebDev: React16211595GLM 5.2
LMArena WebDev: HTML15671572Qwen3.8 27B
LMArena WebDev: from an imageNot measured1574Only Qwen3.8 27B measured
SWE Atlas: Codebase QnA48.1%Not measuredOnly GLM 5.2 measured
SWE Atlas: Refactoring42.4%Not measuredOnly GLM 5.2 measured
SWE Atlas: Test Writing41.5%Not measuredOnly GLM 5.2 measured
GameBench 249.943.5GLM 5.2
Terminal-Bench 3.04.6%Not measuredOnly GLM 5.2 measured
ProgramBench0.0%Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 23 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GLM 5.2 and Qwen3.8 27B
BenchmarkGLM 5.2Qwen3.8 27BLeader
AA Intelligence IndexNot measured20.0Only Qwen3.8 27B measured
Epoch Capabilities Index153.0152.6GLM 5.2
Agentic workLike-for-likePublic boards, shown as published, kept out of the index22
Agentic work benchmarks for GLM 5.2 and Qwen3.8 27B
BenchmarkGLM 5.2Qwen3.8 27BLeader
Design Arena: agents building web apps1184Not measuredOnly GLM 5.2 measured
Design Arena: agents building full-stack apps1288Not measuredOnly GLM 5.2 measured
Design Arena: agents building mobile apps1152Not measuredOnly GLM 5.2 measured
Design Arena: agents building Android apps1162Not measuredOnly GLM 5.2 measured
Design Arena: agents building Godot games1142Not measuredOnly GLM 5.2 measured
Design Arena: agents building games1156Not measuredOnly GLM 5.2 measured
Design Arena: HTML slides1077Not measuredOnly GLM 5.2 measured
Design Arena: PowerPoint slides1157Not measuredOnly GLM 5.2 measured
Design Arena: spreadsheets1123Not measuredOnly GLM 5.2 measured
LiveBench researchNot measured61.3%Only Qwen3.8 27B measured
LiveBench browserNot measured24.2%Only Qwen3.8 27B measured
LiveBench long agenticNot measured15.9%Only Qwen3.8 27B measured
SREBench (Vals AI)0.0%Not measuredOnly GLM 5.2 measured
Finance Agent (Vals AI)49.7%48.5%GLM 5.2
Tax Agent Bench (Vals AI)Not measured30.9%Only Qwen3.8 27B measured
Legal Research Bench (Vals AI)31.3%36.1%Qwen3.8 27B
Excel Modeling Benchmark (Vals AI)61.5%59.7%GLM 5.2
Terminal-Bench-Science (Vals AI)Not measured0.0%Only Qwen3.8 27B measured
τ²-Bench Telecom99.1%Not measuredOnly GLM 5.2 measured
APEX-Agents45.2%47.5%Qwen3.8 27B
PostTrainBench30.4%Not measuredOnly GLM 5.2 measured
Vending-Bench 2$8,314Not measuredOnly GLM 5.2 measured
MCP Atlas77.8%Not measuredOnly GLM 5.2 measured
Toolathlon-Verified59.9%Not measuredOnly GLM 5.2 measured
τ³-Banking37.1%Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 19 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index85
Reasoning benchmarks for GLM 5.2 and Qwen3.8 27B
BenchmarkGLM 5.2Qwen3.8 27BLeader
GPQA Diamond85.6%88.9%Qwen3.8 27B
LiveBench reasoningNot measured80.0%Only Qwen3.8 27B measured
MMMU Pro (Vals AI)Not measured83.9%Only Qwen3.8 27B measured
GPQA Diamond (Artificial Analysis run)89.5%90.5%Qwen3.8 27B
Humanity's Last Exam (Artificial Analysis run)41.1%33.9%GLM 5.2
HLE-Diamond (Artificial Analysis run)17.7%15.3%GLM 5.2
CritPt v2, hard subset (Artificial Analysis run)Not measured16.5%Only Qwen3.8 27B measured
GPQA Diamond (Epoch AI run)91.9%89.2%GLM 5.2
ARC-AGI77.0%87.5%Qwen3.8 27B
ARC-AGI-222.8%42.4%Qwen3.8 27B
SimpleBench58.8%60.2%Qwen3.8 27B
Chess puzzles22.0%18.0%GLM 5.2
Mystery game puzzles19.0%17.0%GLM 5.2
EBR-bench9.5%Not measuredOnly GLM 5.2 measured
LMArena Text: hard prompts14811458GLM 5.2
LMArena Text: expert14881478GLM 5.2
LMArena Text: hard prompts in English14811464GLM 5.2
LMArena Vision: diagramsNot measured1282Only Qwen3.8 27B measured
LMArena Vision: homeworkNot measured1290Only Qwen3.8 27B measured
Kagi LLM Benchmark62.6%Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index31
Math benchmarks for GLM 5.2 and Qwen3.8 27B
BenchmarkGLM 5.2Qwen3.8 27BLeader
OTIS Mock AIME86.4%88.3%Qwen3.8 27B
FrontierMath, tiers 1 to 359.2%Not measuredOnly GLM 5.2 measured
FrontierMath, tier 429.3%Not measuredOnly GLM 5.2 measured
ProofBench35.0%16.0%GLM 5.2
LMArena Text: math14851458GLM 5.2
LMArena Text: mathematical work14901461GLM 5.2
MathArena21.1%Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index100
Knowledge benchmarks for GLM 5.2 and Qwen3.8 27B
BenchmarkGLM 5.2Qwen3.8 27BLeader
MMLU Pro86.7%84.3%GLM 5.2
LegalBench (Vals AI)84.1%82.4%GLM 5.2
CorpFin (Vals AI)66.1%Not measuredOnly GLM 5.2 measured
TaxEval (Vals AI)73.3%70.8%GLM 5.2
MortgageTax (Vals AI)Not measured64.9%Only Qwen3.8 27B measured
MedCode (Vals AI)40.8%28.7%GLM 5.2
AA-Omniscience0.6-6.4GLM 5.2
SimpleQA Verified34.2%9.7%GLM 5.2
GeoBenchNot measured38.0%Only Qwen3.8 27B measured
LMArena Text: science14891465GLM 5.2
LMArena Text: medicine and healthcare14761439GLM 5.2
LMArena Text: legal and government14901447GLM 5.2
LMArena Text: business and finance14501441GLM 5.2
Neither model has a result on the other 8 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for GLM 5.2 and Qwen3.8 27B
BenchmarkGLM 5.2Qwen3.8 27BLeader
Design Arena: websites1323Not measuredOnly GLM 5.2 measured
Design Arena: UI components1271Not measuredOnly GLM 5.2 measured
Design Arena: game dev1234Not measuredOnly GLM 5.2 measured
Design Arena: data viz1275Not measuredOnly GLM 5.2 measured
Design Arena: 3D1247Not measuredOnly GLM 5.2 measured
Design Arena: all code categories1328Not measuredOnly GLM 5.2 measured
Design Arena: SVG1245Not measuredOnly GLM 5.2 measured
Design Arena: ASCII art1174Not measuredOnly GLM 5.2 measured
LiveBench designNot measured72.4%Only Qwen3.8 27B measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index203
General benchmarks for GLM 5.2 and Qwen3.8 27B
BenchmarkGLM 5.2Qwen3.8 27BLeader
LiveBench data analysisNot measured76.6%Only Qwen3.8 27B measured
MedScribe (Vals AI)83.5%83.8%Qwen3.8 27B
IFBench73.3%Not measuredOnly GLM 5.2 measured
Long context reasoning (AA-LCR)78.3%82.0%Qwen3.8 27B
GDPval-AA13831430Qwen3.8 27B
DTBench93.6%88.0%GLM 5.2
LMCA45.8%41.4%GLM 5.2
Surface Evolver Bench55.6%45.0%GLM 5.2
Furniture assemblyNot measured15.0%Only Qwen3.8 27B measured
LMArena Text14701438GLM 5.2
LMArena Text: instruction following14671434GLM 5.2
LMArena Text: creative writing14601379GLM 5.2
LMArena VisionNot measured1274Only Qwen3.8 27B measured
LMArena Text: English14751448GLM 5.2
LMArena Text: non-English14581425GLM 5.2
LMArena Text: Chinese15231491GLM 5.2
LMArena Text: German14671439GLM 5.2
LMArena Text: Japanese14521389GLM 5.2
LMArena Text: Korean14301400GLM 5.2
LMArena Text: French14771465GLM 5.2
LMArena Text: Spanish14801445GLM 5.2
LMArena Text: Russian14661411GLM 5.2
LMArena Text: Polish14591448GLM 5.2
LMArena Text: multi-turn14701439GLM 5.2
LMArena Text: longer queries14791446GLM 5.2
LMArena Text: writing and language14621401GLM 5.2
LMArena Text: entertainment and media14481390GLM 5.2
LMArena Vision: EnglishNot measured1277Only Qwen3.8 27B measured
LMArena Vision: ChineseNot measured1326Only Qwen3.8 27B measured
LMArena Vision: reading textNot measured1282Only Qwen3.8 27B measured
LMArena Vision: humorNot measured1238Only Qwen3.8 27B measured
LMArena Vision: creative writingNot measured1240Only Qwen3.8 27B measured
EQ-Bench 41208Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 16 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.2 and Qwen3.8 27B
BenchmarkGLM 5.2Qwen3.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

GLM 5.2$0.0036Fits in one request
Qwen3.8 27B$0.0017Fits in one request

Qwen3.8 27B costs less

Repository review

50K input + 3K output tokens

GLM 5.2$0.083Fits in one request
Qwen3.8 27B$0.029Fits in one request

Qwen3.8 27B costs less

Agent loop

200K input + 10K output tokens

GLM 5.2$0.324Fits 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 GLM 5.2 and Qwen3.8 27B
SpecificationZ.ai GLM 5.2Qwen3.8 27B
MakerZ.aiQwen
WeightsOpen weightsOpen weights
ReleasedJune 16, 2026August 14, 2026
Context window1.05M1.02M
Input $/Mtok$1.40$0.425
Output $/Mtok$4.40$2.55
Coding index59.772.2
Independent measurements behind it33
Cost per solved task$0.86$1.26
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.2 better than Qwen3.8 27B for coding?

Pick Qwen3.8 27B for coding: it scores 72.2 on the Vibe Coding Index against 59.7 for GLM 5.2. Pick GLM 5.2 for a lower cost per solved task ($0.86 against $1.26) and a larger context window (1.05M against 1.02M tokens).

Which is cheaper, GLM 5.2 or Qwen3.8 27B?

GLM 5.2 costs $1.40 per million input tokens and $4.40 per million output tokens; Qwen3.8 27B costs $0.425 and $2.55. Per solved SWE-bench Verified task, GLM 5.2 costs $0.86 and Qwen3.8 27B $1.26.

Which has the bigger context window, GLM 5.2 or Qwen3.8 27B?

GLM 5.2, with 1.05M tokens against 1.02M.

How many benchmarks is the GLM 5.2 vs Qwen3.8 27B comparison based on?

69 benchmarks have a result for both models as of December 6, 2026. GLM 5.2's coding index rests on 3 independent benchmarks and Qwen3.8 27B's on 3. 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/glm-5-2-vs-qwen3-8-27b" title="GLM 5.2 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/glm-5-2-vs-qwen3-8-27b">LLMBenchmark.ai, GLM 5.2 vs Qwen3.8 27B</a></p>