gpt-oss-20b
gpt-oss · 20.91 billion parameters · Mixture of experts
Running this model locally
gpt-oss-20b stores 20.91 billion parameters in memory. Its 3.60 billion active parameters per token influence decode speed, while all experts contribute to memory use.
Device speed for this model awaits first-party measurements. Use the memory table to plan a candidate configuration. Source model card
Open in calculator- Architecture
- MOE
- Parameters
- 20.91B
- Layers
- 24
- Hidden size
- 2880
- KV heads
- 8
- Head dimension
- 64
- Maximum context
- 131,072 tokens
- License
- apache-2.0
- Release
- 2025-08-05
Quantization and memory
Estimated footprint with an 8,192-token context. Runtime allocations can vary.
| Encoding | Weights | FP16 cache | Total with overhead |
|---|---|---|---|
| MXFP4 | 11.1 GB | 0.2 GB | 13.2 GB |
| MXFP4-Q4 | — GB | — GB | — GB |
| MXFP4-Q8 | — GB | — GB | — GB |
Device measurements
Explore dataHardware to consider
Frequently asked questions
How large is gpt-oss-20b?
gpt-oss-20b has 20.91 billion total parameters. Approximately 3.60 billion are active per token.
How much memory does the attention cache require?
For 8,192 context tokens the estimated FP16 cache is 0.20 GB, before runtime overhead.
Where can I verify the model details?
The source model card below gives the architecture and links to its configuration and license. The hardware results table lists independently measured runtime conditions.