Skip to content
65% offprompt cache

gpt-oss-20b

openai-gpt-oss-20b

No description provided for this model.

Input / output per 1M

$0.0063/$0.032

official $0.018 / $0.09

Network fee$0.00
ProviderOther
ModalityText

Context

128K

Max output

16K

Input / 1M

$0.0063

Output / 1M

$0.032

Pricing

Input / 1M$0.0063$0.018
Output / 1M$0.032$0.09
Cache read / 1M$0.0063no cache discount
Network fee$0.00per request

65% below the reference list price.

Request

POST /v1/chat/completions
curl https://api.relayrouter.org/v1/chat/completions \
-H "Authorization: Bearer $RELAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai-gpt-oss-20b",
"messages": [{ "role": "user", "content": "Hello" }]
}'

Independent benchmark

Full leaderboard

Artificial Analysis has not published an Intelligence Index score for this model yet. The leaderboard covers every model it does rate, including models RelayRouter does not serve.

How much does gpt-oss-20b cost on RelayRouter?

gpt-oss-20b is billed at $0.0063 per 1M input tokens and $0.032 per 1M output tokens, plus a flat network fee per request. Billing is prepaid and failed calls are not billed.

How do I call gpt-oss-20b?

Send a POST to https://api.relayrouter.org/v1/chat/completions with model set to "openai-gpt-oss-20b" and your RelayRouter key as a Bearer token. The API is [OI]-compatible, so existing SDKs work by changing the base URL and key.

What is gpt-oss-20b's context window?

gpt-oss-20b accepts up to 128,000 input tokens per request and returns up to 16,000 output tokens. Prompts longer than the context window are rejected with HTTP 400 rather than silently truncated.