ホーム 暮らし Overview of gpt-oss

Overview of gpt-oss

長瀬 和樹 長瀬 和樹 • 更新: • 公開: • 読了約 30 分
目次

I found the following article interesting, so I have summarized it briefly.

1. gpt-oss

nf63701c59563

We have released "gpt-oss-120b" and "gpt-oss-20b". These are "state-of-the-art open-weight language models that provide powerful real-world performance at a low cost". Available under the flexible "Apache 2.0" license, these models outperform open models of similar size in reasoning tasks, demonstrate strong tool-use capabilities, and are optimized for efficient deployment on consumer hardware. These models are trained by combining reinforcement learning with methods based on OpenAI's cutting-edge internal models, including o3 and other frontier systems.

"gpt-oss-120b" achieves results "roughly equivalent to OpenAI o4-mini" on core reasoning benchmarks while running efficiently on "a single 80GB GPU". "gpt-oss-20b" achieves results "equivalent to OpenAI o3-mini" on general benchmarks and can run on "edge devices with as little as 16GB of memory", making it ideal for on-device use cases, local inference, or rapid iteration without the need for costly infrastructure. Both models excel in tool use, small-scale function calling, CoT reasoning (as seen in the results of the Tau-Bench agent evaluation suite), and HealthBench (where they outperform proprietary models such as OpenAI o1 and GPT-4o).

These models are compatible with the "Responses API", and are designed to be used within agent workflows that feature excellent instruction following, tool use such as web searching and Python code execution, and reasoning capabilities (including the ability to adjust the amount of reasoning processing for tasks that do not require complex reasoning or tasks aiming for very low-latency final output). These models are fully customizable, provide full chain-of-thought (CoT), and support "structured output".

Safety is the foundation of our approach to releasing all models, and it is particularly important for open models. In addition to running the models through comprehensive safety training and evaluation, we have also introduced an additional layer of evaluation by testing the adversarially fine-tuned "gpt-oss-120b" under the "Preparedness Framework". "gpt-oss" performs on par with our state-of-the-art models on internal safety benchmarks, providing developers with the same safety standards as our latest proprietary models. The results and details of this work are shared in the "research paper" and "model card". OpenAI's methodology has been reviewed by external experts, marking a step forward toward setting new safety standards for open-weight models.

We have also worked with early partners such as "AI Sweden", "Orange", and "Snowflake" to learn about real-world applications of open models, from hosting these models on-premises for data security to fine-tuning them on specialized datasets. We are very excited to offer these best-in-class open models so that everyone, from individual developers to large enterprises and government agencies, can run and customize AI on their own infrastructure. Combined with the models available via API, developers can choose the performance, cost, and latency required for their AI workflows.

2. Pre-training and Model Architecture


"gpt-oss", was trained using state-of-the-art pre-training and post-training techniques, with a particular focus on reasoning, efficiency, and real-world usability across a wide range of deployment environments. While we have released other models such as "Whisper" and "CLIP", "gpt-oss" is the first open-weights language model since "GPT-2".

Each model is a Transformer utilizing Mixture-of-Experts (MoE) to reduce the number of active parameters required for input processing. "gpt-oss-120b" activates 51B parameters per token, while "gpt-oss-20b" activates 36B parameters. These models have a total of 117B and 21B parameters, respectively. Similar to "GPT-3", these models alternate between dense attention patterns and locally striped sparse attention patterns. For inference and memory efficiency, the models also use Grouped Multi-Query Attention with a group size of 8. For positional encoding, we use "RoPE" (Rotary Positional Embedding), natively supporting a context length of up to 128k.

The models were trained on a primarily English text-only dataset with a focus on STEM, coding, and general knowledge. For data tokenization, we used "o200k_harmony", a superset of the tokenizer used in "OpenAI o4-mini" and "GPT-4o". "o200k_harmony" is also open-sourced today.

For details on the model architecture and training, please refer to the model card.

3. Post-training

The models were post-trained using a process similar to "o4-mini". OpenAI's goal was to make the models compliant with the "OpenAIModelSpec", and to train them to be able to apply CoT reasoning and tool use before generating answers. By using the same methods as SoTA proprietary reasoning models, the models exhibit excellent performance even after training.

Similar to the OpenAI o-series reasoning models included in the API, the two open-weights models support three reasoning efforts (low, medium, high) that balance latency and performance. Developers can easily set the reasoning effort with a single sentence in the system message.

4. Evaluation

We evaluated "gpt-oss-120b" and "gpt-oss-20b" on standard academic benchmarks, measuring their capabilities in coding, competitive mathematics, health, and agent tool use compared to other OpenAI reasoning models such as "o3", "o3-mini", and "o4-mini".

