ModelsReviewed · OpenAI

gpt-oss-20b (OpenAI open-weight model)

gpt-oss-20b is an open-weight text model from OpenAI for developers and hobbyists who want a reasoning model they can run on their own hardware. Its main catch is that it only works correctly with OpenAI's harmony message format. The card describes a 21B-parameter model with 3.6B parameters active, quantized with MXFP4, and says it runs within 16GB of memory. It also lists adjustable reasoning effort, function calling, Structured Outputs and fine-tuning support.

Researched 12 Nov 2026

In short.

gpt-oss-20b is an open-weight AI language model from OpenAI for developers and hobbyists who want to run a reasoning model on their own computer. Its main catch is that it must be used with OpenAI's harmony message format or it will not work correctly. The model card describes a 21B-parameter model with 3.6B parameters active and MXFP4 quantization, which the card says lets it fit within 16GB of memory. It also lists three reasoning-effort levels, function calling, built-in browsing and Python tools, Structured Outputs, and fine-tuning. The card gives install and run commands for Transformers, vLLM and Ollama, plus a download command for LM Studio. The card is the publisher's own document. It contains no benchmark numbers, prices, safety evaluation or context length, and it gives no hardware list beyond the 16GB claim. The licence text itself is not included in the card. The model is a usable starting point, but this report has not verified its quality, speed, memory or licence claims, and none of the commands were run.

Researched and written by an AI model and checked by a second AI model. How it works

The scope is the Hugging Face model card (README.md) for openai/gpt-oss-20b, pinned to commit 6cee5e81ee83917806bbde320786a8fb61efebee. The licence field in the card's front matter and the notices within the card are included. Excluded are: linked pages (gpt-oss.com, the cookbook guides, the arXiv model card paper 2508.10925, the OpenAI blog, the gpt-oss GitHub repository and its awesome list, the Transformers, Ollama and LM Studio documentation, and the Hugging Face collection); other folders, such as the original/ weights; and any separate LICENSE file. Nothing was tested: no install or serving command, code snippet, download, model output or benchmark was run or checked. Claims about speed, memory, quality and safety are reported as the card states them.

The overview

identity

gpt-oss-20b is an open-weight text-generation model published by OpenAI on the Hugging Face Hub as openai/gpt-oss-20b. Open-weight means the trained model files can be downloaded and run by others. The card describes it as the smaller of two gpt-oss models, with 21B parameters of which 3.6B are active. The larger gpt-oss-120b has its own card and is not covered here.

The page metadata sets the pipeline to text-generation and the library to transformers, and adds a vllm tag. The card cites arXiv 2508.10925 as its model card and gives a BibTeX entry with OpenAI as the author and 2025 as the year. This copy of the card is pinned to commit 6cee5e81ee83917806bbde320786a8fb61efebee. Apart from that commit and the vLLM package version in its install command, the card gives no separate release name or version number for the model.

assessment

The card is a practical starting point rather than a placeholder. It names intended uses, lists features and gives a Transformers code snippet. It also gives run commands for Transformers, vLLM and Ollama, a download command for LM Studio, and a raw-weights route. It says the 20b model is aimed at lower latency and local or specialised use, and it positions the 120b model for production work.

The main weakness is that the only evidence is the publisher's own description. The card says 'All evals were performed with the same MXFP4 quantization', but it contains no benchmark scores. This evidence therefore does not show how well the 20b model performs on any task.

Overall, the resource is useful for a developer or hobbyist who wants to try a self-hosted reasoning model with tool use. The card alone does not establish output quality, safety or cost-effectiveness.

users

Developers building applications or agents who want a model they can host themselves. The card highlights function calling with defined schemas, built-in web browsing, Python execution and Structured Outputs, which suit tool-using designs. The card does not show whether these work in any particular setup.

Local users. The card says the 20b model is meant for lower latency and local or specialised use, and that it runs within 16GB of memory. For running gpt-oss on consumer hardware it gives Ollama pull and run commands, and separately it gives an LM Studio command that downloads the model. The card does not say these routes are easier than the others or that they need no coding. It does not describe how to run the model in LM Studio after downloading it, and it gives no full hardware requirements. Whether these options suit a particular beginner or machine is unknown.

Researchers and teams who want to fine-tune. The card says the 20b model can be fine-tuned on consumer hardware and that parameter fine-tuning is supported. It gives no method, dataset format or training time.

Beginners: the card assumes comfort with Python packages, command lines, Hugging Face tooling and chat templates. It states that the harmony format is mandatory, and this rule is easy to miss. Anyone building a product should note the card's advice that the reasoning content is not intended to be shown to end users.

capabilities

Text generation with adjustable reasoning. The card offers low, medium and high reasoning levels, which are set in the system prompt, for example 'Reasoning: high'. It describes low as fast responses for general dialogue and high as deep, detailed analysis. It does not say how much extra compute or time each level uses.

Full chain-of-thought access. The card says developers can read the model's reasoning, which it presents as an aid to debugging and to trust in outputs. It also says this reasoning is not intended to be shown to end users.

