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
Download history
daily snapshots · 10 days8.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.
| File | Quant | Size | Est. VRAM | Verdict 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 -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"
}
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.
Compare with
Sponsored · GPU cloud
Not enough VRAM?
Spin up a 24 GB L4 instance in 40 seconds. $0.44/hr.