GPT-5.4 API cost calculator
GPT-5.4 (OpenAI) is priced at $2.50 per million input tokens, $0.25 for cached input, and $15 per million output tokens — half that through the Batch API. Verified 2026-11-02 against OpenAI's pricing page.
Requests over 272K input tokens are billed at long-context rates (2× input, 1.5× output on the GPT-6 family and GPT-5.5/5.4).
What GPT-5.4 costs for common workloads
| Workload | Per request | Per day | Per month |
|---|---|---|---|
| Support chatbotShort turns with a reused system prompt — 3k in, 400 out, 60% cached. | $0.0095 | $47.25 | $1,418 |
| RAG over documentsRetrieved context dominates — 12k in, 500 out, 30% cached. | $0.029 | $44.10 | $1,323 |
| Coding agentGrowing context every turn — 20k in, 1.5k out, 80% cached. | $0.036 | $110 | $3,285 |
| Batch classificationTiny prompts at volume through the Batch API — 800 in, 20 out. | $0.0011 | $230 | $6,900 |
Its blast radius when an agent loops
The coding-agent workload above at 30 requests a minute — $65.70 an hour — priced at each point a team usually finds out:
Hourly alert
$65.70
Next morning
$1,577
After a weekend
$3,942
Monthly invoice
$47,304
Run your own numbers on GPT-5.4
Other OpenAI models
- GPT-6.1 Terra
- GPT-6.1 Sol
- GPT-6 Sol
- GPT-6 Luna
- GPT-5.6 Sol
- GPT-5.6 Terra
- GPT-5.6 Luna
- GPT-5.5
- GPT-5.5 Pro
- GPT-5.4 mini
- GPT-5.4 nano
- GPT-5.4 Pro
- GPT-5.3 Codex
- GPT-5.6 Cyber
- GPT-5.5 Cyber
- ChatGPT (chat-latest)
- GPT-5 Search API
- GPT-5.2
- GPT-5.2 Pro
- GPT-5.1
- GPT-5
- GPT-5 mini
- GPT-5 nano
- GPT-5 Pro
- GPT-6 Astra
- GPT-4.1
- GPT-4.1 mini
- GPT-4.1 nano
- GPT-4o
- GPT-4o mini
- o3
- o3-pro
- o3-mini
- o4-mini