Back to Models

GPT OSS 120B

openaiopenai/gpt-oss-120b

OpenAI's open-source 120B model with hybrid reasoning, extended thinking, efficient code generation, agentic search, computer use, and tool use capabilities.

GPT OSS 120B is OpenAI's first open-weight language model since GPT-2, released in August 2025 under the Apache 2.0 license. It is a 117B-parameter Mixture-of-Experts (MoE) transformer that activates only 5.1B parameters per forward pass, making it deployable on a single 80GB GPU (NVIDIA H100 or AMD MI300X). The model was post-trained using the same chain-of-thought reinforcement learning techniques as OpenAI's o-series reasoning models, enabling configurable reasoning effort (low / medium / high), full CoT visibility, tool use, and Structured Outputs.

In production, GPT OSS 120B is a strong contender for high-reasoning, agentic workloads where self-hosting is required β€” think on-premises enterprise deployments, sensitive-data processing, or government installations. It achieves near-parity with OpenAI o4-mini on core reasoning benchmarks while outperforming o3-mini across nearly every evaluation. The model is available via the OpenAI Responses API and through TheRouter's routing infrastructure for those who prefer a managed API experience while retaining the open-weight option.

Best for
  • β€’ High-reasoning self-hosted deployments β€” deploy on-premises on a single H100 or MI300X with full data sovereignty.
  • β€’ Agentic tool use workflows β€” function calling, web search integration, Python code execution within agentic loops.
  • β€’ Competitive programming and math β€” Codeforces Elo ~2620 and AIME 2024 with tools at 96.6%.
  • β€’ Medical and health reasoning β€” nearly matches o3 on HealthBench, outperforming o1, o4-mini, and GPT-4o.
  • β€’ Fine-tuning for specialized domains β€” Apache 2.0 license allows unfettered customization.
Reach for something else if
  • β€’ Latency-sensitive real-time applications β€” the high-reasoning mode produces long CoT traces; use gpt-oss-20b with low reasoning effort instead.
  • β€’ Multimodal tasks β€” this is a text-only model. For vision or audio, use GPT-4o or GPT-4o-mini via TheRouter.
  • β€’ Edge or mobile deployment β€” 60.8 GiB checkpoint is too large for most edge devices; use gpt-oss-20b (12.8 GiB) instead.
Context Length
128K
Max Output
16K
Input Priceper 1M tokens
$0.162/ 1M tokens
Output Priceper 1M tokens
$0.648/ 1M tokens

Modalities

text→text

Pricing Breakdown

TypeRate
Input$0.162 / 1M tokens
Output$0.648 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatreasoningstop

Specifications

Release date2025-08-05openai.com β†—verified
ArchitectureMoE Transformer β€” 36 layers, 128 experts, top-4 active, 116.8B total / 5.1B active paramsarxiv.org β†—verified
LicenseApache 2.0openai.com β†—verified
Knowledge cutoffJune 2024arxiv.org β†—verified
Tokenizero200k_harmony (201,088 tokens)arxiv.org β†—verified
QuantizationMXFP4 (4.25 bits/param on MoE weights)arxiv.org β†—verified
Checkpoint size60.8 GiBarxiv.org β†—verified
Training compute2.1 million H100-hoursarxiv.org β†—verified
Reasoning modeslow / medium / high (configurable in system prompt)openai.com β†—verified

Benchmarks

BenchmarkDistributionScoreSource
MMLU
High reasoning mode
90.0%%arxiv.org β†—
AIME 2024
With tools, high reasoning mode
96.6%%arxiv.org β†—
AIME 2025
With tools, high reasoning mode
97.9%%arxiv.org β†—
Codeforces Elo
Estimated Elo rating; high reasoning mode with terminal tool
~2620openai.com β†—
SWE-Bench Verified
High reasoning mode
62.4%%arxiv.org β†—
GPQA Diamond
With tools, high reasoning mode
80.9%%arxiv.org β†—
HLE
With tools, high reasoning mode. HLE is an extremely difficult benchmark.
19.0%%arxiv.org β†—
HealthBench
High reasoning mode. Nearly matches o3, outperforms o1, GPT-4o, o3-mini, and o4-mini.
57.6%%arxiv.org β†—
HealthBench Hard
High reasoning mode, challenging subset of HealthBench
30.0%%arxiv.org β†—
Tau-Bench Retail
High reasoning mode β€” agentic function calling evaluation
67.8%%arxiv.org β†—
MMMLU (Average)
14-language average, high reasoning mode
81.3%%arxiv.org β†—

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "openai/gpt-oss-120b",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'

