Roar AI
DiscordGet started
All models
OpenAI · Open weights

gpt-oss-20b

gpt-oss-20b costs $0.091 per million input tokens and $0.325 per million output tokens on Roar AI. The small gpt-oss: o3-mini-class reasoning in a model that fits on a laptop.

Input$0.091per 1M tokens
Output$0.325per 1M tokens
Context window131Ktokens

gpt-oss-20b API pricing

Input$0.091 per 1M tokens
Output$0.325 per 1M tokens

Example: 1,000 requests with 3,000 input and 1,000 output tokens each cost $0.60. Every rate is published and stays the same from one request to the next. See every model.

Rates as of 20 November 2026.

Specs

Made byOpenAI
ReleasedAugust 2025
TypeChat
Context window131K tokens
ReadsText
Thinks before answeringAlways on
WeightsOpen (Apache 2.0)
Size21B total, 3.6B active
Processed inGlobal
Model idgpt-oss-20b

About gpt-oss-20b

gpt-oss-20b is the smaller of OpenAI’s two open-weight models. It runs in 16GB of memory, small enough for a high-end laptop, and OpenAI says it performs similarly to o3-mini on common benchmarks, with 71.5% on GPQA Diamond.

It has the same reasoning levels and tool use as the 120b at a fraction of the size. Through an API its appeal is speed and price on simple reasoning steps; for anything hard, the 120b is clearly stronger.

What is gpt-oss-20b good for?

  • Quick reasoning steps inside an agent.
  • Simple classification and extraction that needs a little thought.
  • Prototyping on a budget.

gpt-oss-20b limitations

  • Clearly weaker than gpt-oss-120b on hard reasoning: 71.5% against 80.1% on GPQA Diamond.
  • Its knowledge stops at June 2024, and it reads text only.

How to use the gpt-oss-20b API

Use the OpenAI SDK you already have: point it at Roar AI and set the model name. Read the docs.

from openai import OpenAI

client = OpenAI(base_url="https://api.roar-ai.com/v1", api_key="roar_live_…")

reply = client.chat.completions.create(
    model="gpt-oss-20b",
    messages=[{"role": "user", "content": "Summarise this contract in plain English."}],
)

gpt-oss-20b FAQ

How much does gpt-oss-20b cost?

Input is $0.091 per 1M tokens; output is $0.325 per 1M tokens. For example, 1,000 requests with 3,000 input and 1,000 output tokens each cost $0.60.

Can I use gpt-oss-20b alongside other models?

Yes. Every model on Roar AI is on the same API key and the same monthly invoice, so switching from gpt-oss-20b to another model only means changing the model name in your code.

Is gpt-oss-20b open source?

Its weights are open under the Apache 2.0 licence, so you could run it yourself. Through Roar AI you call it like any other model, with no servers to manage.

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

gpt-oss-20b can read up to 131K tokens in one request.

Can gpt-oss-20b read images and PDFs?

It reads text only. You can still send it a PDF: Roar AI turns each page into text first, at no extra charge. Scanned pages need a model that can see images.

Start using gpt-oss-20b

Create a free account, get an API key and call gpt-oss-20b with the OpenAI SDK.