unsloth

gpt oss 20b

gpt oss 20b is a 20.9B mixture-of-experts gpt-oss model from unsloth, with about 5.8B parameters active per token. Configured context length is 131,072 tokens. License: apache-2.0. Quant sizes are the GGUF file bytes published on Hugging Face when a file exists.

Parameters20.9B / 5.8B active
Context128K
Attentionhybrid
Licenseapache-2.0

24 layers · 8 KV heads · head dim 64 · 12 sliding layers · GGUF repo · config

Quant file sizes

QuantFile sizeSource
F1612.8 GBHugging Face file bytes
UD-Q8_K_XL12.3 GBHugging Face file bytes
Q8_011.3 GBHugging Face file bytes
UD-Q6_K_XL11.2 GBHugging Face file bytes
Q6_K11.2 GBHugging Face file bytes
Q5_K_M10.9 GBHugging Face file bytes
Q5_K_S10.9 GBHugging Face file bytes
UD-Q4_K_XL11.1 GBHugging Face file bytes
Q4_K_M10.8 GBHugging Face file bytes
Q4_K_S10.8 GBHugging Face file bytes
Q4_110.8 GBHugging Face file bytes
Q4_010.7 GBHugging Face file bytes
Q3_K_M10.7 GBHugging Face file bytes
Q3_K_S10.7 GBHugging Face file bytes
Q2_K21.6 GBHugging Face file bytes

On common machines

DeviceVerdictQuantSpeed
GeForce RTX 4060 Ti 8GBExpert offloadQ4_K_M47–64
GeForce RTX 3060 12GBExpert offloadQ4_K_M58–79
GeForce RTX 4060 Ti 16GBTight fitUD-Q8_K_XL39–54
GeForce RTX 4090Runs greatUD-Q8_K_XL138–188
GeForce RTX 5090Runs greatUD-Q8_K_XL244–333
Apple M4 ProRunsUD-Q8_K_XL37–51
Apple M5Won't fitQ3_K_S—
CPU only · DDR5-5600Runs on CPUUD-Q8_K_XL12–17

Smallest devices that fit it fully

Run it

Commands for the GeForce RTX 4060 Ti 16GB estimate (UD-Q8_K_XL).

llama.cpp
llama-server -hf unsloth/gpt-oss-20b-GGUF:UD-Q8_K_XL -c 8192 -ngl 24

No matching name in the Ollama library snapshot.

LM Studio
lms get unsloth/gpt-oss-20b-GGUF
# Then load quant UD-Q8_K_XL