Overview
gpt-oss-20b is an open-weight language model from OpenAI, released in 2025 under the gpt-oss family.
- License: Apache 2.0
- Context length: 128K tokens
- Languages: Multilingual
- Minimum hardware: ~16 GB VRAM
- Strengths: agentic reasoning and tool use, runs on 16 GB
Highlights
- Permissive Apache 2.0 — no copyleft or patent risk, cleared for commercial deployment.
- Configurable reasoning effort — set low, medium, or high to trade quality against latency.
- Full chain-of-thought — complete access to the model's reasoning for debugging and trust.
- Agentic capabilities — native function calling, web browsing, Python execution, and structured outputs.
- MXFP4 quantization — MoE weights post-trained in MXFP4 so the model runs within 16GB of memory.
What it is good at
gpt-oss-20b ships with tool calling, chain-of-thought reasoning, and code capabilities, which map to a few clear jobs:
- Tool and function calling — the model can emit structured calls to external functions, so you can wire it into agents, scripts, or local apps that fetch data and run actions.
- Step-by-step reasoning — it produces visible chain-of-thought and supports adjustable reasoning effort, useful for math, logic, and multi-step problems where you want to see the working.
- Code generation and review — it writes functions, explains snippets, and helps debug across common languages, with the 128K context holding a sizable codebase in one session.
Running it locally
At 21.5B total parameters, gpt-oss-20b is sized for consumer hardware. With its 4-bit MXFP4 quantization it fits in about 16GB of memory, so a GPU like the RTX 5080 (16GB) handles it, and a 24GB card such as the RTX 4090 gives more headroom for longer context and the full 128K window. Around 24GB of system RAM works as a CPU fallback, though a GPU is much faster.
huggingface-cli download openai/gpt-oss-20b
You can load the weights with Hugging Face Transformers or serve them through vLLM, or skip the setup entirely and open gpt-oss-20b in Atomic Chat with a one-click download.
License
gpt-oss-20b is released under the Apache 2.0 license. That permits commercial use, modification, redistribution, and fine-tuning, with no fee and no restriction on building it into your own products, as long as you keep the license and attribution notices.
