GLM-5.1 vs gpt-oss-120b

Benchmarks, API pricing and specs, head to head. Data updated 2026-06-10.

GLM-5.1

Z.ai (Zhipu) · Apr 2026

The April 2026 GLM refresh — the first open-weights model to take #1 on SWE-bench Pro, edging out Claude Opus 4.6.

gpt-oss-120b

OpenAI · Aug 2025

OpenAI's open-weights MoE reasoning model under Apache 2.0 — near o4-mini quality, runnable on a single 80GB GPU.

The verdict

These two models don't yet share verified results on the benchmarks we track, so judge them on specs, pricing and intended use. On price the gap is dramatic: gpt-oss-120b works out roughly 11x cheaper per blended million tokens. GLM-5.1 also takes 200K of context versus 131K for gpt-oss-120b.

Specs & pricing

GLM-5.1gpt-oss-120b
modhub Index
Input price / 1M$1.4$0.1
Output price / 1M$4.4$0.5
Context window200K131K
Max output128K131K
Open weightsyes (MIT)yes (Apache 2.0)
Reasoning modelyesyes
Multimodal inputtexttext
Knowledge cutoffFeb 2026Jun 2024
ReleasedApr 2026Aug 2025
Example monthly cost*$20.60$1.75

* 10M input + 1.5M output tokens per month at list prices, no caching. Green = better value on that row.

Frequently asked questions

Which is better, GLM-5.1 or gpt-oss-120b?
These two models don't yet share verified results on the benchmarks we track, so judge them on specs, pricing and intended use. On price the gap is dramatic: gpt-oss-120b works out roughly 11x cheaper per blended million tokens. GLM-5.1 also takes 200K of context versus 131K for gpt-oss-120b.
Which is cheaper, GLM-5.1 or gpt-oss-120b?
GLM-5.1 costs $1.4/$4.4 per million input/output tokens, while gpt-oss-120b costs $0.1/$0.5. For a typical workload of 10M input and 1.5M output tokens per month, that's $20.60 versus $1.75.
Which model is better for coding, GLM-5.1 or gpt-oss-120b?
We don't yet track SWE-bench Verified results for both models; check their individual pages for coding-related scores.

More comparisons