OpenAI API
GPT-5.4 API Pricing 2026 — Cost per 1 Million Tokens
Current GPT-5.4 API pricing from OpenAI per 1 million tokens, including input, output and cached-token rates when available.
| Model | Rate | Price / 1M tokens |
|---|---|---|
| GPT-5.4 Earlier lower-cost GPT tier retained for price history and compatibility. Previous-generation model; compare with GPT-5.6 Terra for new workloads. | Input | $2.5 |
| GPT-5.4 | Cached input | $0.25 |
| GPT-5.4 | Output | $15 |
How API token cost is calculated
Multiply the number of tokens by the provider rate, then divide by 1,000,000.
cost = tokens × price per 1M ÷ 1,000,000
Example: 250,000 input tokens at $2 / 1M = $0.50.