GLM 4 Flash 250414 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.05 / 1M
$0.10 vs $0.13 / 1M
—
131K vs 128K tokens
Capability Benchmarks & Third-Party Evaluations
Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.
| Metric | GLM 4 Flash 250414 | GPT Oss 20B |
|---|---|---|
| Reasoning | Yes | Yes |
| Input Modalities | text | text |
| Tools & JSON | Tools | Tools |
| Prompt Caching | $0.05/1M | $0.03/1M |
| Open-Weight | Open | Proprietary |
Compare independent Intelligence Index, Engineering/Coding scores, tokens/sec throughput, and TTFT latency for GLM 4 Flash 250414 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.05 | $0.03 | GPT Oss 20B -40% |
| Output / 1M | $0.10 | $0.13 | GLM 4 Flash 250414 -23% |
| 5m Cache Write / 1M | $0.05 | $0.03 | GPT Oss 20B -40% |
| 1h Cache Write / 1M | — | — | — |
| Cache Read | $0.05 | $0.03 | GPT Oss 20B -40% |
| Web Search / Call | — | — | — |
| Context | 128K (128,000) | 131K (131,072) | GPT Oss 20B 1× |
| Max Output | 32K (32,000) | 118K (117,964) | GPT Oss 20B 3.7× |
| 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 | GLM 4 Flash 250414 |
30-day production cost estimator
Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.
Frequently Asked Questions
Is GLM 4 Flash 250414 or GPT Oss 20B cheaper per API token?
GPT Oss 20B is 40% cheaper on input tokens ($0.03 vs $0.05 per 1M). For output tokens, GLM 4 Flash 250414 costs 23% less ($0.10 vs $0.13 per 1M).
How do GLM 4 Flash 250414 and GPT Oss 20B prompt caching discounts compare?
GPT Oss 20B offers 40% cheaper cache reads at $0.03/1M compared to $0.05/1M for GLM 4 Flash 250414. GLM 4 Flash 250414 5m write: $0.05/1M; GPT Oss 20B 5m write: $0.03/1M.
Which model has a larger context window: GLM 4 Flash 250414 or GPT Oss 20B?
GPT Oss 20B provides a 1× larger context window (131K vs 128K tokens). For single-turn output generation, GLM 4 Flash 250414 caps at 32K tokens and GPT Oss 20B caps at 118K tokens.
How do GLM 4 Flash 250414 and GPT Oss 20B compare on benchmarks and capabilities?
GLM 4 Flash 250414 releases open weights for self-hosting or dedicated inference.
Related Head-to-Head Matchups
ComparisonsGLM 4 Flash 250414 vs GLM 5.3
In: $0.05 vs $0.07 · Out: $0.10 vs $1.40
GLM 4 Flash 250414 vs CodeGeeX 4
In: $0.05 vs $0.70 · Out: $0.10 vs $2.10
GLM 4 Flash 250414 vs Gemma 3 12B
In: $0.05 vs $0.05 · Out: $0.10 vs $0.15
GLM 4 Flash 250414 vs Gemma 3 4B
In: $0.05 vs $0.05 · Out: $0.10 vs $0.10
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