← All news

News / AI models / OpenAI

gpt-oss-20b

gpt-oss-20b is an open-weight model by OpenAI, released 5 Aug 2025. It reads text and writes text, with a context window of 131K tokens and up to 118K tokens out. Through OpenRouter it costs $0.03 per million input tokens and $0.13 per million output tokens.

Facts from OpenRouter and Hugging Face · updated 24 Nov 2026

1,000 requests with 2,000 tokens in and 500 tokens out each cost about $0.13 through OpenRouter.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model": "openai/gpt-oss-20b", "messages": [{"role": "user", "content": "Hello"}]}'

What is the context window of gpt-oss-20b?

gpt-oss-20b has a context window of 131,072 tokens, about 197 pages of text, and can write up to 117,964 tokens in one reply.

How much does gpt-oss-20b cost?

Through OpenRouter, $0.03 per million input tokens and $0.13 per million output tokens. The maker's own price can differ.

Is gpt-oss-20b open source?

Yes, its weights are published on Hugging Face as openai/gpt-oss-20b.

When was gpt-oss-20b released?

It became available on 5 Aug 2025.

Something wrong? Email hello@capylaunch.com. All AI models