GPT OSS 20B is OpenAI's language model with a 131K context window and up to 131K output tokens, available from 15 providers, starting at $0.030 / 1M input and $0.140 / 1M output. A 20-billion-parameter open-weights GPT model from OpenAI suited for reasoning and tool-use tasks at a smaller, more efficient scale.
Capabilities
Input2/5
Text✓
Image✓
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities6/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling✓
Structured Outputs✓
Native JSON Schema✓
Web Search✓
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·
Pricing by Provider
| Provider | Standard | Batch | Flex | Priority | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Cache Write $ / 1M | Input $ / 1M | Output $ / 1M | Input $ / 1M | Output $ / 1M | Input $ / 1M | Output $ / 1M | |
OpenRouter | $0.030 | $0.140 | N/A | N/A | — | — | — | — | — | — |
DeepInfra | $0.040 | $0.150 | N/A | N/A | — | — | — | — | — | — |
Novita | $0.040 | $0.150 | N/A | N/A | — | — | — | — | — | — |
OVHcloud | $0.040 | $0.150 | N/A | N/A | — | — | — | — | — | — |
Fireworks AI | $0.050 | $0.200 | N/A | N/A | — | — | — | — | — | — |
Hugging Face | $0.050 | $0.200 | N/A | N/A | — | — | — | — | — | — |
Together AI | $0.050 | $0.200 | N/A | N/A | — | — | — | — | — | — |
Vercel AI Gateway | $0.050 | $0.200 | N/A | N/A | — | — | — | — | — | — |
Amazon Bedrock | $0.070 | $0.300 | N/A | N/A | $0.035 | $0.150 | $0.035 | $0.150 | $0.122 | $0.525 |
Databricks | $0.070 | $0.300 | N/A | N/A | — | — | — | — | — | — |
Google Gemini | $0.070 | $0.250 | N/A | $0.0070 | $0.035 | $0.125 | — | — | — | — |
Google Vertex AI | $0.075 | $0.300 | N/A | $0.0070 | $0.035 | $0.125 | — | — | — | — |
Groq | $0.075 | $0.300 | $0.037 | N/A | — | — | — | — | — | — |
Replicate | $0.090 | $0.360 | N/A | N/A | — | — | — | — | — | — |
Other/Wandb | $5.00 | $20.00 | N/A | N/A | — | — | — | — | — | — |
Cost Calculator
Preset:
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| GPT OSS 120B Safeguard | 131K | $0.150 | $0.600 | Available | |
| GPT OSS 20B Safeguard | 131K | $0.070 | $0.200 | Available | |
| GPT OSS 20B | 131K | $0.030 | $0.140 | Current | |
| GPT OSS 120B | 131K | $0.039 | $0.180 | Available |