gpt-oss-120b
a powerful open-weights reasoning language model by OpenAI
2 min readupdated
The model is designed for complex tasks requiring logical thinking, agent workflows, and software development. It is a 117-billion-parameter MoE (Mixture of Experts) model with 5.1 billion active parameters that fits on a single 80GB GPU thanks to MXFP4 quantization (weight compression format). It features an open Apache 2.0 license, an adjustable reasoning level, and full access to internal chain-of-thought logic. The model will be useful for developers, researchers, and companies building smart assistants and local services.
Key features
- Apache 2.0 license: complete freedom for commercial use, customization, and experiments without limitations.
- Adjustable reasoning: the ability to change the thinking level (low, medium, high) for specific tasks and latency requirements.
- Chain-of-thought: full access to the model's thinking process for debugging and increasing trust in the result.
- Agent capabilities: built-in support for function calling, web browsing, and Python code execution.
- MXFP4 quantization: weight optimization that allows running a large model on a single graphics card like an NVIDIA H100 or AMD MI300X.
What you can do
- Deploy a local server: launch an OpenAI-compatible API using vLLM or Transformers Serve to integrate into your applications.
- Create a smart assistant: configure an agent to work with code, web search, and execute structured tasks.
- Fine-tune the model: perform fine-tuning for specific corporate or specialized tasks on a single H100 node.
- Adjust thinking depth: switch reasoning modes in system prompts depending on the complexity of the current user query.
Example
from transformers import pipeline
import torch
model_id = "openai/gpt-oss-120b"
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])Read more
DetailsArchitecture: MoE with 117B parameters (5.1B active)
Hardware requirements: a single GPU with 80GB VRAM (for example, NVIDIA H100 or AMD MI300X)
Training features: harmony response format, MXFP4 quantization
License: Apache 2.0










Comments