gpt oss 120b needs about 30.6 GB of memory at BF16 (a 26.8 GB file) with an 8K context window, so it fits on a 32 GB GPU. This repository has 12 quants, from 9.7 GB (Q8_0) to 26.8 GB (Q8_0).
gpt oss 120b is a 117B-parameter gpt-oss model in GGUF format, quantized by Userb1az. Its trained context length is 128K tokens. The repository has 12 quant files, from 9.7 GB (Q8_0) to 26.8 GB (Q8_0).
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q8_0 | 9.7 GB | 11.4 GB | Too big | Get file → | |
| BF16 | 11.7 GB | 13.6 GB | Too big | Get file → | |
| F16 | 11.7 GB | 13.6 GB | Too big | Get file → | |
| F32 | 15.9 GB | 18.3 GB | Too big | Get file → | |
| BF16 | 26.8 GB | 30.6 GB | Too big | Get file → | |
| BF16 | 26.8 GB | 30.6 GB | Too big | Get file → | |
| F16 | 26.8 GB | 30.6 GB | Too big | Get file → | |
| F16 | 26.8 GB | 30.6 GB | Too big | Get file → | |
| F32 | 26.8 GB | 30.6 GB | Too big | Get file → | |
| F32 | 26.8 GB | 30.6 GB | Too big | Get file → | |
| Q8_0 | 26.8 GB | 30.6 GB | Too big | Get file → | |
| Q8_0 | 26.8 GB | 30.6 GB | Too big | Get file → |
What GPU do you need for gpt oss 120b?
These figures add the file size, an fp16 KV cache at an 8K context window and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: no quant fits at an 8K context.
- 6 GB VRAM: no quant fits at an 8K context.
- 8 GB VRAM: no quant fits at an 8K context.
- 12 GB VRAM: the best quant that fits is Q8_0 (9.7 GB file, about 11.4 GB in use).
- 16 GB VRAM: the best quant that fits is BF16 (11.7 GB file, about 13.6 GB in use).
- 24 GB VRAM: the best quant that fits is F32 (15.9 GB file, about 18.3 GB in use).
- 32 GB VRAM: the best quant that fits is BF16 (26.8 GB file, about 30.6 GB in use).
Which gpt oss 120b quant should you choose?
BF16 (26.8 GB) is the middle option in this repository. The unquantized model. It gives original quality and needs the most memory, so it is mainly for conversion or reference.
If memory is tight, the smallest file is Q8_0 at 9.7 GB, with the quality trade-offs that come with fewer bits. Close to lossless. It costs roughly twice the memory of a 4-bit file, so it suits cases where you have plenty of VRAM.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about gpt oss 120b
How much VRAM does gpt oss 120b need?
About 30.6 GB at BF16 with an 8K context window. That is the 26.8 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run gpt oss 120b on an 8 GB GPU?
Not at an 8K context. The smallest file needs about 11.4 GB, so you would need a larger GPU or CPU offloading.
What is the file size of gpt oss 120b GGUF?
It depends on the quant: Q8_0 is 9.7 GB, BF16 is 11.7 GB, F16 is 11.7 GB, F32 is 15.9 GB, BF16 is 26.8 GB, BF16 is 26.8 GB and 6 more.
What context length does gpt oss 120b support?
The GGUF header lists a trained context length of 131,072 tokens (128K).
Where can I download gpt oss 120b GGUF?
The files are on Hugging Face in the Userb1az/gpt-oss-120b-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.
What license does gpt oss 120b use?
Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.