OpenAI logo Open weights · Apache 2.0

GPT-OSS-20B

The smaller sibling of GPT-OSS-120B, released August 2025: a 21B-parameter MoE with 3.6B active, open-weight under Apache 2.0 and designed for edge deployment on 16 GB devices.

Cheapest via Geodd
Input
$0.03 /1M tokens
Output
$0.14 /1M tokens
Geodd Novita Together AI DigitalOcean Replicate 7 providers

Key Specifications

Context window
131K tokens
Max output
131K tokens
Knowledge cutoff
Released
Parameters
21B, 3.6B active
Inputs
Text
Capabilities Show details
Reasoning Thinks before it answers, always on or as a switchable mode. Function calling Connect to external tools, APIs, and systems. Structured output Return responses in structured formats like JSON.

Hosted API pricing

Provider Input /1M tokens Output /1M tokens Cached input /1M Cost at 10M in + 2M out
Geodd logo Geodd Cheapest $0.03 $0.14 $0.58 View
Novita logo Novita $0.04 $0.15 $0.70 View
Together AI logo Together AI $0.05 $0.20 $0.90 View
DigitalOcean logo DigitalOcean $0.05 $0.45 $1.40 View
Replicate logo Replicate $0.09 $0.36 $1.62 View
EcoHash logo EcoHash $0.20 $0.28 $0.10 $2.56 View
Cloudflare logo Cloudflare $0.20 $0.30 $2.60 View

Heads up: Base-tier, on-demand rates per 1M tokens; cached, batch and long-context tiers excluded. A provider may serve a shorter context or a quantized build than the creator's release. Verify before provisioning. More on how we price.

Estimated cost to self-host

GPT-OSS-20B needs about 14 GB of GPU memory at 4-bit with 32K context. The cheapest rental that fits is 1× RTX 4060 Ti at about $79 a month.

That costs the same as roughly 2B tokens a month on Geodd's API. Self-hosting is more expensive below that volume.

Fits on 1 Single node ≤ 8
Precision Memory Cheapest fit (32K context) Cost /mo Break-even vs API
4-bitINT4 / FP4
14 GB
$79
2B tokens /mo
8-bitFP8 / INT8
23 GB
$158
3B tokens /mo
16-bitFP16 / BF16
45 GB
$317
7B tokens /mo

Estimates based on median on-demand rates for Nvidia GPUs. Memory is weights plus KV cache for one request, using FP8 KV cache where supported and FP16/BF16 otherwise. Break-even assumes a 5:1 input-to-output ratio. No guarantee of runtime support, usable performance, or that a matching quantized build exists. How we estimate costs.

Similarly priced models

The models nearest GPT-OSS-20B by blended rate, each at its own cheapest provider.

Model Blended /1M vs GPT-OSS-20B
Meta Llama 3.1 8B Meta $0.025 −48%
DeepSeek DeepSeek OCR-2 DeepSeek $0.03 −38%
Alibaba Cloud Qwen3.7-Flash Alibaba Cloud $0.0467 −3%
OpenAI GPT-OSS-20B This model OpenAI $0.0483
Cohere Command R7B Cohere $0.0583 +21%
Google Cloud Gemma 3 12B Instruct Google Cloud $0.0583 +21%
Meta Llama 3.2 1B Meta $0.0583 +21%
OpenAI GPT-OSS-120B OpenAI $0.0633 +31%
Nvidia Nemotron 3 Nano 30B A3B Nvidia $0.075 +55%
Meta Llama 3 8B Meta $0.0833 +72%
Alibaba Cloud Qwen3-Coder-30B-A3B Alibaba Cloud $0.0917 +90%

Prices are USD per 1M tokens at each model's cheapest listed provider. Blended is the cost of 10M input plus 2M output tokens, spread over the 12M.

Frequently Asked Questions

What is GPT-OSS-20B good for?

Local, edge and low-cost text work under Apache 2.0, small enough for a single consumer GPU.

When is GPT-OSS-20B not a good fit?

Image input, since it is text only. Its knowledge is older than the rest of OpenAI's lineup, and GPT-OSS-120B carries far more parameters under the same licence.

What is the cheapest way to run GPT-OSS-20B?

Hosted, unless you push serious volume. Geodd charges $0.03 in / $0.14 out per 1M tokens. The cheapest rental that fits is 1x RTX 4060 Ti at $79 a month, which costs the same as about 2B tokens a month on that API.

Can I self-host GPT-OSS-20B?

Yes. The weights are Apache 2.0 licensed. At 4-bit it needs about 14 GB of GPU memory, which starts at roughly $79 a month on the cheapest rental that fits.

More from OpenAI

Model Context Input /1M Output /1M
OpenAI GPT-OSS-120B Open weights 131K $0.04 $0.18
OpenAI GPT-5 Nano 400K $0.05 $0.40
OpenAI GPT-4.1 Nano 1M $0.10 $0.40
OpenAI GPT-4o Mini 128K $0.15 $0.60
OpenAI GPT-5.6 Luna 1M $0.20 $1.20
OpenAI GPT-5.4 Nano 400K $0.20 $1.25
OpenAI GPT-5 Mini 400K $0.25 $2.00
OpenAI GPT-4.1 Mini 1M $0.40 $1.60