OpenAI·GPT-OSS·GptOssForCausalLM

GPT OSS 20B — Hardware Requirements & GPU Compatibility

Chat

GPT-OSS 20B is one of OpenAI's first open-source model releases, marking a historic shift in the company's approach to open weights. At 21.5 billion parameters it delivers strong general-purpose chat and reasoning capabilities informed by the research behind the GPT family, making it a compelling option for users who want OpenAI-grade quality in a locally deployable package. The model runs comfortably on a single high-end consumer GPU such as an RTX 4090 at 4-bit quantization, or on workstation cards with 24 GB or more of VRAM at higher precision. It occupies a practical middle ground between lightweight 7B models and resource-heavy 70B+ offerings.

6.7M downloads 5.1K likes 810.1K quant downloads131K context

Specifications

Publisher
OpenAI
Family
GPT-OSS
Parameters
20.9B
Architecture
GptOssForCausalLM
Context Length
131,072 tokens
Vocabulary Size
201,088
Release Date
2025-08-04
License
Apache 2.0

Get Started

How Much VRAM Does GPT OSS 20B Need?

Select a quantization to see compatible GPUs below.

QuantizationBitsVRAM
Q2_K3.409.3 GB
Q3_K_S3.509.5 GB
Q3_K_M3.9010.6 GB
Q4_04.0010.8 GB
Q4_K_M4.8012.9 GB
Q5_K_M5.7015.3 GB
Q6_K6.6017.6 GB
Q8_08.0021.3 GB

Which GPUs Can Run GPT OSS 20B?

Q4_K_M · 12.9 GB

GPT OSS 20B (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. 26 GPUs can run it, including NVIDIA GeForce RTX 5090, NVIDIA GeForce RTX 3090 Ti, NVIDIA GeForce RTX 5080.

Which Devices Can Run GPT OSS 20B?

Q4_K_M · 12.9 GB

48 devices with unified memory can run GPT OSS 20B, including NVIDIA DGX H100, NVIDIA DGX A100 640GB, Mac Mini M4 (16 GB).

Runs great

— Plenty of headroom
NVIDIA DGX H100~681 tok/sNVIDIA DGX A100 640GB~639 tok/sMac Studio (M3 Ultra, 256GB)~107 tok/sMac Studio (M3 Ultra, 512GB)~107 tok/sMac Studio (M3 Ultra, 96GB)~107 tok/sMac Pro M2 Ultra (192 GB)~106 tok/sMac Studio M2 Ultra (192 GB)~106 tok/sMacBook Pro 16" M5 Max (128 GB)~92 tok/sMac Studio M4 Max (128 GB)~86 tok/sMac Studio M4 Max (64 GB)~86 tok/sMacBook Pro 16" M4 Max (48 GB)~86 tok/sMacBook Pro 16" M4 Max (64 GB)~86 tok/sMac Studio M4 Max (36 GB)~72 tok/sMacBook Pro 14" M4 Max (36 GB)~72 tok/sMacBook Pro 16" M3 Max (48 GB)~72 tok/sNVIDIA DGX Spark~63 tok/sNVIDIA Jetson AGX Thor Developer Kit~63 tok/sMacBook Pro 14-inch (M5 Pro)~59 tok/sASUS Ascent GX10~59 tok/sAsus ROG Flow Z13 (2025, Ryzen AI Max+ 395, 128 GB)~56 tok/sBeelink GTR9 Pro (Ryzen AI Max+ 395, 128 GB)~56 tok/sFramework Desktop (Ryzen AI Max+ 395, 128 GB)~56 tok/sGMKtec EVO-X2 (Ryzen AI Max+ 395, 128 GB)~56 tok/sHP Z2 Mini G1a (Ryzen AI Max+ PRO 395, 128 GB)~56 tok/sHP ZBook Ultra G1a 14 (Ryzen AI Max+ PRO 395, 128 GB)~56 tok/sMinisforum MS-S1 MAX (Ryzen AI Max+ 395, 128 GB)~56 tok/sMac Mini M4 Pro (24 GB)~55 tok/sMac Mini M4 Pro (48 GB)~55 tok/sMacBook Pro 14" M4 Pro (24 GB)~55 tok/sMacBook Pro 16" M4 Pro (24 GB)~55 tok/sSnapdragon X2 Elite Extreme Copilot+ PC~50 tok/sNVIDIA Jetson AGX Orin 32GB~48 tok/sNVIDIA Jetson AGX Orin 64GB~48 tok/sMacBook Pro 14-inch (M5)~35 tok/sSnapdragon X Elite Copilot+ PC~31 tok/sMac Mini M4 (32 GB)~28 tok/sMacBook Air 13" M4 (24 GB)~28 tok/sMacBook Air 15" M4 (24 GB)~28 tok/sAMD Ryzen AI 9 HX 370 (Strix Point) Laptop~25 tok/sMacBook Air 13" M3 (24 GB)~24 tok/sIntel Core Ultra 9 288V (Lunar Lake) Laptop~23 tok/s

Where to Download GPT OSS 20B

Community quantizations of this model — GGUF for llama.cpp, Ollama, and LM Studio, plus AWQ/MLX variants where available.

Related Models

Frequently Asked Questions

How much VRAM does GPT OSS 20B need?

GPT OSS 20B requires 12.9 GB of VRAM at Q4_K_M, or 42.2 GB at BF16. 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

12.9 GB
17.4 GB

Learn more about VRAM estimation →

Can NVIDIA GeForce RTX 4090 run GPT OSS 20B?

Yes, at Q8_0 (21.3 GB) or lower. Higher quantizations like BF16 (42.2 GB) exceed the NVIDIA GeForce RTX 4090's 24 GB.

What's the best quantization for GPT OSS 20B?

For GPT OSS 20B, Q4_K_M (12.9 GB) offers the best balance of quality and VRAM usage. Q5_K_S (14.8 GB) provides better quality if you have the VRAM. The smallest option is Q2_K at 9.3 GB.

VRAM requirement by quantization

Q2_K
9.3 GB
Q4_0
10.8 GB
Q4_K_M ★
12.9 GB
Q5_K_S
14.8 GB
Q5_K_M
15.3 GB
BF16
42.2 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

Can I run GPT OSS 20B on a Mac?

GPT OSS 20B requires at least 9.3 GB at Q2_K, 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 locally?

Yes — GPT OSS 20B 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?

At Q4_K_M, GPT OSS 20B can reach ~187 tok/s on AMD Instinct MI350X. On NVIDIA GeForce RTX 4090: ~190 tok/s. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.

tok/s = (bandwidth GB/s ÷ model GB) × efficiency

Example: NVIDIA B200 → 8000 ÷ 12.9 × 0.65 = ~550 tok/s

Estimated speed at Q4_K_M (12.9 GB)

~550 tok/s
~190 tok/s
~550 tok/s
~469 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

What's the download size of GPT OSS 20B?

At Q4_K_M, the download is about 12.55 GB. The full-precision BF16 version is 41.83 GB. The smallest option (Q2_K) is 8.89 GB.

Which GPUs can run GPT OSS 20B?

26 consumer GPUs can run GPT OSS 20B 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. 8 GPUs have plenty of headroom for comfortable inference.

Which devices can run GPT OSS 20B?

49 devices with unified memory can run GPT OSS 20B at Q4_K_M (12.9 GB), including AMD Ryzen AI 9 HX 370 (Strix Point) Laptop, ASUS Ascent GX10, Asus ROG Flow Z13 (2025, Ryzen AI Max+ 395, 128 GB), Beelink GTR9 Pro (Ryzen AI Max+ 395, 128 GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.