gpt-oss-20b API pricing

OpenAI's open-weight 20B model — the small sibling of gpt-oss-120b. Prices below are Together AI's — open-weight models are priced by each host, not the model's creator.

Tool calling

Input

$0.05

per 1M tokens

Cached input

per 1M tokens

Output

$0.20

per 1M tokens

Context window

125K

Prices last synced Aug 20, 2026 from the LiteLLM community price catalog — the same catalog Marginal prices real usage events against, refreshed daily. Hand-checked against the provider's official pricing page on Aug 20, 2026. Spot an error? Tell us.

Where to buy it

Each host prices the model independently — same weights, different bill.

HostInput / 1MOutput / 1MContext
Groq$0.075$0.30128K
Together AI$0.05$0.20125K

What would gpt-oss-20b cost you?

Enter your workload — add other models to compare the same traffic across providers.

Your monthly workload

Cache hit rate = share of input tokens served from the provider's prompt cache, billed at the model's cached-input price. Estimates use standard per-token rates — batch discounts, service tiers, and long-context surcharges are not applied.

gpt-oss-20b (Together AI)
ModelInputCached inputOutputPer requestMonthly
gpt-oss-20b (Together AI)$30.00$20.00*$50.00$0.00020$100
Rates used: gpt-oss-20b (Together AI) $0.05 in / $0.20 out

More from OpenAI

Tracking gpt-oss-20b in production?

Marginal prices every call your app actually makes — cached tokens, dated snapshots, model switches included — and slices spend by customer or feature. One track() call to integrate.