OpenAI: gpt-oss-20b API pricing

Token pricing

ModelProviderInput / 1MOutput / 1MContextModalities
OpenAI: gpt-oss-20bOpenAI$0.03$0.13131,072 (131K)
texttext

Capabilities

Context window
131,072 (131K)
Max output
131,072 (131K)
Input modalities
text
Output modalities
text

Supported parameters

frequency_penalty
include_reasoning
logit_bias
logprobs
max_tokens
min_p
presence_penalty
reasoning
reasoning_effort
repetition_penalty
response_format
seed
stop
structured_outputs
temperature
tool_choice
tools
top_k
top_logprobs
top_p

Similar models

ModelInput / 1MOutput / 1MContextModalities
OpenAI: GPT-5 Nano (batch)$0.025$0.20400,000 (400K)
text, image, filetext
OpenAI: gpt-oss-120b$0.037$0.17131,072 (131K)
texttext
OpenAI: GPT-4.1 Nano (batch)$0.05$0.201,047,576 (1M)
image, text, filetext
OpenAI: GPT-5 Nano$0.05$0.40400,000 (400K)
text, image, filetext
OpenAI: gpt-oss-20b (free)$0$0131,072 (131K)
texttext
OpenAI: gpt-oss-safeguard-20b$0.075$0.30131,072 (131K)
texttext
OpenAI: GPT-4o-mini (batch)$0.075$0.30128,000 (128K)
text, image, filetext
OpenAI: GPT-4.1 Nano$0.10$0.401,047,576 (1M)
image, text, filetext