GPT-4o mini vs GPT-5 nano: API pricing
Last updated • By Will Schulz
GPT-4o mini (OpenAI) costs $0.15 per 1M input and $0.60 per 1M output tokens; GPT-5 nano (OpenAI) costs $0.05 and $0.40, as of Nov 09, 2026. For 1,000 chatbot replies (2K tokens in, 500 out each), GPT-5 nano is 2.0× cheaper than GPT-4o mini.
List prices per 1M tokens
| Model | Input | Output | Cached input | Context |
|---|---|---|---|---|
| GPT-4o miniOpenAI | $0.15 | $0.60 | $0.075 | not listed |
| GPT-5 nanoOpenAI | $0.05 | $0.40 | $0.005 | not listed |
From OpenAI pricing pages, last checked Nov 09, 2026. Long-context and introductory rates are on each model's own page.
What the same jobs cost on each
| Workload | GPT-4o mini | GPT-5 nano | Cheaper |
|---|---|---|---|
| 1,000 chatbot replies2K tokens in, 500 out each | $0.60 | $0.30 | GPT-5 nano |
| Summarize 1M tokens of documents100 documents of 10K tokens, a 500-token summary each | $0.18 | $0.07 | GPT-5 nano |
| 1,000 RAG queries20K tokens in (half from the prompt cache), 800 out each | $2.73 | $0.87 | GPT-5 nano |
| 100 coding-agent steps150K tokens in (90% cached), 4K out each | $1.48 | $0.30 | GPT-5 nano |
| 1M classification calls800 tokens in, 10 out each | $126 | $44.00 | GPT-5 nano |
Computed with the LLM API cost calculator's pricing rules. Tokenizers differ, so the same text is a different number of tokens on each provider.
Questions
Is GPT-4o mini cheaper than GPT-5 nano?
For 1,000 chatbot replies, GPT-5 nano costs $0.30 and GPT-4o mini $0.60 at list price, so GPT-5 nano is 2.0× cheaper than GPT-4o mini. The ranking can change with the mix of input, cached and output tokens: see the workload table.
Which has the larger context window, GPT-4o mini or GPT-5 nano?
The price table does not list a context window for GPT-4o mini; check the provider's model page.
Should I pick the cheaper model?
Price per token is not quality or cost per finished task: a model that needs fewer retries or shorter prompts can cost less overall. Run both on a sample of your own prompts and compare cost per correct answer.
