gpt-oss 20B on Raspberry Pi 5 (16 GB)
Can the Raspberry Pi 5 (16 GB) run gpt-oss 20B?
Yes, but slowly (over memory limit)
Slow (over memory limit). At MXFP4 it needs about 13.8 GB of 13.6 GB usable, with an estimated speed of 4.3 tok/s.
- Best quant
MXFP4- Generation speed
- 4.3 tok/s
- Prompt processing
- 25.0 tok/s
- First token (1K prompt)
- 41.0 s
- Largest safe context
- —
Best app to run it on the Raspberry Pi 5 (16 GB)
On Linux on ARM boards
- Splits the model between GPU memory and system RAM, which this setup needs.
- Point-and-click: search, download and chat in one window.
Coding agents
Personal assistants
Download gpt-oss 20B
Recommended for the Raspberry Pi 5 (16 GB): MXFP4. Every other quantization has its own download link in the table below.
Quickest · Ollama
One command downloads a ready-to-run version and starts a chat.
ollama run gpt-oss:20bQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the MXFP4 file (opens in a new tab)
huggingface.co/ggml-org/gpt-oss-20b-GGUF (opens in a new tab)
ollama run hf.co/ggml-org/gpt-oss-20b-GGUF:MXFP4Original weights · Hugging Face
Full-precision files from OpenAI, for fine-tuning, vLLM, Transformers.
Official repo · GitHub
Reference code, inference scripts and docs from OpenAI. The weights themselves download from Hugging Face.
github.com/openai/gpt-oss (opens in a new tab)
git clone https://github.com/openai/gpt-ossHow it’s rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Model quality | 31.5 / 45 | |
|---|---|---|
| Memory fit | 10.0 / 25 | |
| Speed | 4.9 / 15 | |
| Memory use | 15.0 / 15 | |
| Match score | 61.4 / 100 |
Every quantization on the Raspberry Pi 5 (16 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
MXFP4 | 13.8 GB | 13.6 GB | 4.3 tok/s | Slowover memory limit | 70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 61/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) Original weights (opens in a new tab) |
F16 | 43.7 GB | 13.6 GB | — | Won't run | 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 9/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) Original weights (opens in a new tab) |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4060 Ti 16GB
-
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 Ti SUPER
-
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4080 SUPER
-
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5060 Ti 16GB
-
70Great quality (A) · 70 of 100: how capable the model is at MXFP4, whatever it runs on. Match score 86/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5070 Ti
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.