Last refreshed 2026-06-30. Next refresh: weekly.
Why use gpt-oss-20b on Open Inference?
Open Inference offers gpt-oss-20b with free input token pricing. Open Inference provides an OpenAI-compatible API for hosted text-generation model inference.
Compare gpt-oss-20b across 11 providers to find the best fit for your use caseInput / 1M
Free
Output / 1M
Free
Cache
Not sourced
Batch
Not sourced
Setup recipe
Docs fallbackInstall
Use the provider REST API or SDKAuth
Create a provider API keyCall
model: gpt-oss-20bModel ID
gpt-oss-20bRequest example
Curated snippets for this provider have not been sourced yet.
Gotchas
No curated gotchas have been sourced for this exact provider/model route yet.
Compare gpt-oss-20b Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Cloudflare Workers AI | $0.20 | $0.30 |
| OpenRouter | $0.03 | $0.14 |
| Fireworks AI | $0.07 | $0.30 |
| GCP Vertex AI | $0.07 | $0.25 |
| NVIDIA NIM | — | — |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | Free |
| Output tokens | Free |
Capabilities
JSON / Tool useStructured Outputs
About gpt-oss-20b
OpenAI open-weight model with 20 billion parameters. Lightweight, efficient text-only model with reasoning and function calling. Free for self-hosting. Released August 5, 2025.
Get Started
Model Specs
Released2025-08-05
Parameters20B
Context131k
ArchitectureDecoder Only
Knowledge cutoff2025-08