Skip to main content

GLM-5.2vs.Qwen 3.8 27B

Which one is better?

GLM-5.2 is clearly ahead in the overall index, but costs 35 times (input) and 1.8 times (output) as much per token.

IntelligenceOverall index, 0 to 100 · higher is better
23

GLM-5.2

Rank 41 to 47

11

Qwen 3.8 27B

Rank 44 to 57

SpeedTokens per second · higher is better
96

GLM-5.2

fairly slow

40

Qwen 3.8 27B

slow

PriceDollars per 1M tokens · lower is better
$2.15

GLM-5.2

fairly expensive

$0.66

Qwen 3.8 27B

fairly cheap

GLM-5.2

Subscription

No Z.ai subscription includes this model. Through other providers from ≈ €1.06 a month (Command Code Go, with limited credits). 30 plans in Germany.

Via API

$1.40 input, $4.40 output per 1M tokens according to the provider; the price index has listed it at $1.30 and $4.40 since Oct 26, 2026.

Note
There is a successor: GLM-5.3 (rank 23 to 29, same price).

Qwen 3.8 27B

Subscription

No Alibaba subscription includes this model. Through other providers from ≈ €1.06 a month (Command Code Go, with limited credits). 10 plans in Germany.

Via API

$0.04 input, $2.50 output per 1M tokens according to the provider; the price index has listed it at $0.42 and $3 since Oct 27, 2026.

Overall index with data through Oct 29, 2026 · Prices from Oct 29, 2026 · Speed: measured by Artificial Analysis · Subscriptions as of Oct 24, 2026 · Subscription prices incl. VAT

Where is the difference?

Values from 0 to 100 per task area. We only name a winner when the gap is large enough and there are enough tests.

GLM-5.2 ahead: 3Qwen 3.8 27B ahead: 0level: 5too little data: 2of 10 areas

GLM-5.2Qwen 3.8 27B0 to 100, higher is better
Areas in the overall index
CodinglevelGLM-5.2: 23Qwen 3.8 27B: 13
ReasoninglevelGLM-5.2: 22Qwen 3.8 27B: 6
MathematicsGLM-5.2 aheadGLM-5.2: 29Qwen 3.8 27B: 8
KnowledgeGLM-5.2 aheadGLM-5.2: 13Qwen 3.8 27B: 5
AgentslevelGLM-5.2: 24Qwen 3.8 27B: 21
Generalonly GLM-5.2 has a scoreGLM-5.2: 20Qwen 3.8 27B: not enough data
Multimodalonly Qwen 3.8 27B has a scoreGLM-5.2: not enough dataQwen 3.8 27B: 13
Specialist fields
FinancelevelGLM-5.2: 34Qwen 3.8 27B: 34
LegallevelGLM-5.2: 28Qwen 3.8 27B: 23
HealthGLM-5.2 aheadGLM-5.2: 19Qwen 3.8 27B: 3
Show 1 more areas that do not count toward the overall index
GLM-5.2Qwen 3.8 27B0 to 100, higher is better
Cybersecurityonly Qwen 3.8 27B has a scoreGLM-5.2: not enough dataQwen 3.8 27B: 19

See for yourself: same task, one attempt

SVG short test

One SVG task with the same fixed settings for every model, without hidden thinking.

Shared test round: 43b8c5c46830

GLM-5.2

GLM-5.2: SVG short test
Test run: Oct 14, 2026 · z-ai/fp8
Test detailsAPI reports 0 reasoning tokensAPI model: z-ai/glm-5.2826 output tokens

Qwen 3.8 27B

Qwen 3.8 27B: SVG short test
Test run: Oct 14, 2026 · alibaba
Test detailsAPI reports 0 reasoning tokensAPI model: qwen/qwen3.8-27b865 output tokens
Earlier tests

Pelican on a bicycle

A community classic for free-form SVG drawing.

GLM-5.2

Output withheld for safety

Reasoning (requested): high

Current attempt
Run date
Oct 5, 2026
API provider
openrouter
Requested API model
z-ai/glm-5.2
API model reported in response
z-ai/glm-5.2
Reasoning setting
high
Pinned endpoint
Z.AI | z-ai/glm-5.2-20260616
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Failed
Response time
31.4 s

Not yet visually reviewed. A successful recording does not confirm correct physics or full compliance with the prompt.

Earlier attempts (3)
  • Oct 2, 2026API request failedReasoning setting: high
  • Oct 1, 2026API request failedReasoning setting: high
  • Sep 7, 2026API request failedReasoning setting: high

