gpt-oss-120b vs gpt-oss-20b

gpt-oss-120b (OpenAI, August 2025) and gpt-oss-20b (OpenAI, August 2025), compared on price, context window, access and specs. gpt-oss-20b is the cheaper API at $0.018 in and $0.09 out per million tokens, about 67% less than gpt-oss-120b on a typical 3:1 input-to-output mix.

Updated 5 December 2026 · read each row across; the best value in a row is marked

At a glance

Released
5 August 2025
5 August 2025
Access
Open weights (unrestricted)
Open weights (unrestricted)
Country
United States of America
United States of America

Price and API

Input, per 1M tokens
$0.03on Hugging Face
$0.018on Hugging FaceLowest
Output, per 1M tokens
$0.15on Hugging Face
$0.09on Hugging FaceLowest
Context window
131K tokens
131K tokens
Max output
131K tokens
131K tokens
Takes
Text
Text
Returns
Text
Text
Knowledge cutoff
June 2024
June 2024
Supports
ReasoningTool callingStructured outputOpen weights
ReasoningTool callingStructured outputOpen weights

Scale and training

Parameters
117B116,830,000,000Largest
21B20,910,000,000
Training compute
4.9 × 10²⁴ FLOPMost
5.5 × 10²³ FLOP
Training hardware
NVIDIA H100 SXM5 80GB
NVIDIA H100 SXM5 80GB
Confidence
Confident
Confident

Notes

Parameters
Total parameters: 116.83B
Total parameters: 20.91B
Training compute
"The training run for gpt-oss-120b required 2.1 million H100-hours to complete" (2.1e6 hours)*(1,979 H100 FLOP/s)*(30% utilization)*(60*60) = 4.49e24 They also do post training similar to o3, which we assume adds at least 10% as much compute, so we multiply this estimate by 1.1 to get 4.94e24
"The training run for gpt-oss-120b required 2.1 million H100-hours to complete, with gpt-oss-20b needing almost 10x fewer" assuming "almost 10x fewer" means ~9x fewer: 4.94e24/9 = 5.49e23
Dataset size
(pretraining FLOPs)/(6*5.1B active parameters)
(pretraining FLOPs)/(6*3.6B active parameters)

Which should you pick?

High-volume or budget workloads
gpt-oss-20b · Lowest list price: $0.018 in and $0.09 out per million tokens via Hugging Face.

Questions people ask

Is gpt-oss-120b better than gpt-oss-20b?

It depends on the job. For high-volume or budget workloads, gpt-oss-20b has the edge: lowest list price: $0.018 in and $0.09 out per million tokens via Hugging Face. Try them on your own prompts in the AIPortalX playground before you commit.

Which is cheaper: gpt-oss-120b or gpt-oss-20b?

gpt-oss-20b: $0.018 in and $0.09 out per million tokens at Hugging Face. gpt-oss-120b starts at $0.03 in and $0.15 out per million tokens. These are list prices from the cheapest provider we track, and they change often.

Which has the bigger context window?

They match, at 131K tokens each.

Where can I use gpt-oss-120b and gpt-oss-20b through one API?

Hugging Face, OpenRouter, DeepInfra and Amazon Bedrock serve all of them, so you can switch models without opening another account.

When were they released?

gpt-oss-120b in August 2025 and gpt-oss-20b in August 2025.

Other comparisons