- Home
- LLM comparison
- GLM-5.1 vs. Qwen 3.8 27B
GLM-5.1vs.Qwen 3.8 27B
Which one is better?
Level in the overall index: the gap is too small for a clear winner. Qwen 3.8 27B is cheaper: GLM-5.1 costs 35 times (input) and 1.8 times (output) as much per token.
GLM-5.1
Rank 48 to 55
Qwen 3.8 27B
Rank 44 to 57
GLM-5.1
fairly slow
Qwen 3.8 27B
slow
GLM-5.1
fairly expensive
Qwen 3.8 27B
fairly cheap
GLM-5.1
- Subscription
No Z.ai subscription includes this model. Through other providers from ≈ €1.06 a month (Command Code Go, with limited credits). 13 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.05 and $3.50 since Sep 3, 2026.
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.1 ahead: 1Qwen 3.8 27B ahead: 1level: 4too little data: 4of 10 areas
Show 2 more areas that do not count toward the overall index
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.1

Test details
API reports 0 reasoning tokensAPI model: z-ai/glm-5.1580 output tokensQwen 3.8 27B

Test details
API reports 0 reasoning tokensAPI model: qwen/qwen3.8-27b865 output tokensEarlier tests
Pelican on a bicycle
A community classic for free-form SVG drawing.
GLM-5.1
Output withheld for safety
Reasoning (requested): high
Current attempt
- Run date
- Oct 5, 2026
- API provider
- openrouter
- Requested API model
- z-ai/glm-5.1
- API model reported in response
- z-ai/glm-5.1
- Reasoning setting
- high
- Pinned endpoint
- Z.AI | z-ai/glm-5.1-20260406
- Temperature
- Provider default
- Token limit including reasoning
- 8,192 tokens
- Test protocol
- community-visual-tests-v1
- Technical checks
- Failed
- Response time
- 141.6 s
Not yet visually reviewed. A successful recording does not confirm correct physics or full compliance with the prompt.
Earlier attempts (3)
- Oct 2, 2026Output withheld for safetyReasoning 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.
| Metric | GLM-5.1 | Qwen 3.8 27B |
|---|---|---|
| Intelligence | ||
| Overall index0 to 100, higher is better | 11 | 11 |
| Rank | Rank 48 to 55 of 95 | Rank 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 second | 77 | 40 |
| Technical | ||
| Context windowhow much text the model reads at once | 200,000 tokens≈ 300 A4 pages | 262,144 tokens≈ 390 A4 pages |
| Knowledge cutoff | n/a | n/a |
| Released | Apr 7, 2026 | Aug 14, 2026 |
| Availability | Open Source | Active |
| Open weights | yes | yes |
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.1B: Qwen 3.8 27B