openai / text-generation updated 11 months ago

gpt-oss-20b

Welcome to the gpt-oss series, OpenAI’s open-weight models designed for powerful reasoning, agentic tasks, and versatile developer use cases.

Params
21.5 B
Context
131,072
Downloads 30d
8.6 M
Likes
4,878
Commercial use: allowed apache-2.0 Not gated SAFETENSORS View on Hugging Face ↗

Download history

daily snapshots · 10 days
8.6 M8.1 M
Jul 28Jul 31Aug 3Aug 6

Can you run it?

Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.

FileQuantSizeEst. VRAMVerdict on RTX 4090 · 24 GB
model.safetensors u8 27.5 GB 34.0 GB ❌ Won’t fit
model.safetensors (bf16, full) bf16 + 128K ctx 27.5 GB 82.4 GB ❌ Won’t fit
Estimate: file size × 1.1 + KV cache at 8K + 0.5 GB overhead. Not a benchmark — how we calculate this.

Run it

copy-paste, exact tags checked against the Hub
~ · curl · api/v1
$ curl -s https://aimodelscomparison.com/api/v1/models/gpt-oss-20b
{
  "hf_id": "openai/gpt-oss-20b",
  "params_b": 21.51,
  "context_length": 131072,
  "license": { "id": "apache-2.0", "commercial": "yes" },
  "downloads_30d": 8616555,
  "vram_estimates": [
    { "quant": "u8", "gb": 34.0 }
  ],
  "updated_at": "2026-07-28T17:06:36Z"
}
est. VRAM —on RTX 4090 · 24 GBJSON API →

Specifications

Architecture
GptOssForCausalLM
Parameters
21.5 B
Tensor type
U8
Context length
131,072
Vocabulary
201,088
Layers / heads
24 / 64
Licence
apache-2.0
First seen on the Hub
2025-08-04
Training datasets
undisclosed
Added to our catalog
2026-07-28

Family

Base model and the most-downloaded derivatives in the catalog.