Model reference · open weights
gpt-oss is an open-weight language model from OpenAI. gpt-oss-120b-essential (MXFP4) weighs 69.2 GB in vLLM, 65.2 GB of files; the smallest configuration that runs it is H100 80 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
AxForge offerings: gpt-oss
Summary of the openai/gpt-oss-20b model card, 2026-10-01. The estimate below is for another build of the family.
What it is
| Released by | OpenAI |
|---|---|
| Released | 2025-08-04 |
| Parameters | 20.9B |
| VRAM | 69.2 GB in vLLM, 65.2 GB of files for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB … L40S 48 GB 6 smaller cards | ||||
| A100 80 GB FP4 without its speed-up here | 18 | 6 | all 128K | 78.2 GB |
| H100 80 GB FP4 without its speed-up here | 6 | 2 | 80K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 32 | 10 | all 128K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 54 | 18 | all 128K | 107 GB |
| H200 141 GB FP4 without its speed-up here | 105 | 34 | all 128K | 138 GB |
| B200 180 GB | 167 | 41 | all 128K | 176 GB |
| 2× L40S 48 GB tensor parallel · FP4 without its speed-up here | 37 | 12 | all 128K | 44.0 GB a card |
| 4× RTX 4090 24 GB tensor parallel · FP4 without its speed-up here | 46 | 15 | all 128K | 23.4 GB a card |
| 4× RTX 3090 24 GB tensor parallel · FP4 without its speed-up here | 47 | 15 | all 128K | 23.4 GB a card |
| 4× RTX 5090 32 GB tensor parallel | 113 | 38 | all 128K | 31.0 GB a card |
| 2× H100 80 GB tensor parallel · FP4 without its speed-up here | 126 | 42 | all 128K | 78.1 GB a card |
| 2× A100 80 GB tensor parallel · FP4 without its speed-up here | 187 | 62 | all 128K | 78.2 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 70.3 GB | 71.2 GB |
| 5 | 72.2 GB | 76.7 GB |
| 8 | 73.5 GB | 80.8 GB |
| 16 | 77.2 GB | 91.7 GB |
| 32 | 84.5 GB | 114 GB |
| 64 | 99.2 GB | 157 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| gpt-oss-20b ↗ | 20.9B | MXFP4 | 14.6 GB | 2× RTX 3060 12 GB |
| gpt-oss-120b ↗ | 116.8B | MXFP4 | 69.2 GB | H100 80 GB |
| gpt-oss-20b-GGUF ↗ packaged by unsloth 16 builds: Q3_K_S 11.5 GB … F16 13.8 GB |
GGUF | 11.6 GB | RTX 4060 Ti 16 GB | |
| gpt-oss-20b-BF16 ↗ packaged by unsloth |
20.9B | BF16 | 41.8 GB | L40S 48 GB |
| gpt-oss-20b-unsloth-bnb-4bit ↗ packaged by unsloth |
20.9B | INT4 | 12.5 GB | RTX 4060 Ti 16 GB |
| gpt-oss-120b-Eagle3-v3 ↗ packaged by nvidia a draft head for speculative decoding that runs beside the full model |
787M | BF16 | 1.6 GB | |
| gpt-oss-120b-essential (above) ↗ packaged by RedHatAI |
116.8B | MXFP4 | 69.2 GB | H100 80 GB |
From the model card
Welcome to the gpt-oss series, OpenAI’s open-weight models designed for powerful reasoning, agentic tasks, and versatile developer use cases.
We’re releasing two flavors of these open models:
gpt-oss-120b — for production, general purpose, high reasoning use cases that fit into a single 80GB GPU (like NVIDIA H100 or AMD MI300X) (117B parameters with 5.1B active parameters)gpt-oss-20b — for lower latency, and local or specialized use cases (21B parameters with 3.6B active parameters)Both models were trained on our harmony response format and should only be used with the harmony format as it will not work correctly otherwise.
[!NOTE] This model card is dedicated to the smaller
gpt-oss-20bmodel. Check outgpt-oss-120bfor the larger model.
gpt-oss-120b run on a single 80GB GPU (like NVIDIA H100 or AMD MI300X) and the gpt-oss-20b model run within 16GB of memory. All evals were performed with the same MXFP4 quantization.You can use gpt-oss-120b and gpt-oss-20b with Transformers. If you use the Transformers chat template, it will automatically apply the harmony response format. If you use model.generate directly, you need to apply the harmony format manually using the chat template or use our openai-harmony package.
To get started, install the necessary dependencies to setup your environment:
pip install -U transformers kernels torch
Once, setup you can proceed to run the model by running the snippet below:
from transformers import pipeline
import torch
model_id = "openai/gpt-oss-20b"
pipe = pipeline(
"text-generation",
model=model_id,
torch_dtype="auto",
device_map="auto",
)
messages = [
{"role": "user", "content": "Explain quantum mechanics clearly and concisely."},
]
outputs = pipe(
messages,
max_new_tokens=256,
)
print(outputs[0]["generated_text"][-1])
Alternatively, you can run the model via Transformers Serve to spin up a OpenAI-compatible webserver:
transformers serve
transformers chat localhost:8000 --model-name-or-path openai/gpt-oss-20b
Learn more about how to use gpt-oss with Transformers.
vLLM recommends using uv for Python dependency management. You can use vLLM to spin up an OpenAI-compatible webserver. The following command will automatically download the model and start the server.
uv pip install --pre vllm==0.10.1+gptoss \
--extra-index-url https://wheels.vllm.ai/gpt-oss/ \
--extra-index-url https://download.pytorch.org/whl/nightly/cu128 \
--index-strategy unsafe-best-match
vllm serve openai/gpt-oss-20b
Learn more about how to use gpt-oss with vLLM.
To learn about how to use this model with PyTorch and Triton, check out our reference implementations in the gpt-oss repository.
If you are trying to run gpt-oss on consumer hardware, you can use Ollama by running the following commands after installing Ollama.
# gpt-oss-20b
ollama pull gpt-oss:20b
ollama run gpt-oss:20b
Learn more about how to use gpt-oss with Ollama.
If you are using LM Studio you can use the following commands to download.
# gpt-oss-20b
lms get openai/gpt-oss-20b
Check out our awesome list for a broader collection of gpt-oss resources and inference partners.
You can download the model weights from the Hugging Face Hub directly from Hugging Face CLI:
# gpt-oss-20b
huggingface-cli download openai/gpt-oss-20b --include "original/*" --local-dir gpt-oss-20b/
pip install gpt-oss
python -m gpt_oss.chat model/
You can adjust the reasoning level that suits your task across three levels:
The reasoning level can be set in the system prompts, e.g., "Reasoning: high".
The gpt-oss models are excellent for:
Both gpt-oss models can be fine-tuned for a variety of specialized use cases.
This small
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.