GPT OSS 20B pricing & specs
OpenAI · released 2025-08-05 · ● verified 2026-11-29
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 178 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 Reasoning Models, #5 of 20 in Cheapest Claude Alternatives and #5 of 20 in Cheapest Models With Tool Calling.
// price history ($/1M tokens)
Tracks the selected provider’s quote, which may change providers over time.
// cheaper or similar alternatives
| model | in | out | ctx | vs GPT OSS 20B |
|---|---|---|---|---|
| Gemma 4 E2B IT | $0.04 | $0.08 | 131.1K | −13% |
| Qwen3.7 Flash | $0.03 | $0.13 | 1M | −4.3% |
| GPT OSS 120B | $0.037 | $0.17 | 131.1K | +22.3% |
| DeepSeek V4 Flash 0731 | $0.06 | $0.18 | 1.05M | +56.5% |
| GPT OSS Safeguard 20B | $0.07 | $0.20 | 128K | +78.3% |
// price by host
| host | in $/1M | out $/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):
[](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.
Does GPT OSS 20B support prompt caching?
Yes. Cached input tokens cost $0.015 per million.
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
- cache read / 1M
- $0.015
- 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
// cost calculator
| model | in $/1M | out $/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.