Tool use. The card lists function calling with defined schemas, built-in web browsing, Python code execution and Structured Outputs. The GitHub sections it links for the browser and Python tools are not part of the evidence, so the tools' behaviour, sandboxing and limits are unknown.

Fine-tuning. The card says both models can be fine-tuned and that the 20b model can be fine-tuned on consumer hardware. Beyond this general statement, it gives no method, library or data requirement.

The card does not state the context length, supported languages, input types other than text, or safety and refusal behaviour. These are unknown.

Using it

requirements

Memory: the card says gpt-oss-20b runs within 16GB of memory and credits this to MXFP4 quantization of the mixture-of-experts weights. For the 20b model, it does not state the GPU model, system RAM, disk space, CPU needs or context length required, so these are unknown. The GPU examples in the card (NVIDIA H100, AMD MI300X) apply to the 120b model.

Software for the Transformers route: pip install -U transformers kernels torch. The card's example pipeline uses torch_dtype='auto' and device_map='auto'. The vLLM route needs uv, a pre-release build (vllm==0.10.1+gptoss), an extra package index at wheels.vllm.ai, a PyTorch nightly index labelled cu128 and the flag --index-strategy unsafe-best-match. Ollama and LM Studio must be installed separately. The card links to Ollama's download page and to the LM Studio website.

Harmony format: the model must be used with the harmony response format. The Transformers chat template applies it automatically. Calls made directly through model.generate need it applied manually, either through the chat template or with the openai-harmony package.

Licence: the page metadata declares Apache 2.0; see the rights section.

Unknown: supported operating systems, GPU vendors beyond the examples given, and whether the pre-release vLLM build works with a given driver stack.

mechanism

Harmony is a structured response format, and the card says the model was trained on it. The card says the model should only be used with this format, so a plain text prompt sent without it is not the expected input. The card does not describe the format's internal structure. It links the openai-harmony package and repository, but they are not part of the evidence.

Quantization: the card says the model was post-trained with MXFP4 quantization of its mixture-of-experts (MoE) weights. Quantization stores weights in fewer bits to reduce memory use. The card does not say how much accuracy this costs compared with unquantized weights.

Mixture-of-experts: the card describes 3.6B of the 21B parameters as active. It does not explain how the model decides which parameters to use, or how this affects speed on a given device.

Reasoning effort is selected with a system-prompt string. The card gives descriptions for low, medium and high but does not explain how the setting changes internal computation.

setup

Transformers (Python): install with pip install -U transformers kernels torch. Then create a text-generation pipeline with model 'openai/gpt-oss-20b', torch_dtype 'auto' and device_map 'auto'. The card also gives two commands for an OpenAI-compatible web server: transformers serve to start it, and transformers chat localhost:8000 --model-name-or-path openai/gpt-oss-20b to chat with it.

vLLM (server): the card says vLLM recommends uv for Python dependency management, and that its commands download the model and start an OpenAI-compatible web server. The card's full install command, split across several lines there and joined into one line here, is: 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. Then start the server with vllm serve openai/gpt-oss-20b.

Ollama: after installing Ollama, the card gives ollama pull gpt-oss:20b and ollama run gpt-oss:20b.

LM Studio: the card gives lms get openai/gpt-oss-20b to download the model. It gives no further steps for running the model in LM Studio.

Raw weights: download with huggingface-cli download openai/gpt-oss-20b --include "original/*" --local-dir gpt-oss-20b/, then run pip install gpt-oss and python -m gpt_oss.chat model/. The card downloads to one folder (gpt-oss-20b/) but runs the chat tool on another (model/), so check the path before running.

No commands were run for this report. The commands above are copied from the card, with the vLLM install joined into one line. The Transformers pipeline code is summarised here, and the full snippet is in the card. How these commands behave on any given machine is unknown.

example

The card's only full code example is a Transformers pipeline. It sends one user message, 'Explain quantum mechanics clearly and concisely.', limits the reply to max_new_tokens=256 and prints the last entry of the generated output. Because this route uses the pipeline's chat handling, the harmony format is applied automatically.

The card does not show the output of this example, and it gives no version that sets the reasoning level. The example was not run for this report, so its output, runtime and memory use are unknown.

Assessment & evidence

limitations

Format dependency: the card says the model should only be used with the harmony format and will not work correctly otherwise. This is a hard requirement that is easy to miss when sending plain prompts directly to the model.

Reasoning visibility: the card says the full chain-of-thought is not intended for end users, so a product that displays it would go against the card's stated intent.

Evidence gaps: the card contains no benchmark numbers, safety evaluation, training-data description, context window or language coverage. The paper it links as the model card (arXiv 2508.10925) is not part of the evidence and may contain some of these details. Here, they are unknown.

Setup fragility: the vLLM route depends on a pre-release build and nightly PyTorch packages, which may change. The card's download and chat commands also use different folder names.

Scope: the card covers only the 20b model and points larger production workloads to the 120b model.

reasoning

