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.
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.
| Host | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Groq | $0.075 | $0.30 | 128K |
| Together AI | $0.05 | $0.20 | 125K |
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.
| Model | Input | Cached input | Output | Per request | Monthly |
|---|---|---|---|---|---|
| gpt-oss-20b (Together AI) | $30.00 | $20.00* | $50.00 | $0.00020 | $100 |
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.