Skip to main content
TokenCost logoTokenCost

GPT-OSS 20B

Pricing as of October 2026

$0.075/1M input · $0.300/1M output · 131K context · OpenAI

GPT-OSS 20B is listed at $0.075 per 1M input tokens and $0.300 per 1M output tokens from OpenAI, with a 131K-token context window. A typical chat reply (1,500 tokens in, 400 out) costs $0.0002, or $2.33 per 10,000 requests. On that workload it is cheaper than 154 of the 168 other buyable models tracked here.

Count Tokens

—
Tokens
—
Input Cost
—
Output Cost

Estimate Monthly Cost

Monthly Cost Estimator

Quick:
<$0.0001/mo

Pick a preset above or enter custom usage

What GPT-OSS 20B Costs Per Request

At $0.075 per 1M input and $0.300 per 1M output tokens, before caching or batch discounts.

WorkloadInput / output tokensPer requestPer 10,000 requests
Chat reply1,500 / 400$0.0002$2.33
RAG answer over retrieved docs8,000 / 600$0.0008$7.80
Coding-agent step30,000 / 2,000$0.0029$28.50

GPT-OSS 20B vs Similarly Priced Models

Nearest buyable models by price, with the RAG answer above (8,000 in / 600 out) priced on each.

ModelInput /1MOutput /1MContextRAG answer
GPT-OSS 20B OpenAI$0.075$0.300131K$0.0008
GPT-OSS 20B (Bedrock) OpenAI$0.070$0.30016K$0.0007
Llama 4 Scout Meta$0.080$0.3001.0M$0.0008
Gemma 4 26B A4B Google$0.060$0.300262K$0.0007

Alternatives to GPT-OSS 20B

Pricing Details

OpenAIOpenAI publishes NO rate for this model. It ships the weights (Apache 2.0) but sells no hosted inference for it, so the figure here is a third-party host's price, not OpenAI's, and it cannot be checked against an OpenAI page. Confirmed absent from OpenAI's own rate card on 2026-08-17. Open-weights models legitimately price differently on every host; treat this as one host's number.
Input / 1M tokens
$0.075
Output / 1M tokens
$0.3
Context Window
131K
Max Output
33K

Unverified rate. OpenAI has not published a price for GPT-OSS 20B. Treat these figures as indicative and confirm with OpenAI before relying on them.

Price History

No price change recorded since 2026-08-11, when this site started tracking this model; it launched on 2025-08-05.

Frequently Asked Questions

Common questions about GPT-OSS 20B pricing and usage

How much does GPT-OSS 20B cost?
GPT-OSS 20B costs $0.075 per 1 million input tokens and $0.3 per 1 million output tokens. This pricing is set by OpenAI.
What tokenizer does GPT-OSS 20B use?
GPT-OSS 20B uses the o200k_base tokenizer. This is OpenAI's latest tokenizer, optimized for efficiency with a vocabulary of ~200,000 tokens.
What is GPT-OSS 20B's context window?
GPT-OSS 20B supports a context window of 131K tokens (131,072 tokens). The maximum output length is 33K tokens.
How does GPT-OSS 20B compare to other models?
On an 8,000-token-in, 600-token-out RAG answer, GPT-OSS 20B costs $0.0008 per request. The nearest-priced alternatives cost: GPT-OSS 20B (Bedrock) (OpenAI) $0.0007, Llama 4 Scout (Meta) $0.0008, Gemma 4 26B A4B (Google) $0.0007. The table above lists their full rates and context windows.
How do I count tokens for GPT-OSS 20B?
Use the token counter at the top of this page or visit the homepage calculator. Paste your text and it will show the exact token count and cost for GPT-OSS 20B using the o200k_base tokenizer.