The case for the 20b model rests on the publisher's stated design: a smaller model for lower latency and local use, with reasoning control, tool use and open weights. The card gives enough concrete commands and format rules to start a trial, so it is a usable resource rather than a stub.

The case for caution is that every performance, memory and safety statement comes from the card itself, and the card includes no test numbers. Check the 16GB figure and the quality claims on your own hardware, and check the Apache 2.0 description against the full licence.

Fit: a developer who can follow the harmony rule and wants a self-hosted model with tool calls has a clear starting point. Among its options, the card lists Ollama pull and run commands for consumer hardware and an LM Studio download command. It does not say these options are easier than the others or that they need no coding. It gives no full LM Studio procedure for running the model and no hardware requirements beyond the 16GB memory claim. Their suitability for a beginner is therefore unknown. A team that needs production quality should run its own evaluation before deciding, especially as the card directs production use to a different model, gpt-oss-120b.

alternatives

Within the same family: gpt-oss-120b. The card positions it for production, general-purpose, high-reasoning work and says it fits a single 80GB GPU such as an NVIDIA H100 or AMD MI300X. This is a hardware trade-off against the 20b model's 16GB claim.

Ways to run the model: the card names Transformers, vLLM, Ollama, LM Studio, a PyTorch and Triton reference implementation in the gpt-oss repository, and the gpt-oss chat tool. The best fit depends on your hardware and on whether you need a server or a desktop app. The reference implementation and chat tool are not part of the evidence.

Other open-weight models: the evidence contains no comparison with other models, so this report cannot say whether gpt-oss-20b is better, worse or cheaper for a given task.

The card also links an awesome-gpt-oss list and inference partners. Those pages are not part of the evidence.

evidence

The evidence is one document: the Hugging Face model card (README.md) for openai/gpt-oss-20b, pinned to commit 6cee5e81ee83917806bbde320786a8fb61efebee.

The model card is the publisher's own document. It includes no independent evaluation, third-party reproduction, review or incident report, so every claim in this report is the publisher's claim.

The card's claims were not reproduced or checked against external sources. The linked paper, guides and repositories are not part of the evidence, so anything that depends on them is unknown.

Access & freshness

costs

The card gives no prices: no API price, hosting fee, cloud cost or hardware purchase cost. These costs are unknown.

Downloading and storing the weights: the card publishes the weights for download but gives no file size. The storage and bandwidth needed, and the cost of hardware that meets the 16GB claim, are unknown.

Licence fee: the page metadata declares Apache 2.0, and the card calls the licence permissive. The card does not mention a fee. Whether any licence terms carry a cost depends on the licence text, which is not included in the card.

Latency and compute: the card says the 20b model suits lower latency and that higher reasoning levels give deeper analysis. It gives no timings or token counts, so the compute cost per answer at each reasoning level is unknown.

Fine-tuning: the card says the 20b model can be fine-tuned on consumer hardware but gives no time or cost estimate, so fine-tuning cost is unknown.

rights

The page metadata sets license: apache-2.0. The Highlights describe a 'Permissive Apache 2.0 license' that lets users build 'without copyleft restrictions or patent risk', including for commercial deployment.

These descriptions come from the card itself. The evidence does not include the licence text, any NOTICE file, or any separate terms for the weights or for the gpt-oss and harmony repositories. The card's wording on patents and commercial use is therefore the publisher's statement, not a verified licence term. Check it against the full licence in the repository before commercial use.

The card gives a BibTeX citation (author OpenAI, year 2025, arXiv 2508.10925). It does not address terms for model outputs, acceptable-use rules or third-party components, so these are unknown.

freshness

This copy of the card is pinned to commit 6cee5e81ee83917806bbde320786a8fb61efebee. The card shows no last-updated date.

The card's citation gives the year 2025, and its vLLM install pins version 0.10.1+gptoss. Install instructions that rely on pre-release and nightly builds can go out of date, so the commands may no longer work as written. This was not checked.

The card does not indicate that the model is deprecated, abandoned or replaced. Whether a newer revision, a successor model or a later vLLM build exists when you read this is unknown.

actions

Before commercial use, check the full licence in the repository, including any notices. The card does not include the licence text.

Choose from the routes the card lists: Ollama pull and run commands (offered for consumer hardware), an LM Studio download command, the Transformers snippet or transformers serve, and a vLLM server. The card does not compare how easy these routes are, does not give full setup requirements for Ollama or LM Studio, and does not explain how to run the model in LM Studio after downloading it. Check each tool's own instructions, and confirm that the pinned versions still install before relying on them.

Before downloading the weights, check your machine against the 16GB memory claim. The card gives no other hardware figures.

If you write your own inference code, apply the harmony format through the chat template or the openai-harmony package. Do not send plain prompts straight to the model.

Before running the raw-weights commands, fix the folder mismatch between the download folder and the chat path.

Before relying on output quality, test the model on your own tasks, because the card has no benchmark numbers. The linked paper may include evaluation details, but it is not part of the evidence.

As the card advises, do not show the model's reasoning content to end users.

Evidence for this report

selected-page.txtselected · checked 2026-11-12