OpenAIGeneralReleased 5 August 2025

gpt-oss-20b pricing, context and benchmark

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

131K
Input context
118K
Output context
$0.018
Official input
$0.09
Official output
n/a
AA index

Everything that matters, in one table

Context, pricing, cache, modalities and tooling, from the model registry and Artificial Analysis.

Modelgpt-oss-20b
Model IDopenai/gpt-oss-20b
ProviderOpenAI
Release date5 August 2025
StatusGenerally available
Input context131,072 tokens
Output context117,964 tokens
Official input pricing$0.018 per 1M tokens
Official output pricing$0.09 per 1M tokens
Cache read pricing$0.03 per 1M tokens
Market input pricing$0.018 per 1M (cheapest route)
Market output pricing$0.03 per 1M (cheapest route)
Reasoning tokensBilled as output at $0.09 per 1M
Input modalitiestext
Output modalitiestext
Reasoning controlYes, effort levels exposed
Tool supportFunctions, tool choice, structured outputs
TokenizerGPT
Provider routes11 endpoints
Artificial Analysis indexNot published
SpeedNot published
Knowledge cutoffNot publicly stated

Input and output support

ModalityInputOutputBilled at
Text✓ yes✓ yes$0.018 in
Imagenononot supported
Audionononot supported
Videonononot supported
File (PDF)nononot supported

What is gpt-oss-20b?

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

It uses a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass, optimized for...

gpt-oss-20b carries a 131K token window, uses the GPT tokenizer and is served by OpenAI. On Hoodgen it sits in the General tier of the model menu next to its siblings, so you can switch mid conversation without losing the thread.

Release and what changed from the previous version

Released5 August 2025
Propertyo3 Progpt-oss-20bChange
Released20252025Same release window
Context200K131KChanged
Max output100K118KChanged
Input price$20$0.018Cheaper
Output price$80$0.09Cheaper
Input modalitiestext, file, imagetextUnchanged
AA indexn/an/aNewer benchmark run

Features and capabilities

◈
Thinking control
Reasoning effort can be dialled per request, so one model covers deep analysis and fast chat.
⚙
Function calling
Tools, tool choice and parallel calls, which is what agent loops need to act on results.
{ }
Structured outputs
Schema constrained JSON with response_format, so no parse and retry loop in your code.
⚡
Prompt caching
Cached input costs $0.03 per million instead of $0.018, so stable prefixes get cheaper.
⌁
Seeds
A seed can be pinned so the same prompt is reproducible across test runs.

Thinking and reasoning capabilities

gpt-oss-20b can think before answering and exposes the effort level per request. Reasoning tokens bill as output at $0.09 per million, and the trace can be returned with include_reasoning.

LevelFirst tokenCost per taskBest for
Measuredn/an/aArtificial Analysis measures the default reasoning configuration
Low effortFasterLowerChat, autocomplete, classification
High effortSlowerHigherDebugging, planning, multi step agents

What can you do with gpt-oss-20b?

Everyday writing
Drafts, rewrites, summaries and replies.
Research
Source material condensed with the key numbers kept.
Chat
General questions where latency and cost both matter.
Tooling inside Hoodgen
Writer, Humanizer, Coding and the rest of the tool suite.

Prompt caching and how to cut the bill

Cached input bills at $0.03 per million instead of $0.018. Keep the system prompt and documents first and the changing question last, so every call hits the cache.

gpt-oss-20b pricing

Official pricing

List price
$0.018 / 1M in
$0.09 / 1M out
  • $0.03 cached input
  • 131K context
  • text input
Cheapest route
$0.018 / 1M in
$0.03 / 1M out
  • 11 routes on OpenRouter
  • What Hoodgen routes to first
  • Same model, lower bill

Market pricing, every route

ProviderTierInputOutputCache readUptime 24h
Darkbloomstandard$0.018$0.09$0.009100.0%
AkashMLstandard$0.018$0.09$0.009100.0%
PrimeIntellectstandard$0.02$0.03$0.018100.0%
DekaLLMstandard$0.029$0.14$0.029100.0%
CoreWeavestandard$0.03$0.13$0.03100.0%
DeepInfrastandard$0.03$0.14n/a100.0%
Parasailstandard$0.03$0.15$0.02100.0%
SiliconFlowstandard$0.04$0.18n/a100.0%
Amazon Bedrockstandard$0.07$0.15n/a100.0%
Amazon Bedrockstandard$0.07$0.15n/a100.0%
Groqstandard$0.075$0.3$0.037100.0%

API pricing and cost calculator

RatePer callTotalCredits
Cheapest route$0.0003$0.15142
List price$0.0006$0.32304

API and developer information

Model IDopenai/gpt-oss-20b
Endpointhttps://openrouter.ai/api/v1/chat/completions
Parametersfrequency_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
StreamingYes, server sent events
Modality stringtext->text
Max prompt tokens131,072
Max completion tokens117,964
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-oss-20b",
    "messages": [{ "role": "user", "content": "Summarise this document." }],
    "max_tokens": 1024
  }'

Model limitations

Text only outputIt cannot generate images, audio or video. Pair it with an image model on Hoodgen when you need visuals.
Output cap117,964 tokens per request. Long deliverables have to be chunked.
Benchmarks not publishedArtificial Analysis does not publish an Intelligence Index for this release, so no benchmark score is claimed here.
Knowledge cutoffThe provider does not state a fixed cutoff for every release. Verify very recent events against search.

gpt-oss-20b vs other OpenAI models

ModelContextInput /1MOutput /1MAA indexReleased
gpt-oss-20b131K$0.018$0.09n/a2025
GPT-5.5 Pro1.05M$30$180n/a2026
GPT-5.4 Pro1.05M$30$180n/a2026
GPT-5.2 Pro400K$21$168n/a2025
o3 Pro200K$20$80n/a2025
GPT-5 Pro400K$15$120n/a2025

Privacy and data policy

  • On Hoodgen, prompts and attachments answer that request and stay in your conversation history so you can reopen it. They are not used to train models.
  • Requests route through OpenRouter to OpenAI and are covered by that provider's API terms.
  • Do not paste secrets or personal data you would not send to any hosted model.

gpt-oss-20b questions, answered

gpt-oss-20b is a general model from OpenAI, released 5 August 2025. gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license.
✦

Start chatting with gpt-oss-20b

Free to try on Hoodgen AI, with a live credit estimate before every send. No API key, no setup.