Model · OpenAI
gpt-oss-20b
- Parameters
- 20.9B total · 3.6B active
- Context
- 131,072tokens at most
- Smallest download
- 12.1 GBof 2 downloads
- Licence
- Apache-2.0Commercial use allowed
01Downloads
Exact files, exact bytes.
GGUF MXFP4
12.1 GB| File | Bytes |
|---|---|
| gpt-oss-20b-MXFP4.gguf | 12,109,566,624 |
MLX MXFP4-Q8
12.1 GB| File | Bytes |
|---|---|
| model-00001-of-00003.safetensors | 5,303,719,858 |
| model-00002-of-00003.safetensors | 5,281,581,967 |
| model-00003-of-00003.safetensors | 1,490,905,743 |
| Total | 12,076,207,568 |
02Runtimes
How to run it.
Commands as the catalogue records them. The results page adds a context length that matches your estimate.
llama.cpp MXFP4 docs (opens in a new tab)
llama cli -hf ggml-org/gpt-oss-20b-GGUF:MXFP4LM Studio MXFP4 docs (opens in a new tab)
Open in LM Studio and search for ggml-org/gpt-oss-20b-GGUF. Select MXFP4.
MLX MXFP4-Q8 docs (opens in a new tab)
mlx_lm.generate --model mlx-community/gpt-oss-20b-MXFP4-Q8 --prompt "Hello"LM Studio MXFP4-Q8 docs (opens in a new tab)
Open in LM Studio and search for mlx-community/gpt-oss-20b-MXFP4-Q8.
Ollama MXFP4 docs (opens in a new tab)
ollama run gpt-oss:20b
03Facts
Licence, layout and sources.
- Licence
- Apache-2.0 (opens in a new tab)Commercial use allowed.
- Weights repo
- openai/gpt-oss-20b @ 6cee5e81ee83917806bbde320786a8fb61efebee
- Layout
- 24 layers12 × full attention, 8 KV heads × 64 dim · 12 × sliding window (128 tokens), 8 KV heads × 64 dim
- Notes
- gpt-oss-20b is a 20.9B-parameter mixture-of-experts model for chat and coding, using 3.6B of them per token. It can read up to 131,072 tokens at once.Ollama downloads its own build of this quantisation. The listed artifact sizes are for the pinned Hugging Face files.
- Sources
- huggingface.co/api/models/openai/gpt-oss-20b/revision/6cee5e81ee83917806bbde320786a8fb61efebee (opens in a new tab) retrieved huggingface.co/openai/gpt-oss-20b/raw/6cee5e81ee83917806bbde320786a8fb61efebee/config.json (opens in a new tab) retrieved huggingface.co/api/models/ggml-org/gpt-oss-20b-GGUF/tree/41e8a94d15d62070b36cf4553a0250717ecf46b8?recursive=true (opens in a new tab) retrieved huggingface.co/api/models/mlx-community/gpt-oss-20b-MXFP4-Q8/tree/773a7da77e569019bb0fd17a554b263738d669a3?recursive=true (opens in a new tab) retrieved huggingface.co/mlx-community/gpt-oss-20b-MXFP4-Q8/blob/773a7da77e569019bb0fd17a554b263738d669a3/README.md (opens in a new tab) retrieved huggingface.co/openai/gpt-oss-20b/blob/6cee5e81ee83917806bbde320786a8fb61efebee/README.md (opens in a new tab) retrieved huggingface.co/openai/gpt-oss-20b/blob/6cee5e81ee83917806bbde320786a8fb61efebee/LICENSE (opens in a new tab) retrieved
- Verified on