GLM 4.6 vs Qwen 3.8 27B

GLM 4.6 (Zhipu AI, September 2025) and Qwen 3.8 27B (Alibaba, August 2026), compared on price, context window, access and specs. Qwen 3.8 27B is the cheaper API at $0.04 in and $1.35 out per million tokens, about 2.1× less than GLM 4.6 on a typical 3:1 input-to-output mix. Qwen 3.8 27B reads more at once: a 1M-token context window against 203K.

Updated 5 December 2026 · read each row across; the best value in a row is marked

At a glance

Released
30 September 2025
14 August 2026
Access
Open weights (unrestricted)
Open weights (unrestricted)
Country
China
China

Price and API

Input, per 1M tokens
$0.43on Hugging Face
$0.04on Hugging FaceLowest
Output, per 1M tokens
$1.75on Hugging Face
$1.35on Hugging FaceLowest
Official API id
zai/glm-4.6
Not listed
Context window
203K tokens
1M tokensLargest
Max output
131K tokens
131K tokens
Takes
Text
Text, Image
Returns
Text
Text
Knowledge cutoff
April 2025
Not listed
Supports
ReasoningTool callingOpen weights
ReasoningTool callingStructured outputFile inputOpen weights

Scale and training

Parameters
357B357,000,000,000Largest
27B27,000,000,000
Training compute
4.4 × 10²⁴ FLOP
Not listed
Training time
2,880 hours
Not listed
Training code
Unreleased
Not listed
Confidence
Likely
Confident

Notes

Parameters
Similarly to GLM 4.5: 355 billion total parameters (reported) with 32 billion active parameters (assumed)
27B dense
Training compute
6 FLOP/parameter/token * 32000000000 active parameters [very likely assumption - everything else is reported to be same as at GLM 4.5] * 23000000000000 tokens = 4.42e24 FLOP
Not listed
Dataset size
23T tokens (from Jaime's correspondence with the GLM team)
Not listed
Access
MIT license https://huggingface.co/zai-org/GLM-4.6
Not listed

In their own words

Abstract
Today, we are releasing the latest version of our flagship model: GLM-4.6. Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex agentic tasks. Superior coding performance: The model achieves higher scores on code benchmarks and demonstrates better real-world performance in applications such as Claude Code、Cline、Roo Code and Kilo Code, including improvements in generating visually polished front-end pages. Advanced reasoning: GLM-4.6 shows a clear improvement in reasoning performance and supports tool use during inference, leading to stronger overall capability. More capable agents: GLM-4.6 exhibits stronger performance in tool using and search-based agents, and integrates more effectively within agent frameworks. Refined writing: Better aligns with human preferences in style and readability, and performs more naturally in role-playing scenarios. We evaluated GLM-4.6 across eight public benchmarks covering agents, reasoning, and coding. Results show clear gains over GLM-4.5, with GLM-4.6 also holding competitive advantages over leading domestic and international models such as DeepSeek-V3.2-Exp and Claude Sonnet 4, but still lags behind Claude Sonnet 4.5 in coding ability.Read all
We promised open weights for Qwen3.8. Now, time to meet them! 🎉 ⚡ Qwen3.8-27B: - A native multimodal dense model. With just 27B parameters, it outperforms Qwen3.7-Plus overall and shines in real-world coding & office workflows. - 262K native context, easily extendable to 1M tokens via YaRN. - Built for builders. Highly efficient, high-quality, and licensed under Apache 2.0. 🚀 The open weights for Qwen3.8-2.4T-A95B (Max-level) have also been released recently. Whether you're shipping lightweight applications with Qwen3.8-27B locally or building agents with Qwen3.8-2.4T-A95B, they're yours now! Read all

Which should you pick?

High-volume or budget workloads
Qwen 3.8 27B · Lowest list price: $0.04 in and $1.35 out per million tokens via Hugging Face.
Long documents, codebases or transcripts
Qwen 3.8 27B · 1M tokens of context, 4.9× more than GLM 4.6.
Reading images and screenshots
Qwen 3.8 27B · Accepts image input through the API.

Questions people ask

Is GLM 4.6 better than Qwen 3.8 27B?

It depends on the job. For high-volume or budget workloads, Qwen 3.8 27B has the edge: lowest list price: $0.04 in and $1.35 out per million tokens via Hugging Face. For long documents, codebases or transcripts, Qwen 3.8 27B has the edge: 1M tokens of context, 4.9× more than GLM 4.6. For reading images and screenshots, Qwen 3.8 27B has the edge: accepts image input through the API. Try them on your own prompts in the AIPortalX playground before you commit.

Which is cheaper: GLM 4.6 or Qwen 3.8 27B?

Qwen 3.8 27B: $0.04 in and $1.35 out per million tokens at Hugging Face. GLM 4.6 starts at $0.43 in and $1.75 out per million tokens. These are list prices from the cheapest provider we track, and they change often.

Which has the bigger context window?

Qwen 3.8 27B, with 1M tokens; GLM 4.6 takes 203K. A larger window lets one request hold longer documents or conversations.

Where can I use GLM 4.6 and Qwen 3.8 27B through one API?

Hugging Face, DeepInfra, OpenRouter and Novita AI serve all of them, so you can switch models without opening another account.

When were they released?

GLM 4.6 in September 2025 and Qwen 3.8 27B in August 2026.

Other comparisons