GPT OSS 20B MLX 8bit — Hardware Requirements & GPU Compatibility
ChatSpecifications
- Publisher
- LM Studio Community
- Family
- GPT-OSS
- Parameters
- 20.9B
- Architecture
- GptOssForCausalLM
- Context Length
- 131,072 tokens
- Vocabulary Size
- 201,088
- Release Date
- 2025-08-05
- License
- Apache 2.0
Get Started
HuggingFace
How Much VRAM Does GPT OSS 20B MLX 8bit Need?
Select a quantization to see compatible GPUs below.
| Quantization | Bits | VRAM | + Context | File Size | Quality |
|---|---|---|---|---|---|
| Q2_K | 3.40 | 9.3 GB | 13.7 GB | 8.89 GB | 2-bit quantization with K-quant improvements |
| Q3_K_S | 3.50 | 9.5 GB | 14.0 GB | 9.15 GB | 3-bit small quantization |
| Q3_K_M | 3.90 | 10.6 GB | 15.0 GB | 10.20 GB | 3-bit medium quantization |
| Q4_0 | 4.00 | 10.8 GB | 15.3 GB | 10.46 GB | 4-bit legacy quantization |
| Q4_K_M | 4.80 | 12.9 GB | 17.4 GB | 12.55 GB | 4-bit medium quantization — most popular sweet spot |
| Q5_K_M | 5.70 | 15.3 GB | 19.7 GB | 14.90 GB | 5-bit medium quantization — good quality/size tradeoff |
| Q6_K | 6.60 | 17.6 GB | 22.1 GB | 17.25 GB | 6-bit quantization, very good quality |
| Q8_0 | 8.00 | 21.3 GB | 25.7 GB | 20.91 GB | 8-bit quantization, near-lossless |
Which GPUs Can Run GPT OSS 20B MLX 8bit?
Q4_K_M · 12.9 GBGPT OSS 20B MLX 8bit (Q4_K_M) requires 12.9 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 17+ GB is recommended. Using the full 131K context window can add up to 4.5 GB, bringing total usage to 17.4 GB. 17 GPUs can run it, including NVIDIA GeForce RTX 5090, NVIDIA GeForce RTX 3090 Ti, NVIDIA GeForce RTX 5080.
Runs great
— Plenty of headroomDecent
— Enough VRAM, may be tightWhich Devices Can Run GPT OSS 20B MLX 8bit?
Q4_K_M · 12.9 GB27 devices with unified memory can run GPT OSS 20B MLX 8bit, including NVIDIA DGX H100, NVIDIA DGX A100 640GB, Mac Mini M4 (16 GB).
Runs great
— Plenty of headroomRelated Models
Frequently Asked Questions
- How much VRAM does GPT OSS 20B MLX 8bit need?
GPT OSS 20B MLX 8bit requires 12.9 GB of VRAM at Q4_K_M, or 21.3 GB at Q8_0. Full 131K context adds up to 4.5 GB (17.4 GB total).
VRAM = Weights + KV Cache + Overhead
Weights = 20.9B × 4.8 bits ÷ 8 = 12.5 GB
KV Cache + Overhead ≈ 0.4 GB (at 2K context + ~0.3 GB framework)
KV Cache + Overhead ≈ 4.9 GB (at full 131K context)
VRAM usage by quantization
Q4_K_M12.9 GBQ4_K_M + full context17.4 GB- What's the best quantization for GPT OSS 20B MLX 8bit?
For GPT OSS 20B MLX 8bit, Q4_K_M (12.9 GB) offers the best balance of quality and VRAM usage. Q4_K_L (13.2 GB) provides better quality if you have the VRAM. The smallest option is IQ2_XXS at 6.1 GB.
VRAM requirement by quantization
IQ2_XXS6.1 GB~53%Q2_K9.3 GB~75%Q3_K_L11.1 GB~86%Q4_K_M ★12.9 GB~89%Q4_K_L13.2 GB~90%Q8_021.3 GB~99%★ Recommended — best balance of quality and VRAM usage.
- Can I run GPT OSS 20B MLX 8bit on a Mac?
GPT OSS 20B MLX 8bit requires at least 6.1 GB at IQ2_XXS, which exceeds the unified memory of most consumer Macs. You would need a Mac Studio or Mac Pro with a high-memory configuration.
- Can I run GPT OSS 20B MLX 8bit locally?
Yes — GPT OSS 20B MLX 8bit can run locally on consumer hardware. At Q4_K_M quantization it needs 12.9 GB of VRAM. Popular tools include Ollama, LM Studio, and llama.cpp.
- How fast is GPT OSS 20B MLX 8bit?
At Q4_K_M, GPT OSS 20B MLX 8bit can reach ~226 tok/s on AMD Instinct MI300X. On NVIDIA GeForce RTX 4090: ~51 tok/s. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.
tok/s = (bandwidth GB/s ÷ model GB) × efficiency
Example: AMD Instinct MI300X → 5300 ÷ 12.9 × 0.55 = ~226 tok/s
Estimated speed at Q4_K_M (12.9 GB)
AMD Instinct MI300X~226 tok/sNVIDIA GeForce RTX 4090~51 tok/sNVIDIA H100 SXM~169 tok/sAMD Instinct MI250X~140 tok/sReal-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.
- What's the download size of GPT OSS 20B MLX 8bit?
At Q4_K_M, the download is about 12.55 GB. The full-precision Q8_0 version is 20.91 GB. The smallest option (IQ2_XXS) is 5.75 GB.
- Which GPUs can run GPT OSS 20B MLX 8bit?
17 consumer GPUs can run GPT OSS 20B MLX 8bit at Q4_K_M (12.9 GB). Top options include AMD Radeon RX 7900 XT, AMD Radeon RX 7900 XTX, NVIDIA GeForce RTX 3090, AMD Radeon RX 6800. 6 GPUs have plenty of headroom for comfortable inference.
- Which devices can run GPT OSS 20B MLX 8bit?
27 devices with unified memory can run GPT OSS 20B MLX 8bit at Q4_K_M (12.9 GB), including Mac Mini M4 (16 GB), Mac Mini M4 (32 GB), Mac Mini M4 Pro (24 GB), Mac Mini M4 Pro (48 GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.