GPT-5 mini costs $0.25 per million input tokens and $2 per million output tokens on the OpenAI API (as of 2026-07-13), with a 400K-token context window.
OpenAI's low-cost workhorse for classification, extraction, and everyday tasks.
Prices as of 2026-07-13 · verify on OpenAI's pricing page
…
Tokens (o200k)
exact for GPT-family
28
Words
— tokens/word
145
Characters
— chars/token
| Model | Input tokens | Input $/1M | Output $/1M | Context | This request |
|---|
GPT-family counts are exact — they use the same open o200k tokenizer as the models. Anthropic and Google keep their tokenizers private, so those counts are clearly-labeled estimates (Claude typically tokenizes ~10–20% above o200k; use Anthropic's free count_tokens API endpoint for exact numbers). Prices come from each provider's public pricing page — follow the links on the model pages to verify. Everything runs in your browser; your text is never uploaded.
| Request | Input tokens | Output tokens | Cost |
|---|---|---|---|
| Short prompt | 500 | 500 | $0.001125 |
| Long prompt / article | 5,000 | 1,000 | $0.00325 |
| Small codebase / big doc | 50,000 | 4,000 | $0.02 |
| Full context window | 400,000 | 8,000 | $0.12 |