"gpt-oss-120b" outperformed "OpenAI o3-mini" and was equal to or better than "OpenAI o4-mini" in competitive coding (Codeforces), general problem solving (MMLU and HLE), and tool calling (TauBench). Furthermore, it performed better than "o4-mini" in health-related queries (HealthBench) and competitive mathematics (AIME 2024 and 2025). Despite being a smaller model, "gpt-oss-20b" performed equal to or better than "OpenAI o3-mini" in these same evaluations, and outperformed "OpenAI o3-mini" in competitive mathematics and health.

5. Chain-of-thought (CoT)

Recent research has shown that monitoring CoT in reasoning models can help detect misconduct, provided the model is not undergoing direct supervised learning for CoT alignment. This view is shared by other researchers in the industry. Since the release of "OpenAI o1-preview", we have followed our principles and have not set direct supervision for the CoT of "gpt-oss". We believe this is essential for monitoring model misconduct, deception, and misuse. By releasing an open model with unsupervised chain-of-thought, we hope that developers and researchers will have the opportunity to study and implement their own CoT monitoring systems.

Developers should not display CoT directly to users within their applications. CoT may contain hallucinatory or harmful content, including language that does not reflect OpenAI's standard safety policies, and may contain information that the model has been explicitly instructed not to include in the final output.

6. Safety and Worst-Case Response

"gpt-oss" leverages state-of-the-art approaches to safety training. In pre-training, we excluded specific harmful data related to Chemical, Biological, Radiological, and Nuclear (CBRN) threats. In post-training, we used careful alignment and instruction hierarchies to train the model to refuse unsafe prompts and defend against prompt injection.

Once an open-weights model is released, attackers could potentially fine-tune the model for malicious purposes. We directly assessed these risks by fine-tuning the model based on expert data in biology and cybersecurity, creating domain-specific non-refusal versions for each domain, just as an attacker would. We then evaluated the capability levels of these models through internal and external testing. As detailed in the accompanying safety paper, this testing showed that even with robust fine-tuning leveraging OpenAI's industry-leading training stack, maliciously fine-tuned models could not reach high capability levels based on the "Preparedness Framework". This malicious fine-tuning methodology was reviewed by three independent expert groups, who provided recommendations to improve the training process and evaluation, many of which were adopted. Details of these recommendations are included in the model card. These processes represent a significant advancement for the safety of open models. Based on these findings, we decided to release the gpt-oss models. We hope these models will help accelerate safety training and alignment research across the industry.

To contribute to building a safer open-source ecosystem, we are hosting a "Red Teaming Challenge" that encourages researchers, developers, and enthusiasts around the world to collaborate on identifying new safety issues. This challenge has a prize pool of $500,000, which will be awarded based on reviews by expert judges from OpenAI and other leading labs. After the challenge concludes, we will publish a report based on verified results and open-source the evaluation datasets. This will allow the broader community to benefit immediately. For details and how to participate, please refer to here.

7. Availability

"gpt-oss-120b" and "gpt-oss-20b" weights are available for free download from HuggingFace and are natively quantized in MXFP4. This allows "gpt-oss-120B" to run within 80GB of memory, while "gpt-oss-20b" requires only 16GB.

These models have been post-trained in the "Harmony Prompt format". Also, to facilitate deployment, we have open-sourced the "Harmony Renderer" in both Python and Rust. Furthermore, we are releasing reference implementations for running inference on PyTorch and Apple Metal platforms, as well as a collection of sample tools for the models.

These models are designed to be flexible and easy to run anywhere, whether locally, on-device, or through third-party inference providers. To support this, we partnered with major deployment platforms such as Azure, Hugging Face, vLLM, Ollama, llama.cpp, LM Studio, AWS, Fireworks, Together AI, Baseten, Databricks, Vercel, Cloudflare, and OpenRouter prior to release to ensure the models are widely available to developers. On the hardware side, we collaborated with industry leaders like NVIDIA, AMD, Cerebras, and Groq to ensure optimal performance across a variety of systems.

In today's release, Microsoft is also providing a GPU-optimized version of 'gpt-oss-20b' for Windows devices. Powered by the ONNX Runtime, these models support local inference and are available through Foundry Local and the AI Toolkit for VS Code, making it easy for Windows developers to build using open models.

For developers seeking fully customizable models that can be fine-tuned and deployed in their own environments, 'gpt-oss' is the ideal choice. For customers who require multimodal support, built-in tools, and seamless integration with our platform, the models available through our API platform remain the best option. We continue to listen to feedback from developers and plan to consider API support for 'gpt-oss' in the future.

If you would like to try the models, please visit the Open Model Playground. For more information on how to use the models with various ecosystem providers and how to fine-tune them, please refer to the guide.

Related



同じカテゴリの記事

長瀬 和樹
トレンドリサーチャー 長瀬 和樹
プロフィールを見る →

芸能取材歴10年のデスク。所属事務所の公式リリース、番組公式サイト、配信サービスの告知を一次情報として採用し、裏付けの取れない内容は記事にしていません。

おすすめの関連記事