LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GLM 5.2 vs Qwen3.8 27B

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

GLM 5.2Z.ai
Coding
57.7
Overall
33.7
Output $/M
$7.00
48
Qwen3.8 27BQwen
Coding
73.6
Overall
33.7
Output $/M
$1.35
13
vs boards won of 62 shared, 1 tied

Decision reading

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

Pick GLM 5.2 when a solved task costs $0.86 against $1.26, or when the context window is larger, 1.05M against 1M tokens.

Shared results
62
GLM 5.2 only
35
Qwen3.8 27B only
23
Like-for-like categories
7 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
GLM 5.2 57.7 from 1 benchmark, Qwen3.8 27B 73.6 from 2 benchmarks.
Widest category
Math, 9.7 points apart on average over 3 shared benchmarks.
Widest single gap
Code migration (Vals AI): GLM 5.2 37.9% against Qwen3.8 27B 14.2%, 23.7 points apart on a 0 to 100 scale.
Output price
GLM 5.2 $7.00 against Qwen3.8 27B $1.35 per million output tokens, 5.2x apart.
Context window
GLM 5.2 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
CategoryGLM 5.2BarsQwen3.8 27BTies
Coding104
Intelligence101 tie
Agentic work23
Reasoning44
Math30
Knowledge80
General202
All shared boards48131 tie
CodingLike-for-likeFour 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 measured86.8%Only Qwen3.8 27B measured
LMArena WebDev16041593GLM 5.2
AA Coding Index68.868.1GLM 5.2
LiveCodeBench (Vals AI)69.5%84.0%Qwen3.8 27B
SWE-bench Verified (Vals AI)82.8%86.0%Qwen3.8 27B
Vibe Code Bench (Vals AI)64.0%64.8%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
FrontierCode24.5%Not measuredOnly GLM 5.2 measured
WeirdML70.1%Not measuredOnly GLM 5.2 measured
ALE-Bench1047.0Not measuredOnly GLM 5.2 measured
LMArena Text: coding14871483GLM 5.2
LMArena Text: software and IT14861478GLM 5.2
LMArena WebDev: React16171602GLM 5.2
LMArena WebDev: HTML15651570Qwen3.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 index10
Intelligence benchmarks for GLM 5.2 and Qwen3.8 27B
BenchmarkGLM 5.2Qwen3.8 27BLeader
AA Intelligence Index33.733.7Tie
Epoch Capabilities Index151.9151.7GLM 5.2
Agentic workLike-for-likePublic boards, shown as published, kept out of the index23
Agentic work benchmarks for GLM 5.2 and Qwen3.8 27B
BenchmarkGLM 5.2Qwen3.8 27BLeader
AA Agentic Index38.445.8Qwen3.8 27B
Design Arena: agents building web apps1222Not measuredOnly GLM 5.2 measured
Design Arena: agents building full-stack apps1241Not measuredOnly GLM 5.2 measured
Design Arena: agents building mobile apps1160Not measuredOnly GLM 5.2 measured
Design Arena: agents building Android apps1184Not measuredOnly GLM 5.2 measured
Design Arena: agents building Godot games1142Not measuredOnly GLM 5.2 measured
Design Arena: agents building games1206Not measuredOnly GLM 5.2 measured
Design Arena: HTML slides1175Not measuredOnly GLM 5.2 measured
Design Arena: PowerPoint slides1195Not measuredOnly GLM 5.2 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
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
PostTrainBench31.7%Not measuredOnly GLM 5.2 measured
Vending-Bench 2$8,314Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 17 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index44
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
GPQA Diamond (Epoch AI run)91.9%Not measuredOnly GLM 5.2 measured
ARC-AGI77.0%87.5%Qwen3.8 27B
ARC-AGI-222.8%42.4%Qwen3.8 27B
SimpleBench58.8%Not measuredOnly GLM 5.2 measured
Chess puzzles22.0%Not measuredOnly GLM 5.2 measured
Mystery game puzzles19.0%Not measuredOnly GLM 5.2 measured
EBR-bench9.5%Not measuredOnly GLM 5.2 measured
LMArena Text: hard prompts14811459GLM 5.2
LMArena Text: expert14871479GLM 5.2
LMArena Text: hard prompts in English14811461GLM 5.2
LMArena Vision: diagramsNot measured1285Only Qwen3.8 27B measured
LMArena Vision: homeworkNot measured1295Only Qwen3.8 27B measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for GLM 5.2 and Qwen3.8 27B
BenchmarkGLM 5.2Qwen3.8 27BLeader
OTIS Mock AIME86.4%Not measuredOnly GLM 5.2 measured
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: math14831455GLM 5.2
LMArena Text: mathematical work14891458GLM 5.2
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index80
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
SimpleQA Verified34.2%Not measuredOnly GLM 5.2 measured
LMArena Text: science14891467GLM 5.2
LMArena Text: medicine and healthcare14751437GLM 5.2
LMArena Text: legal and government14861447GLM 5.2
LMArena Text: business and finance14511438GLM 5.2
Neither model has a result on the other 6 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: websites1285Not measuredOnly GLM 5.2 measured
Design Arena: UI components1296Not measuredOnly GLM 5.2 measured
Design Arena: game dev1268Not measuredOnly GLM 5.2 measured
Design Arena: data viz1285Not measuredOnly GLM 5.2 measured
Design Arena: 3D1288Not measuredOnly GLM 5.2 measured
Design Arena: all code categories1288Not measuredOnly GLM 5.2 measured
Design Arena: SVG1214Not measuredOnly GLM 5.2 measured
Design Arena: ASCII art1190Not measuredOnly GLM 5.2 measured
LiveBench designNot measured75.9%Only Qwen3.8 27B measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index202
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
SAGE (Vals AI)Not measured52.4%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
DTBench93.6%88.0%GLM 5.2
LMCA45.8%41.4%GLM 5.2
Surface Evolver Bench55.6%45.0%GLM 5.2
LMArena Text14701440GLM 5.2
LMArena Text: instruction following14661436GLM 5.2
LMArena Text: creative writing14631383GLM 5.2
LMArena VisionNot measured1269Only Qwen3.8 27B measured
LMArena Text: English14751448GLM 5.2
LMArena Text: non-English14591428GLM 5.2
LMArena Text: Chinese15221501GLM 5.2
LMArena Text: German14701443GLM 5.2
LMArena Text: Japanese14501387GLM 5.2
LMArena Text: Korean14401384GLM 5.2
LMArena Text: French14791465GLM 5.2
LMArena Text: Spanish14781449GLM 5.2
LMArena Text: Russian14681415GLM 5.2
LMArena Text: Polish14561439GLM 5.2
LMArena Text: multi-turn14691440GLM 5.2
LMArena Text: longer queries14801448GLM 5.2
LMArena Text: writing and language14631405GLM 5.2
LMArena Text: entertainment and media14501393GLM 5.2
LMArena Vision: EnglishNot measured1267Only Qwen3.8 27B measured
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 15 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.0035Fits in one request
Qwen3.8 27B$0.0007Fits in one request

Qwen3.8 27B costs less

Repository review

50K input + 3K output tokens

GLM 5.2$0.023Fits in one request
Qwen3.8 27B$0.0060Fits in one request

Qwen3.8 27B costs less

Agent loop

200K input + 10K output tokens

GLM 5.2$0.077Fits 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 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.05M1M
Input $/Mtok$0.0341$0.04
Output $/Mtok$7.00$1.35
Coding index57.773.6
Independent measurements behind it12
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 73.6 on the Vibe Coding Index against 57.7 for GLM 5.2. Pick GLM 5.2 when a solved task costs $0.86 against $1.26, or when the context window is larger, 1.05M against 1M tokens.

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

GLM 5.2 costs $0.0341 per million input tokens and $7.00 per million output tokens; Qwen3.8 27B costs $0.04 and $1.35. 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 1M.

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

62 benchmarks have a result for both models as of October 21, 2026. GLM 5.2'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