GLM-4.6 vs gpt-oss-20b

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

GLM-4.6

Z.ai (Zhipu) · Sep 2025

63.9

The budget coding-agent favorite of late 2025 — near-Sonnet coding utility with MIT weights and a $3/month plan.

gpt-oss-20b

OpenAI · Aug 2025

The small gpt-oss variant that runs on a 16GB consumer GPU or laptop — local reasoning for everyone, Apache 2.0 licensed.

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-20b works out roughly 11x cheaper per blended million tokens. GLM-4.6 also takes 200K of context versus 131K for gpt-oss-20b.

Specs & pricing

GLM-4.6gpt-oss-20b
modhub Index63.9
Input price / 1M$0.6$0.05
Output price / 1M$2.2$0.2
Context window200K131K
Max output128K131K
Open weightsyes (MIT)yes (Apache 2.0)
Reasoning modelyesyes
Multimodal inputtexttext
Knowledge cutoffJul 2025Jun 2024
ReleasedSep 2025Aug 2025
Example monthly cost*$9.30$0.8

* 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-4.6 or gpt-oss-20b?
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-20b works out roughly 11x cheaper per blended million tokens. GLM-4.6 also takes 200K of context versus 131K for gpt-oss-20b.
Which is cheaper, GLM-4.6 or gpt-oss-20b?
GLM-4.6 costs $0.6/$2.2 per million input/output tokens, while gpt-oss-20b costs $0.05/$0.2. For a typical workload of 10M input and 1.5M output tokens per month, that's $9.30 versus $0.8.
Which model is better for coding, GLM-4.6 or gpt-oss-20b?
We don't yet track SWE-bench Verified results for both models; check their individual pages for coding-related scores.

More comparisons