Skip to content

AI Agents & Coding · Free

gpt-oss-120b

gpt-oss-120b is an open-weight large language model from OpenAI, published on Hugging Face under the Apache 2.0 license. It is a mixture-of-experts model with 117 billion total parameters, of which about 5.1 billion are active for each token, and it sits alongside a smaller sibling, gpt-oss-20b (21 billion parameters, 3.6 billion active). OpenAI describes gpt-oss-120b as intended for production, general-purpose and high-reasoning use cases.

Who it is for: teams that want a capable reasoning model they can run on their own infrastructure, fine-tune, or buy from several competing inference providers instead of a single vendor. Because the weights are downloadable, it is a common reference point when developers compare self-hosting an LLM against paying per token for an API.

Key features, per the official model card: - Fits on a single 80 GB GPU, such as an NVIDIA H100 or AMD MI300X, because the mixture-of-experts weights were post-trained with MXFP4 quantization. OpenAI says all of its evaluations used the same MXFP4 weights. - Configurable reasoning effort (low, medium or high) to trade answer quality against latency and token use. - Full chain-of-thought access for debugging. OpenAI notes this reasoning is not intended to be shown to end users. - Native agentic capabilities: function calling, web browsing, Python code execution and Structured Outputs. - Fine-tunable; OpenAI says the 120b model can be fine-tuned on a single H100 node. - Must be used with OpenAI's harmony response format. The Transformers chat template applies it automatically; calling the model without it will not work correctly.

How to run it: the model card documents Hugging Face Transformers (including an OpenAI-compatible server through Transformers Serve), vLLM, Ollama, LM Studio and OpenAI's PyTorch and Triton reference implementations. Production deployments typically use a serving engine such as vLLM or SGLang.

Pricing type: the weights are free to download and use under Apache 2.0. Running it costs whatever your GPUs cost, or you can pay per token through hosted providers. For example, Together AI listed it at $0.15 per million input tokens and $0.60 per million output tokens, with a 131,072-token context window, as of November 18, 2026.

Alternatives: other open-weight models such as Qwen, DeepSeek, Kimi and GLM releases, or closed API models when you don't need control of the weights.

Official page: https://huggingface.co/openai/gpt-oss-120b

Official site