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.
$0.03 vs $0.50 / 1M
$0.13 vs $2.00 / 1M
—
203K vs 131K tokens
Capability Benchmarks & Third-Party Evaluations
Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.
| Metric | z-ai/glm-4.6 | GPT Oss 20B |
|---|---|---|
| Reasoning | Yes | Yes |
| Input Modalities | text | text |
| Tools & JSON | Tools | Tools |
| Prompt Caching | $0.10/1M | $0.03/1M |
| Open-Weight | Open | Proprietary |
Compare independent Intelligence Index, Engineering/Coding scores, tokens/sec throughput, and TTFT latency for z-ai/glm-4.6 and GPT Oss 20B.
Blind pairwise human preference Elo ratings across Overall, Coding, Hard Prompts, and Instruction Following.
Measures autonomous GitHub repository issue resolution rates in sandboxed software engineering evaluations.
Monthly refreshed objective tests spanning Math, Coding, Reasoning, Data Analysis, and Language.
Evaluates practical diff editing pass rates and API cost per benchmark run across Python, C++, Go, Java, JS, and Rust.
Side-by-side specification matrix
USD ·| Metric | Compare | ||
|---|---|---|---|
| Input / 1M | $0.50 | $0.03 | GPT Oss 20B -94% |
| Output / 1M | $2.00 | $0.13 | GPT Oss 20B -94% |
| 5m Cache Write / 1M | $0.50 | $0.03 | GPT Oss 20B -94% |
| 1h Cache Write / 1M | — | — | — |
| Cache Read | $0.10 | $0.03 | GPT Oss 20B -70% |
| Web Search / Call | — | — | — |
| Context | 203K (202,752) | 131K (131,072) | z-ai/glm-4.6 1.5× |
| Max Output | 131K (131,072) | 118K (117,964) | z-ai/glm-4.6 1.1× |
| AA Intelligence(Artificial Analysis) | — | — | — |
| AA Engineering | — | — | — |
| Capabilities | text | text | Equal |
| Reasoning | Supported | Supported | Equal |
| Structured Outputs(JSON Schema) | Not listed | Not listed | Equal |
| Open-Weight | Open-Weight | Proprietary API | z-ai/glm-4.6 |
30-day production cost estimator
Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.
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
Comparisonsz-ai/glm-4.6 vs Gemini 3 Flash
In: $0.50 vs $0.50 · Out: $2.00 vs $3.00
z-ai/glm-4.6 vs Gemini 3 Flash Preview
In: $0.50 vs $0.50 · Out: $2.00 vs $3.00
z-ai/glm-4.6 vs Mistral Large 3
In: $0.50 vs $0.50 · Out: $2.00 vs $1.50
z-ai/glm-4.6 vs Big Pickle
In: $0.50 vs $0.50 · Out: $2.00 vs $1.50
GPT Oss 20B vs GPT-6.2 Astra
In: $0.03 vs $8.00 · Out: $0.13 vs $40.00
GPT Oss 20B vs GPT-6.2 Sol
In: $0.03 vs $2.00 · Out: $0.13 vs $10.00