OpenAI: gpt-oss-20b API Pricing & Cost Calculator
gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license. It uses a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass, optimized for...
ReasoningCachingOpen-Weight openai/gpt-oss-20b
Input / 1M
$0.030
Output / 1M
$0.130
Cache Read / 1M
$0.030
Blended 3:1 / 1M
$0.055
Agent Cached / 1M
$0.050
Context Window
131.1K
Monthly Workload Cost Calculator
Daily
$0.215
Monthly
$6.45
Cache Saved
$0.00
Annual
$78.47
Benchmarks & Capabilities
| Intelligence Index | — |
|---|---|
| Coding / Engineering | — / — |
| Agentic Index | — |
| Design Arena Avg ELO | 913 |
| Value Score | — |
| Modality | text->text |
| Max Output | 118.0K |
5 Cheaper Alternatives to OpenAI: gpt-oss-20b
| Alternative Model | Blended / 1M | Input / 1M | Output / 1M | Intel | Side-by-Side |
|---|---|---|---|---|---|
| Z.ai: GLM 5.3 Flash (batch) z-ai/glm-5.3-flash:batch |
$0.034 | $0.023 | $0.068 | 28 | Compare → |
| Upstage: Solar Mini 4.5 upstage/solar-mini-4-5 |
$0.018 | $0.010 | $0.040 | — | Compare → |
| Mistral: Mistral Nemo mistralai/mistral-nemo |
$0.029 | $0.029 | $0.030 | — | Compare → |
| ScaleDown: Summarize scaledown/summarize |
$0.030 | $0.040 | $0.00 | — | Compare → |
| ScaleDown: Extract scaledown/extract |
$0.030 | $0.040 | $0.00 | — | Compare → |
Frequently Asked Questions
How much does OpenAI: gpt-oss-20b API cost per 1M tokens?
OpenAI: gpt-oss-20b (openai/gpt-oss-20b) costs $0.030 per 1M input tokens and $0.130 per 1M output tokens (3:1 blended price: $0.055 per 1M tokens).
Does OpenAI: gpt-oss-20b support prompt caching and how much does it save?
Yes. Cached input reads cost $0.030 per 1M tokens, bringing realistic 80%-cached agent loop cost down to $0.050 per 1M tokens.
What is the context window and maximum output of OpenAI: gpt-oss-20b?
OpenAI: gpt-oss-20b supports a 131.1K token context window (131,072 tokens) and up to 118.0K output tokens per completion.
Fetch Live JSON via API
curl -s "https://llm.lhblabs.com/api/v1/models/openai-gpt-oss-20b"
Recommended Stack: DigitalOcean
Predictable Droplets, managed databases, and GPU nodes for production AI workloads.
Try DigitalOcean →
Self-Serve Placement
Building an LLM API, GPU Cloud, or AI Dev Tool?
Book Sponsor Slot →
Feature your product across 1,500+ LLM pricing & comparison pages starting at $49/mo.