GPT-OSS 20B API Pricing Calculator
Compare what your prompts cost across every major LLM — with exact token counts for OpenAI models, right in your browser.
Prices verified 2026-12-02 · per 1M tokens · sources linked per provider
Input / 1M tokens
$0.17
Cached input / 1M
—
Output / 1M tokens
$0.36
openai/gpt-oss-20bPreview model on Groq.
At GPT-OSS 20B's rates ($0.17 per 1M input tokens, $0.36 per 1M output), a call with 1,000 input and 500 output tokens costs $0.00035. At 10,000 requests a month, that workload runs $3.50. A heavier call — a 100,000-token prompt returning 2,000 tokens — costs $0.0177.
GPT-OSS 20B is the cheapest Groq model at this workload — Qwen3.8 27B costs 8.0× as much per call.
GPT-OSS 20B's context window is 131,072 tokens. Preview model on Groq.
| Model | Cost / call | Cost / month | × best price |
|---|---|---|---|
| GPT-OSS 20Bcheapest | $0.00053 | $0.53 | — |
| GPT-OSS 120B | $0.00104 | $1.04 | 2.0× |
| Qwen3.8 27B | $0.0048 | $4.80 | 9.1× |
More Groq models: GPT-OSS 120B · Qwen3.8 27B — or all Groq pricing
Token counter
Token counts are exact for OpenAI models (tiktoken o200k_base, run in your browser). For other providers the count is an estimate — notably Claude Opus 4.7+/Sonnet 5 and similar newer models use a tokenizer that produces roughly 30% more tokens for the same text.
Related tools
Scaling AI content or ops? Elegant Atomics builds growth systems for B2B SaaS — Trevor’s company. Work with us →