OpenAI

GPT OSS 20B

Generally availableOpen weights131K contextReasoning

Summary

GPT OSS 20B is an open-weight language model from OpenAI, released on 5 Aug 2025. It accepts text and generates text, with a 131K-token context window and up to 16K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $0.02 per million input tokens and $0.09 per million output tokens (OpenRouter), across 10 providers we track.

Open-weight GPT model for self-hosted reasoning and instruction-following workloads

Last verified 4 Oct 2026. Every figure on this page links to its source.

Specifications

DeveloperOpenAI
Release date5 Aug 2025 [models.dev]
StatusGenerally available [models.dev]
WeightsOpen weights [Hugging Face]
Licenseapache-2.0 [Hugging Face]
Parameters20.9B [Hugging Face]
Context window131K (131,072 tokens) [models.dev]
Max output16K tokens [models.dev]
Knowledge cutoffJun 2024 [models.dev]
InputText [models.dev]
OutputText [models.dev]
Reasoning modeYes [models.dev]
Tool callingYes [models.dev]
Structured outputYes [models.dev]
Hugging Faceopenai/gpt-oss-20b [Hugging Face]

GPT OSS 20B API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
NVIDIA NIM
openai/gpt-oss-20b
FreeFree–131Kmodels.dev, 4 Oct 2026
OpenRouter
openai/gpt-oss-20b
$0.02$0.09$0.009131KOpenRouter, 4 Oct 2026
DeepInfra
openai/gpt-oss-20b
$0.03$0.14–131Kmodels.dev, 4 Oct 2026
Vercel AI Gateway
openai/gpt-oss-20b
$0.03$0.14–131Kmodels.dev, 4 Oct 2026
Novita AI
openai/gpt-oss-20b
$0.04$0.15–131Kmodels.dev, 4 Oct 2026
SiliconFlow
openai/gpt-oss-20b
$0.04$0.18–131Kmodels.dev, 4 Oct 2026
Amazon Bedrock
openai.gpt-oss-20b-1:0
$0.07$0.30–131Kmodels.dev, 4 Oct 2026
Amazon Bedrock
openai.gpt-oss-20b
$0.07$0.30–131Kmodels.dev, 4 Oct 2026
Groq
openai/gpt-oss-20b
$0.07$0.30$0.04131Kmodels.dev, 4 Oct 2026
Amazon Bedrock
us-gov.openai.gpt-oss-20b-1:0
$0.08$0.36–128Kmodels.dev, 4 Oct 2026
Hugging Face Inference Providers
openai/gpt-oss-20b
$0.10$0.50–131Kmodels.dev, 4 Oct 2026
Cloudflare Workers AI
@cf/openai/gpt-oss-20b
$0.20$0.30–128Kmodels.dev, 4 Oct 2026

Frequently asked questions

What is the context window of GPT OSS 20B?

GPT OSS 20B has a context window of 131,072 tokens (131K) and can generate up to 16,384 tokens in a single response, according to models.dev.

How much does the GPT OSS 20B API cost?

GPT OSS 20B is listed from $0.02 per million input tokens and $0.09 per million output tokens (OpenRouter). Prices last verified 4 Oct 2026.

Is GPT OSS 20B open source?

GPT OSS 20B is an open-weight model: its weights are published on Hugging Face as openai/gpt-oss-20b under the apache-2.0 license. Check the license terms before commercial use.

When was GPT OSS 20B released?

OpenAI released GPT OSS 20B on 5 Aug 2025, according to models.dev.

Which providers offer GPT OSS 20B?

We track GPT OSS 20B on 10 providers: NVIDIA NIM, OpenRouter, DeepInfra, Vercel AI Gateway, Novita AI, SiliconFlow, Amazon Bedrock, Groq, Hugging Face Inference Providers, Cloudflare Workers AI.

Change history

No changes detected since we started tracking this model. We re-check every source daily.

Sources