Chat completion

Use standard OpenAI-compatible chat completion via TheRouter. The model uses the harmony chat format; TheRouter handles the conversion automatically.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-oss-120b",
    "messages": [
      {"role": "user", "content": "Explain the benefits of Mixture-of-Experts architecture in large language models."}
    ]
  }'

More from openai

Similar models

Cross-provider sibling models

Frequently asked

Can I use GPT OSS 120B through TheRouter's API without self-hosting?

Yes. TheRouter routes requests to gpt-oss-120b through its managed infrastructure. You get the open-weight model via a standard OpenAI-compatible API at https://api.therouter.ai/v1, without managing your own GPU hardware.

re-authored by TheRouteropenai.com β†—
What license does GPT OSS 120B use?

Apache 2.0 β€” a permissive license that allows commercial use, modification, distribution, and sublicensing without copyleft restrictions or patent risk.

re-authored by TheRouteropenai.com β†—
How does GPT OSS 120B compare to GPT-4o?

GPT OSS 120B is a reasoning-focused open-weight model that outperforms GPT-4o on math (AIME), coding (Codeforces), and health (HealthBench) benchmarks. However, GPT-4o is a multimodal model (vision, audio) while GPT OSS 120B is text-only. For multimodal tasks, use GPT-4o or GPT-4o-mini via TheRouter.

re-authored by TheRouterarxiv.org β†—
What hardware do I need to self-host GPT OSS 120B?

A single 80GB GPU such as NVIDIA H100 or AMD MI300X. The quantized checkpoint is 60.8 GiB. With MXFP4 quantization and MoE architecture, only 5.1B parameters are active per forward pass, enabling efficient inference on consumer GPU hardware.

re-authored by TheRoutergithub.com β†—
Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release dateopenai.com β†—2026-05-29verified
Architecturearxiv.org β†—2026-05-29verified
Licenseopenai.com β†—2026-05-29verified
Knowledge cutoffarxiv.org β†—2026-05-29verified
Tokenizerarxiv.org β†—2026-05-29verified
Quantizationarxiv.org β†—2026-05-29verified
Checkpoint sizearxiv.org β†—2026-05-29verified
Training computearxiv.org β†—2026-05-29verified
Reasoning modesopenai.com β†—2026-05-29verified
MMLUarxiv.org β†—2026-05-29verified
AIME 2024arxiv.org β†—2026-05-29verified
AIME 2025arxiv.org β†—2026-05-29verified
Codeforces Eloopenai.com β†—2026-05-29to verify
SWE-Bench Verifiedarxiv.org β†—2026-05-29verified
GPQA Diamondarxiv.org β†—2026-05-29verified
HLEarxiv.org β†—2026-05-29verified
HealthBencharxiv.org β†—2026-05-29verified
HealthBench Hardarxiv.org β†—2026-05-29verified
Tau-Bench Retailarxiv.org β†—2026-05-29verified
MMMLU (Average)arxiv.org β†—2026-05-29verified
Can I use GPT OSS 120B through TheRouter's API without self-hosting?openai.com β†—2026-05-29to verify
What license does GPT OSS 120B use?openai.com β†—2026-05-29to verify
How does GPT OSS 120B compare to GPT-4o?arxiv.org β†—2026-05-29to verify
What hardware do I need to self-host GPT OSS 120B?github.com β†—2026-05-29to verify
Help & contact