gpt-oss-20b vs GLM-4.7-Flash

Specs, VRAM requirements and download trends — updated 10 November 2026.

openai · A · Open weights
Params
21.5 B
Context
131,072
30d
5.8 M
apache-2.0 · commercial OK
zai-org · B · Open weights
Params
31.2 B
Context
202,752
30d
1.0 M
mit · commercial OK

Specification comparison

Differences are highlighted; identical values are muted.

Specification gpt-oss-20b GLM-4.7-Flash
Deployment Open weights · also via API Open weights · also via API
Parameters 21.5 B 31.2 B
Architecture GptOssForCausalLM Glm4MoeLiteForCausalLM
Context length 131,072 202,752
Licence apache-2.0 mit
Commercial use Allowed Allowed
Languages — 2
Downloads 30d 5,830,063 1,049,764
Downloads all time 108.5 M 15.7 M
Quantizations on the Hub SAFETENSORS SAFETENSORS
Gated No No
First seen on the Hub 2025-08-04 2026-01-19
API input price / 1M tokens $0.03 $0.061
API output price / 1M tokens $0.13 $0.40
Est. cost per 1M input + 1M output tokens $0.16 $0.46
Cached input / 1M tokens $0.03 —
AA Intelligence Index — —
AA Coding Index 20.7 —
AA Agentic Index 1.2 —
Max output tokens 117,964 117,964
API providers 10 2
Tool calling Yes Yes
Reasoning mode Yes Yes

API cost

Estimated cost of 1M input + 1M output tokens via OpenRouter

gpt-oss-20b $0.16
GLM-4.7-Flash $0.46

gpt-oss-20b is 2.9× cheaper at list price.

Download trend

Daily snapshots, last 90 days (13 Aug – 10 Nov)

8.1 M932 K
gpt-oss-20b GLM-4.7-Flash

VRAM side by side

On RTX 4090 · 24 GB · 8K context unless noted

gpt-oss-20b · fp16 @ 128K ctx 82.4 GB / 24 GB
❌ Won’t fit
GLM-4.7-Flash · fp16 @ 198K ctx 185.1 GB / 24 GB
❌ Won’t fit

Adjacent comparisons