GPT-5.4 mini API cost calculator

GPT-5.4 mini (OpenAI) is priced at $0.75 per million input tokens, $0.075 for cached input, and $4.50 per million output tokens — half that through the Batch API. Verified 2026-09-17 against OpenAI's pricing page.

What GPT-5.4 mini costs for common workloads

WorkloadPer requestPer dayPer month
Support chatbotShort turns with a reused system prompt — 3k in, 400 out, 60% cached.$0.0028$14.17$425
RAG over documentsRetrieved context dominates — 12k in, 500 out, 30% cached.$0.0088$13.23$397
Coding agentGrowing context every turn — 20k in, 1.5k out, 80% cached.$0.011$32.85$986
Batch classificationTiny prompts at volume through the Batch API — 800 in, 20 out.$0.0003$69.00$2,070

Its blast radius when an agent loops

The coding-agent workload above at 30 requests a minute — $19.71 an hour — priced at each point a team usually finds out:

Hourly alert

$19.71

Next morning

$473

After a weekend

$1,183

Monthly invoice

$14,191

Get the alert, not the invoice — start free

Run your own numbers on GPT-5.4 mini

Other OpenAI models