AI SeedbankHelp preserve open and free AI for humanity's future

← All models

openai_gpt-oss-20b

openai · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: apache-2.0 pipeline_tag: text-generation library_name: transformers tags:

  • vllm

Try gpt-oss · Guides · Model card · OpenAI blog


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-20b model. Check out gpt-oss-120b for the larger model.

Highlights

  • Permissive Apache 2.0 license: Build freely without copyleft restrictions or patent risk—ideal for experimentation, customization, and commercial deployment.
  • Configurable reasoning effort: Easily adjust the reasoning effort (low, medium, high) based on your specific use case and latency needs.
  • Full chain-of-thought: Gain complete access to the model’s reasoning process, facilitating easier debugging and increased trust in outputs. It’s not intended to be shown to end users.
  • Fine-tunable: Fully customize models to your specific use case through parameter fine-tuning.
  • Agentic capabilities: Use the models’ native capabilities for function calling, web browsing, Python code execution, and Structured Outputs.
  • MXFP4 quantization: The models were post-trained with MXFP4 quantization of the MoE weights, making 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.

Inference examples

Transformers

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

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.

PyTorch / Triton

To learn about how to use this model with PyTorch and Triton, check out our reference implementations in the gpt-oss repository.

Ollama

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.

LM Studio

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.


Download the model

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/

Reasoning levels

You can adjust the reasoning level that suits your task across three levels:

  • Low: Fast responses for general dialogue.
  • Medium: Balanced speed and detail.
  • High: Deep and detailed analysis.

The reasoning level can be set in the system prompts, e.g., "Reasoning: high".

Tool use

The gpt-oss models are excellent for:

  • Web browsing (using built-in browsing tools)
  • Function calling with defined schemas
  • Agentic operations like browser tasks

Fine-tuning

Both gpt-oss models can be fine-tuned for a variety of specialized use cases.

This smaller model gpt-oss-20b can be fine-tuned on consumer hardware, whereas the larger gpt-oss-120b can be fine-tuned on a single H100 node.

Citation

@misc{openai2025gptoss120bgptoss20bmodel,
      title={gpt-oss-120b & gpt-oss-20b Model Card}, 
      author={OpenAI},
      year={2025},
      eprint={2508.10925},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2508.10925}, 
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:c8937265423c0ee2a55a9440b6646cc9d24c3cb2&dn=openai_gpt-oss-20b

Open magnet in torrent client · infohash c8937265423c0ee2a55a9440b6646cc9d24c3cb2

Files & hashes

PathSizesha1sha256
LICENSE11.1 KB (11,357 B)7a4a3ea2424c09fbe48d455aed1eaa94d912483558d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd
README.md6.9 KB (7,095 B)f6e25105129ce88f068afff463e0db36024e9ae803c2fcf292549176757b85c911e7dcf527aef3e4241d64b6caec94af3ecf3ac2
USAGE_POLICY200 B (200 B)b030f63aecc61cbaf2316a7b6401254f4312df74d6387ef7985019c45db8d9801e6ac5fd9f98f02b9f1c56f8c5af80c3e8f385d0
chat_template.jinja16.3 KB (16,738 B)dc7bb11927d29f653ba2740f2db2c688fd77592fa4c9919cbbd4acdd51ccffe22da049264b1b73e59055fa58811a99efbd7c8146
config.json1.8 KB (1,806 B)8fb5a4a03376ab5a12afd94b4ed93da61edf5b1c3a2a26ded679375b7928ddeca59764df7cea83220c1961035f6d6e232659e9ce
generation_config.json177 B (177 B)86f91466555bd40e3de0b1edee3d5d82f4ccdbfef9970ada892d2d1f72e3ed0a6535ccebadd11897318794ca671d8c7014c957da
metal/model.bin12.81 GB (13,750,886,400 B)5816383080b0e029d6824bded7de8229504b1cd0725b7f996b5a226d922f034a731aefc398652f670dcafc2efd78620509a0fef1
model-00000-of-00002.safetensors4.46 GB (4,792,272,488 B)7b44749f8509ac9b3d7f4a70496e6bb16d4f5cd016d0f997dcfc4462089d536bffe51b4bcea2f872f5c430be09ef8ed392312427
model-00001-of-00002.safetensors4.47 GB (4,798,702,184 B)a755b2110a3272fbd442f050758a74c33c55f9034fbe328ab445455d6f58dc73852b85873bd626986310abd91cd4d2ce3245eaea
model-00002-of-00002.safetensors3.88 GB (4,170,342,232 B)bc23f493b61fe807d47eebdddc1a8d71075f3ea7a18106b209e9ab35c3406db4f6f12a927364a058b21e9d1373d682e20674b303
model.safetensors.index.json35.5 KB (36,355 B)ae08521471ab125be4af84d0e51ecfc2458301190e085b977c4c9942f85938828e8c989ed7d5cdabf852e4da6a67c116cd502cd1
special_tokens_map.json98 B (98 B)73bd12e55e2004cdfff088f85092b39dba2ccdd0dd5e191d20c12d2fee1da5bae14ca1db0f5f4215300af691f23cdee97120a293
tokenizer.json26.6 MB (27,868,174 B)ca6023cf1735a6941cb94b61b78205180225cf6f0614fe83cadab421296e664e1f48f4261fa8fef6e03e63bb75c20f38e37d07d3
tokenizer_config.json4.1 KB (4,200 B)c021cddb0a9dd35b1bf83a9f145be2d9b37578919279e942392b742d633c7adbb89ebe002c98399db8926a7af5125c726f404070

Cite this release

Canonical URL
https://aiseedbank.org/models/openai_gpt-oss-20b/
Slug
openai_gpt-oss-20b
Infohash
c8937265423c0ee2a55a9440b6646cc9d24c3cb2
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: openai_gpt-oss-20b.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryopenai/gpt-oss-20b
Revision (pinned)6cee5e81ee83917806bbde320786a8fb61efebee
Fetched at2026-09-04T04:34:01Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T04:39:22Z

apache-2.025.65 GB (27,540,149,504 bytes)transformerssafetensorsgpt_osstext-generationvllmconversationaleval-resultsendpoints_compatible8-bitmxfp4paper: 2508.10925