GLM 4.6 vs gpt-oss-120b

GLM 4.6 (Zhipu AI, September 2025) and gpt-oss-120b (OpenAI, August 2025), compared on price, context window, access and specs. gpt-oss-120b is the cheaper API at $0.03 in and $0.15 out per million tokens, about 13× less than GLM 4.6 on a typical 3:1 input-to-output mix. GLM 4.6 reads more at once: a 203K-token context window against 131K.

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

At a glance

Released
30 September 2025
5 August 2025
Access
Open weights (unrestricted)
Open weights (unrestricted)
Country
China
United States of America

Price and API

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

Scale and training

Parameters
357B357,000,000,000Largest
117B116,830,000,000
Training compute
4.4 × 10²⁴ FLOP
4.9 × 10²⁴ FLOPMost
Training hardware
Not listed
NVIDIA H100 SXM5 80GB
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)
Total parameters: 116.83B
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
"The training run for gpt-oss-120b required 2.1 million H100-hours to complete" (2.1e6 hours)*(1,979 H100 FLOP/s)*(30% utilization)*(60*60) = 4.49e24 They also do post training similar to o3, which we assume adds at least 10% as much compute, so we multiply this estimate by 1.1 to get 4.94e24
Dataset size
23T tokens (from Jaime's correspondence with the GLM team)
(pretraining FLOPs)/(6*5.1B active parameters)
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
Not listed

Which should you pick?

High-volume or budget workloads
gpt-oss-120b · Lowest list price: $0.03 in and $0.15 out per million tokens via Hugging Face.
Long documents, codebases or transcripts
GLM 4.6 · 203K tokens of context, 55% more than gpt-oss-120b.

Questions people ask

Is GLM 4.6 better than gpt-oss-120b?

It depends on the job. For high-volume or budget workloads, gpt-oss-120b has the edge: lowest list price: $0.03 in and $0.15 out per million tokens via Hugging Face. For long documents, codebases or transcripts, GLM 4.6 has the edge: 203K tokens of context, 55% more than gpt-oss-120b. Try them on your own prompts in the AIPortalX playground before you commit.

Which is cheaper: GLM 4.6 or gpt-oss-120b?

gpt-oss-120b: $0.03 in and $0.15 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?

GLM 4.6, with 203K tokens; gpt-oss-120b takes 131K. A larger window lets one request hold longer documents or conversations.

Where can I use GLM 4.6 and gpt-oss-120b through one API?

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

When were they released?

GLM 4.6 in September 2025 and gpt-oss-120b in August 2025.

Other comparisons