Today › AI API prices › OpenAI
gpt-5.4-nano API pricing (OpenAI)
Input / 1M tokens$0.2
Output / 1M tokens$1.256.2× input
Context window272Kmax output 128K
Rank within OpenAI9 / 73
Among all modelscheaper than 62%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $10.25 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $1.12 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $2.60 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| sonar-medium-online | Perplexity | $0 | $1.80 | 12K |
| gpt-oss-120b | Cerebras | $0.35 | $0.75 | 131K |
| codestral-2508 | Mistral AI | $0.3 | $0.9 | 128K |
| codestral-latest | Mistral AI | $0.3 | $0.9 | 128K |
| mistral-code-fim-latest | Mistral AI | $0.3 | $0.9 | 128K |
| mistral-code-latest | Mistral AI | $0.3 | $0.9 | 128K |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $0.2 | $1.25 |
Only dates with a change are listed (17 snapshots from 2026-10-03 to 2026-11-10).
- gpt-4o-mini-search-preview
- ft:gpt-4.1-nano-2025-04-14
- gpt-5.6-luna
- ft:gpt-4o-mini-2024-07-18
- gpt-5-mini
- gpt-4.1-mini
Prices come from the open-source LiteLLM price table (MIT), fetched daily, and may differ from the official pricing pages; always check the provider before you buy. US dollars.
About this page
gpt-5.4-nano on OpenAI costs $0.2 per million input tokens and $1.25 per million output tokens; it ranks 9 of 73 OpenAI models by price, with a 272K context window.