OpenAI: gpt-oss-20b

apache-2.020B

gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license.

Intelligence
Reasoning
Speed
Context
131K
Max output
33K
Input price
$0.02/1M tokens
Output price
$0.09/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Batch Processing

Details

Model IDopenai/gpt-oss-20b
Provider OpenRouter
Creator OpenAI
Familygpt-oss
Licenseapache-2.0
Statusactive
Typechat
Input modalitiestext
Output modalitiestext
Open weightYes
Parameters20B
Architecture—
Context window131K tokens
Max input—
Max output33K tokens
Reasoning tokensYes
Knowledge cutoff
Release date
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Pricing

Input
$0.02
Output
$0.09
Cache write
—
Cache read
$0.01
Batch in
—
Batch out
—

Family Comparison: gpt-oss

ModelContextMax outPricing
OpenAI: gpt-oss-120b (free)131K131K—
OpenAI: gpt-oss-20b (free)131K33K—
OpenAI: gpt-oss-20b131K33K$0.02$0.09
OpenAI: gpt-oss-20b (batch)131K118K$0.02$0.11
OpenAI: gpt-oss-120b (batch)131K118K$0.03$0.14
OpenAI: gpt-oss-safeguard-20b131K66K$0.08$0.3
OpenAI: gpt-oss-120b131K66K$0.15$0.6

API

GET/v1/models/openrouter/openai/gpt-oss-20b