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.

7.4M downloads 4.5K likesAug 2025131K context

Specifications

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

Get Started

How Much VRAM Does GPT OSS 20B Need?

Select a quantization to see compatible GPUs below.

QuantizationBitsVRAM
IQ2_XXS2.206.3 GB
IQ2_XS2.406.8 GB
IQ2_S2.507.1 GB
IQ2_M2.707.6 GB
IQ3_XXS3.108.7 GB
IQ3_XS3.309.2 GB
Q2_K3.409.5 GB
Q3_K_S3.509.8 GB
IQ3_M3.6010.1 GB
Q3_K_M3.9010.9 GB
Q4_04.0011.1 GB
Q3_K_L4.1011.4 GB
IQ4_XS4.3011.9 GB
Q4_14.5012.5 GB
Q4_K_S4.5012.5 GB
IQ4_NL4.5012.5 GB
Q4_K_M4.8013.3 GB
Q4_K_L4.9013.6 GB
Q5_K_S5.5015.2 GB
Q5_K_M5.7015.7 GB
Q5_K_L5.8016.0 GB
Q6_K6.6018.1 GB
Q8_08.0021.9 GB

Which GPUs Can Run GPT OSS 20B?

Q4_K_M · 13.3 GB

GPT OSS 20B (Q4_K_M) requires 13.3 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 18+ GB is recommended. Using the full 131K context window can add up to 4.5 GB, bringing total usage to 17.7 GB. 17 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 · 13.3 GB

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

Related Models

Frequently Asked Questions

How much VRAM does GPT OSS 20B need?

GPT OSS 20B requires 13.3 GB of VRAM at Q4_K_M, or 21.9 GB at Q8_0. Full 131K context adds up to 4.5 GB (17.7 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 21.5B × 4.8 bits ÷ 8 = 12.9 GB

KV Cache + Overhead 0.4 GB (at 2K context + ~0.3 GB framework)

KV Cache + Overhead 4.8 GB (at full 131K context)

VRAM usage by quantization

13.3 GB
17.7 GB

Learn more about VRAM estimation →

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

For GPT OSS 20B, Q4_K_M (13.3 GB) offers the best balance of quality and VRAM usage. Q4_K_L (13.6 GB) provides better quality if you have the VRAM. The smallest option is IQ2_XXS at 6.3 GB.

VRAM requirement by quantization

IQ2_XXS
6.3 GB
Q2_K
9.5 GB
Q3_K_L
11.4 GB
Q4_K_M
13.3 GB
Q4_K_L
13.6 GB
Q8_0
21.9 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 6.3 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 locally?

Yes — GPT OSS 20B can run locally on consumer hardware. At Q4_K_M quantization it needs 13.3 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 ~220 tok/s on AMD Instinct MI300X. On NVIDIA GeForce RTX 4090: ~49 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 MI300X5300 ÷ 13.3 × 0.55 = ~220 tok/s

Estimated speed at Q4_K_M (13.3 GB)

~220 tok/s
~49 tok/s
~164 tok/s
~136 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.91 GB. The full-precision Q8_0 version is 21.51 GB. The smallest option (IQ2_XXS) is 5.92 GB.