GPT OSS 20B pricing & specs

OpenAI · released 2025-08-05 · ● verified 2026-11-15

input / 1M$0.03via DeepInfra
output / 1M$0.14via DeepInfra
context131.1K
max output16.4K

GPT OSS 20B is an OpenAI model released on 2025-08-05. At $0.03 per million input tokens and $0.14 per million output tokens, its blended price of $0.0575 per 1M tokens is lower than 96% of the 184 models we track. It offers text input, a 131.1K-token context window, built-in reasoning, tool calling and structured output. Its weights are open, and it is available from 4 tracked hosting providers.

Ranked #1 of 20 in Cheapest GPT (OpenAI) Models, #3 of 20 in Cheapest Claude Alternatives, #3 of 20 in Cheapest Models With Tool Calling and #3 of 20 in Cheapest Reasoning Models.

// price history ($/1M tokens)

$0.345
input $/1Moutput $/1M2025-08-05 → 2026-11-15

// cheaper or similar alternatives

modelinoutctxvs GPT OSS 20B
Gemma 4 E2B IT$0.04$0.08131.1K−13%
Qwen3.7 Flash$0.03$0.131M−4.3%
GPT OSS 120B$0.037$0.17131.1K+22.3%
DeepSeek V4 Flash 0731$0.06$0.181.05M+56.5%
GPT OSS Safeguard 20B$0.07$0.20128K+78.3%

// price by host

hostin $/1Mout $/1M
DeepInfra$0.03$0.14
Amazon Bedrock$0.07$0.30
Groq$0.075$0.30
Cloudflare Workers AI$0.20$0.30

// embed this price badge

Show the live price of GPT OSS 20B in your README or docs (updated daily):

GPT OSS 20B API price badge
[![GPT OSS 20B price](https://aisignals.dev/badge/openai/gpt-oss-20b.svg)](https://aisignals.dev/models/openai/gpt-oss-20b)

// faq

How much does GPT OSS 20B cost?

GPT OSS 20B costs $0.03 per million input tokens and $0.14 per million output tokens (cheapest tracked host: DeepInfra). At 50M input and 10M output tokens per month that is about $2.90.

What is the context window of GPT OSS 20B?

131.1K tokens, with up to 16.4K output tokens per request.

What are cheaper alternatives to GPT OSS 20B?

Gemma 4 E2B IT ($0.04 in / $0.08 out), Qwen3.7 Flash ($0.03 in / $0.13 out) offer the same input types and capabilities for less.

Is GPT OSS 20B open weights?

Yes. It is available from 4 tracked hosts; the cheapest is DeepInfra at $0.03 input and $0.14 output per million tokens.

// spec sheet

input / 1M
$0.03
output / 1M
$0.14
blended (3:1)
$0.0575
context
131.1K
max output
16.4K
input types
text
reasoning
yes
tool calling
yes
structured output
yes
open weights
yes
knowledge cutoff
2024-06
price source
DeepInfra

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Gemma 4 E2B IT$0.04$0.08$2.80
Qwen3.7 Flash$0.03$0.13$2.80
GPT OSS 20B$0.03$0.14$2.90
GPT OSS 120B$0.037$0.17$3.55

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.