Z.aivsOpenAI·Updated Nov 2026
z-ai/glm-4.6 logovsGPT Oss 20B logo

z-ai/glm-4.6 vs GPT Oss 20B

Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.

Switch Comparison Matchup411 · Updated Nov 2026
Cheaper Input
GPT Oss 20B logoGPT Oss 20B-94%

$0.03 vs $0.50 / 1M

Cheaper Output
GPT Oss 20B logoGPT Oss 20B-94%

$0.13 vs $2.00 / 1M

AA Intelligence / AA Engineering
Reasoning

—

Context Window
z-ai/glm-4.6 logoz-ai/glm-4.61.5×

203K vs 131K tokens

Capability Benchmarks & Third-Party Evaluations

Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.

AA Intelligence · Engineering · Arena · SWE-bench
Artificial Analysis Benchmarks
AA Intelligence
z-ai/glm-4.6 logoz-ai/glm-4.6Pending
GPT Oss 20B logoGPT Oss 20BPending
AA Engineering
z-ai/glm-4.6 logoz-ai/glm-4.6Pending
GPT Oss 20B logoGPT Oss 20BPending
Core Capability Profile
Metricz-ai/glm-4.6GPT Oss 20B
ReasoningYesYes
Input Modalitiestexttext
Tools & JSONToolsTools
Prompt Caching$0.10/1M$0.03/1M
Open-WeightOpenProprietary

Side-by-side specification matrix

USD ·
Metricz-ai/glm-4.6 logoz-ai/glm-4.6GPT Oss 20B logoGPT Oss 20BCompare
Input / 1M$0.50$0.03GPT Oss 20B -94%
Output / 1M$2.00$0.13GPT Oss 20B -94%
5m Cache Write / 1M$0.50$0.03GPT Oss 20B -94%
1h Cache Write / 1M———
Cache Read$0.10$0.03GPT Oss 20B -70%
Web Search / Call———
Context203K (202,752)131K (131,072)z-ai/glm-4.6 1.5×
Max Output131K (131,072)118K (117,964)z-ai/glm-4.6 1.1×
AA Intelligence(Artificial Analysis)———
AA Engineering———
CapabilitiestexttextEqual
ReasoningSupportedSupportedEqual
Structured Outputs(JSON Schema)Not listedNot listedEqual
Open-WeightOpen-WeightProprietary APIz-ai/glm-4.6

30-day production cost estimator

Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.

LLM API Monthly Cost Calculator
2,000
2,500
500
50%
0
60,000 · 150.0M · 30.0M
Est. 30-Day Spend
Estimated monthly savings with GPT Oss 20B $96.60/mo ($1,159.20)
-92%
z-ai/glm-4.6 logoz-ai/glm-4.6
$105.00/mo
In: $37.50
Cache: $7.50
Out: $60.00
Search: N/A
GPT Oss 20B logoGPT Oss 20BBest Value
$8.40/mo
In: $2.25
Cache: $2.25
Out: $3.90
Search: N/A

Frequently Asked Questions

Is z-ai/glm-4.6 or GPT Oss 20B cheaper per API token?

GPT Oss 20B is 94% cheaper on input tokens ($0.03 vs $0.50 per 1M). For output tokens, GPT Oss 20B costs 94% less ($0.13 vs $2.00 per 1M).

How do z-ai/glm-4.6 and GPT Oss 20B prompt caching discounts compare?

GPT Oss 20B offers 70% cheaper cache reads at $0.03/1M compared to $0.10/1M for z-ai/glm-4.6. z-ai/glm-4.6 5m write: $0.50/1M; GPT Oss 20B 5m write: $0.03/1M.

Which model has a larger context window: z-ai/glm-4.6 or GPT Oss 20B?

z-ai/glm-4.6 provides a 1.5× larger context window (203K vs 131K tokens). For single-turn output generation, z-ai/glm-4.6 caps at 131K tokens and GPT Oss 20B caps at 118K tokens.

How do z-ai/glm-4.6 and GPT Oss 20B compare on benchmarks and capabilities?

z-ai/glm-4.6 releases open weights for self-hosting or dedicated inference.

Related Head-to-Head Matchups

Comparisons