gpt-oss 20B on Raspberry Pi 4 (2 GB)
Can the Raspberry Pi 4 (2 GB) run gpt-oss 20B?
No, it doesn’t fit
No. gpt-oss 20B needs about 12.8 GB even at MXFP4; the Raspberry Pi 4 (2 GB) has 1.2 GB usable.
Download gpt-oss 20B
Recommended: 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 | 9.5 / 45 | |
|---|---|---|
| Memory fit | 0.0 / 25 | |
| Speed | 0.0 / 15 | |
| Memory use | 0.0 / 15 | |
| Match score | 9.5 / 100 |
Every quantization on the Raspberry Pi 4 (2 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
MXFP4 | 12.8 GB | 1.2 GB | — | Won't run | 70Great quality (A) · 70 of 100: how capable the model is at MXFP4, 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) |
F16 | 42.7 GB | 1.2 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.
Hardware that can run 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
Models that do run on the Raspberry Pi 4 (2 GB)
- 8Basic quality (D) · 8 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking. LFM2.5 230M
- 9Basic quality (D) · 9 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. LFM2.5 350M
- 8Basic quality (D) · 8 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. Granite 4.0 H 350M
- 8Basic quality (D) · 8 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 56/100 (quality, fit, speed and memory use) sets the ranking. LFM2 350M
- 4Basic quality (D) · 4 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 56/100 (quality, fit, speed and memory use) sets the ranking. SmolVLM 256M Instruct
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.