Qwen 3.8 27B

Not tested yet

Prompt and test conditions

Generate an SVG of a pelican riding a bicycle

Token limit including reasoning: 8,192 tokens

Task origin (Simon Willison)

All data side by side

The better value is bold. For the overall index only when the gap is clear.

MetricGLM-5.2Qwen 3.8 27B
Intelligence
Overall index0 to 100, higher is better2311
RankRank 41 to 47 of 95Rank 44 to 57 of 95
Price per 1M tokens
Inputwhat you send$1.40$0.04
Outputwhat the model writes$4.40$2.50
Speed
Tokens per second9640
Technical
Context windowhow much text the model reads at once1 M tokens≈ 1,500 A4 pages262,144 tokens≈ 390 A4 pages
Knowledge cutoffn/an/a
ReleasedJun 16, 2026Aug 14, 2026
AvailabilityOpen SourceActive
Open weightsyesyes

Prices without caching or batch discounts · Page count as a rule of thumb from Artificial Analysis

Shared benchmarks

Single results from the same benchmark version, task and metric. A value is bold only with the same test setup and a clear gap.

A: GLM-5.2B: Qwen 3.8 27B

Code MigrationOverall · higher is betterTest setup not documented as identicalGLM-5.2: 37.9%Qwen 3.8 27B: 14.2%Vals AIAs of 10/18/2026
CritPt v2Overall · higher is betterGLM-5.2: 3.1%Qwen 3.8 27B: 0.3%Artificial AnalysisAs of 10/29/2026
EMBOverall · higher is betterTest setup not documented as identicalGLM-5.2: 61.5%Qwen 3.8 27B: 59.7%Vals AIAs of 10/20/2026
Finance Agent (v2)Overall · higher is betterTest setup not documented as identicalGLM-5.2: 49.7%Qwen 3.8 27B: 48.6%Vals AIAs of 10/20/2026
GDPval-AAOverall · higher is betterGLM-5.2: 1,252.33 eloQwen 3.8 27B: 1,082.47 eloArtificial AnalysisAs of 10/29/2026
GPQA DiamondOverall · higher is betterTest setup not documented as identicalGLM-5.2: 85.6%Qwen 3.8 27B: 88.9%Vals AIAs of 09/01/2026
Legal Research BenchOverall · All-pass · higher is betterTest setup not documented as identicalGLM-5.2: 31.3%Qwen 3.8 27B: 36.1%Vals AIAs of 10/26/2026
LegalBenchOverall · higher is betterTest setup not documented as identicalGLM-5.2: 84.1%Qwen 3.8 27B: 82.4%Vals AIAs of 10/13/2026
LiveCodeBenchOverall · higher is betterTest setup not documented as identicalGLM-5.2: 69.5%Qwen 3.8 27B: 84%Vals AIAs of 09/01/2026
MedCodeOverall · higher is betterTest setup not documented as identicalGLM-5.2: 40.8%Qwen 3.8 27B: 28.7%Vals AIAs of 10/13/2026
Show 54 more benchmarks
MedScribeOverall · higher is betterTest setup not documented as identicalGLM-5.2: 83.5%Qwen 3.8 27B: 83.8%Vals AIAs of 10/13/2026
MMLU ProOverall · higher is betterTest setup not documented as identicalGLM-5.2: 86.7%Qwen 3.8 27B: 84.3%Vals AIAs of 09/01/2026
ProgramBenchOverall · higher is betterTest setup not documented as identicalGLM-5.2: 0.5%Qwen 3.8 27B: 0%Vals AIAs of 10/20/2026
SkillsBenchOverall · higher is betterTest setup not documented as identicalGLM-5.2: 45.1%Qwen 3.8 27B: 38.1%Vals AIAs of 09/27/2026
SWE-bench VerifiedOverall · higher is betterTest setup not documented as identicalGLM-5.2: 82.8%Qwen 3.8 27B: 86%Vals AIAs of 09/01/2026
TaxEval v2Overall · higher is betterTest setup not documented as identicalGLM-5.2: 73.3%Qwen 3.8 27B: 70.9%Vals AIAs of 09/01/2026
Terminal-Bench 2.1Overall · higher is betterTest setup not documented as identicalGLM-5.2: 67.8%Qwen 3.8 27B: 58.4%Vals AIAs of 10/01/2026
Vibe Code Bench v1.1Overall · higher is betterTest setup not documented as identicalGLM-5.2: 64%Qwen 3.8 27B: 64.9%Vals AIAs of 10/26/2026
Code MigrationCLI · higher is betterTest setup not documented as identicalGLM-5.2: 27.2%Qwen 3.8 27B: 2.2%Vals AIAs of 10/18/2026
EMBComps · higher is betterTest setup not documented as identicalGLM-5.2: 54.9%Qwen 3.8 27B: 53.3%Vals AIAs of 10/20/2026
Finance Agent (v2)Adjustments · higher is betterTest setup not documented as identicalGLM-5.2: 46.3%Qwen 3.8 27B: 47.3%Vals AIAs of 10/20/2026
GPQA DiamondFew-Shot CoT · higher is betterTest setup not documented as identicalGLM-5.2: 83.3%Qwen 3.8 27B: 88.9%Vals AIAs of 09/01/2026
Legal Research BenchAdministrative / Regulatory · All-pass · higher is betterTest setup not documented as identicalGLM-5.2: 39.4%Qwen 3.8 27B: 45.5%Vals AIAs of 10/26/2026
LegalBenchConclusion Tasks · higher is betterTest setup not documented as identicalGLM-5.2: 88.6%Qwen 3.8 27B: 88.4%Vals AIAs of 10/13/2026
LiveCodeBenchEasy · higher is betterTest setup not documented as identicalGLM-5.2: 97.2%Qwen 3.8 27B: 99.1%Vals AIAs of 09/01/2026
MMLU ProBiology · higher is betterTest setup not documented as identicalGLM-5.2: 94%Qwen 3.8 27B: 91.5%Vals AIAs of 09/01/2026
ProgramBenchAlmost Resolved · higher is betterTest setup not documented as identicalGLM-5.2: 9.5%Qwen 3.8 27B: 1%Vals AIAs of 10/20/2026
SkillsBenchNo Skills · higher is betterTest setup not documented as identicalGLM-5.2: 32.2%Qwen 3.8 27B: 19.1%Vals AIAs of 09/27/2026
SWE-bench Verified<15 min fix · higher is betterTest setup not documented as identicalGLM-5.2: 88.1%Qwen 3.8 27B: 90.2%Vals AIAs of 09/01/2026
TaxEval v2Correctness · higher is betterTest setup not documented as identicalGLM-5.2: 62.1%Qwen 3.8 27B: 60.1%Vals AIAs of 09/01/2026
Terminal-Bench 2.1Easy · higher is betterTest setup not documented as identicalGLM-5.2: 100%Qwen 3.8 27B: 50%Vals AIAs of 10/01/2026
Code MigrationCOBOL · higher is betterTest setup not documented as identicalGLM-5.2: 70%Qwen 3.8 27B: 50%Vals AIAs of 10/18/2026
EMBDataroom · higher is betterTest setup not documented as identicalGLM-5.2: 83.4%Qwen 3.8 27B: 79.7%Vals AIAs of 10/20/2026
Finance Agent (v2)All-Pass · higher is betterTest setup not documented as identicalGLM-5.2: 38%Qwen 3.8 27B: 36.8%Vals AIAs of 10/20/2026
GPQA DiamondZero-Shot CoT · higher is betterTest setup not documented as identicalGLM-5.2: 87.9%Qwen 3.8 27B: 88.9%Vals AIAs of 09/01/2026
Legal Research BenchAdministrative / Regulatory · Weighted partial credit · higher is betterTest setup not documented as identicalGLM-5.2: 86%Qwen 3.8 27B: 88.5%Vals AIAs of 10/26/2026
LegalBenchInterpretation Tasks · higher is betterTest setup not documented as identicalGLM-5.2: 82.2%Qwen 3.8 27B: 82%Vals AIAs of 10/13/2026
LiveCodeBenchHard · higher is betterTest setup not documented as identicalGLM-5.2: 37.1%Qwen 3.8 27B: 65.7%Vals AIAs of 09/01/2026
MMLU ProBusiness · higher is betterTest setup not documented as identicalGLM-5.2: 91.9%Qwen 3.8 27B: 90.2%Vals AIAs of 09/01/2026
ProgramBenchFully Resolved · higher is betterTest setup not documented as identicalGLM-5.2: 0.5%Qwen 3.8 27B: 0%Vals AIAs of 10/20/2026
SkillsBenchWith Skills · higher is betterTest setup not documented as identicalGLM-5.2: 45.1%Qwen 3.8 27B: 38.1%Vals AIAs of 09/27/2026
SWE-bench Verified>4 hours · higher is betterTest setup not documented as identicalGLM-5.2: 66.7%Qwen 3.8 27B: 66.7%Vals AIAs of 09/01/2026
TaxEval v2Stepwise Reasoning · higher is betterTest setup not documented as identicalGLM-5.2: 84.6%Qwen 3.8 27B: 81.6%Vals AIAs of 09/01/2026
Terminal-Bench 2.1Hard · higher is betterTest setup not documented as identicalGLM-5.2: 51.1%Qwen 3.8 27B: 43.3%Vals AIAs of 10/01/2026
Code MigrationCode Quality · higher is betterTest setup not documented as identicalGLM-5.2: 3.981 / 5Qwen 3.8 27B: 4.197 / 5Vals AIAs of 10/18/2026
EMBDCF · higher is betterTest setup not documented as identicalGLM-5.2: 53%Qwen 3.8 27B: 50%Vals AIAs of 10/20/2026
Finance Agent (v2)Comparables · higher is betterTest setup not documented as identicalGLM-5.2: 44.8%Qwen 3.8 27B: 38.9%Vals AIAs of 10/20/2026
Legal Research BenchBusiness & Commercial · All-pass · higher is betterTest setup not documented as identicalGLM-5.2: 27.9%Qwen 3.8 27B: 41.9%Vals AIAs of 10/26/2026
LegalBenchIssue Tasks · higher is betterTest setup not documented as identicalGLM-5.2: 89.5%Qwen 3.8 27B: 90.2%Vals AIAs of 10/13/2026
LiveCodeBenchMedium · higher is betterTest setup not documented as identicalGLM-5.2: 74.2%Qwen 3.8 27B: 87.2%Vals AIAs of 09/01/2026
MMLU ProChemistry · higher is betterTest setup not documented as identicalGLM-5.2: 91.6%Qwen 3.8 27B: 91.8%Vals AIAs of 09/01/2026
ProgramBenchRaw Pass Rate · higher is betterTest setup not documented as identicalGLM-5.2: 62.6%Qwen 3.8 27B: 11.2%Vals AIAs of 10/20/2026
SWE-bench Verified1-4 hours · higher is betterTest setup not documented as identicalGLM-5.2: 66.7%Qwen 3.8 27B: 69%Vals AIAs of 09/01/2026
Terminal-Bench 2.1Medium · higher is betterTest setup not documented as identicalGLM-5.2: 74.5%Qwen 3.8 27B: 67.3%Vals AIAs of 10/01/2026
EMBLBO · higher is betterTest setup not documented as identicalGLM-5.2: 51.8%Qwen 3.8 27B: 53.7%Vals AIAs of 10/20/2026
Finance Agent (v2)Disclosure Analysis · higher is betterTest setup not documented as identicalGLM-5.2: 61.6%Qwen 3.8 27B: 60.3%Vals AIAs of 10/20/2026
Legal Research BenchBusiness & Commercial · Weighted partial credit · higher is betterTest setup not documented as identicalGLM-5.2: 87.5%Qwen 3.8 27B: 86.8%Vals AIAs of 10/26/2026
LegalBenchRhetoric Tasks · higher is betterTest setup not documented as identicalGLM-5.2: 81.3%Qwen 3.8 27B: 81.4%Vals AIAs of 10/13/2026
MMLU ProComputer Science · higher is betterTest setup not documented as identicalGLM-5.2: 90.2%Qwen 3.8 27B: 88.3%Vals AIAs of 09/01/2026
SWE-bench Verified15 min - 1 hour · higher is betterTest setup not documented as identicalGLM-5.2: 81.6%Qwen 3.8 27B: 85.8%Vals AIAs of 09/01/2026
EMBM&A · higher is betterTest setup not documented as identicalGLM-5.2: 63.9%Qwen 3.8 27B: 64.8%Vals AIAs of 10/20/2026
Finance Agent (v2)Earnings Analysis · higher is betterTest setup not documented as identicalGLM-5.2: 66.6%Qwen 3.8 27B: 70.9%Vals AIAs of 10/20/2026
Legal Research BenchCivil Litigation · All-pass · higher is betterTest setup not documented as identicalGLM-5.2: 25.9%Qwen 3.8 27B: 25.9%Vals AIAs of 10/26/2026
LegalBenchRule Tasks · higher is betterTest setup not documented as identicalGLM-5.2: 78.8%Qwen 3.8 27B: 70.2%Vals AIAs of 10/13/2026

Compare another matchup