Email me

LLM prices / OpenAI / GPT-5.4 mini

OpenAI API · prices checked Oct 23, 2026

GPT-5.4 mini API pricing

Short answerGPT-5.4 mini costs $0.75 per 1M input tokens and $4.5 per 1M output tokens on the OpenAI API (standard price, checked Oct 23, 2026). A typical chatbot reply (1,500 tokens in, 400 out) costs $0.0029, so 1,000 replies a day is about $87.75 a month and 1M replies is $2,925. That makes it #10 cheapest of the 29 current models for that job.

$0.75per 1M input tokens
$4.5per 1M output tokens
$2.93per 1,000 chatbot replies
400Kcontext window (provider page)

Best for

  • Long repeated prompts (agents, RAG with a fixed prefix): cached input bills at 10% of the normal input price.
  • Bulk jobs that can wait: the batch API bills input at 50% of the standard price.
  • Reading more than text: takes image input.

Skip if

  • No price or spec red flags in the data.

Rules: Best for = cheapest quarter of current models for a chatbot reply, top 3 on one of our 8 jobs, cache reads at 15% or less of input, batch at 60% or less, 1M+ context, non-text inputs. Skip if = not current on the provider's page, priciest quarter, text only, no cache or batch price, a long-prompt surcharge, preview, under 200K context, no tool calling. Price and spec facts only; we don't score answer quality.

What your volume costs

Pick a job and a monthly volume. Same prices as everything on this page; caching and batch applied where they make it cheaper.

1,000,000 chatbot replies a month: $2,925 (standard price).

Cost per task, 8 jobs

Per 1,000 requests and per month at a typical volume, billed the cheapest way the price list allows. The rank is among current models that fit the job.

Job (links to the cheapest model for it)Per 1,000A monthRank among fits
Chatbota 1,500-token prompt (system prompt plus the conversation so far) and a 400-token reply$2.93standard price$87.75at 30,000 a month#10 of 29
RAG (answer from your docs)6,000 tokens of retrieved passages plus the question, and a 500-token answer$6.75standard price$202at 30,000 a month#10 of 29
Coding agent40,000 tokens of repo context and history, 30,000 of them repeated from the last step and billed at the cache-read price, 2,000 tokens out, tool calling required$18.75with the repeated 30,000 tokens billed at the cache-read price$56.25at 3,000 a month#10 of 29
Tool-using agent12,000 tokens of instructions, tool definitions and history, 10,000 of them repeated from the last step and cached, 600 tokens out, tool calling required$4.95with the repeated 10,000 tokens billed at the cache-read price$49.50at 10,000 a month#10 of 29
Vision (read an image)one image counted as 1,000 input tokens plus a 300-token question, and a 300-token answer. Providers count image tokens differently, so treat vision costs as a rough guide$2.32standard price$23.25at 10,000 a month#10 of 28
Translationa 1,000-token passage in and about 1,100 tokens out (translations run a little longer than the source)$5.70standard price$57.00at 10,000 a monthtied #10 of 29
Batch extraction2,000 tokens per record in and 300 tokens of JSON out, through the batch API where there is one (results within 24 hours)$1.43through the batch API$142at 100,000 a month#10 of 29
Summarize long documentsa 20,000-token document in and an 800-token summary out$18.60standard price$18.60at 1,000 a month#10 of 29

Cheaper and pricier alternatives

The current models just below and just above GPT-5.4 mini on the cost of 1,000 chatbot replies, with what differs. Price only, not quality.

Cheaper

  • Gemini 3.8 Flash $2.620.90x the cost of a chatbot reply, Google, 1.05M context vs 400K, takes image, video, audio, pdf too.
  • Gemini 3.6 Flash $2.620.90x the cost of a chatbot reply, Google, 1.05M context vs 400K, takes image, video, audio, pdf too.
  • Gemini 3 Flash Preview $1.950.67x the cost of a chatbot reply, Google, 1.05M context vs 400K, takes image, video, audio, pdf too.

Pricier

  • DeepSeek V4 Pro $3.561.22x the cost of a chatbot reply, DeepSeek, 1M context vs 400K, text only.
  • Claude Sonnet 5.5 $7.002.39x the cost of a chatbot reply, Anthropic, 1M context vs 400K.
  • GPT-6.1 Sol $7.002.39x the cost of a chatbot reply, same provider, 1.05M context vs 400K.

Every price tier

Input$0.75 per 1M tokens
Output$4.5 per 1M tokens
Cache read (hit)$0.075 (10% of the input price)
Batch API$0.375 input / $2.25 output
Flex tier$0.375 input / $2.25 output
Fast tier$1.5 input / $9 output
API model idgpt-5.4-mini
Status on the pricing pagelisted

Provider notes: batch cached input 0.0375; regional processing (data residency) adds 10% for models released on or after 2026-03-05

Model facts from OpenAI

Context window400,000 tokens
Max output128,000 tokens
Input typestext, image
Tool callingyes
Lifecyclecurrent

Source: https://developers.openai.com/api/docs/models/gpt-5.4-mini, checked Oct 24, 2026.

The 6 classic workloads

Per 1,000 requests at the standard price. "With caching" bills the repeated part of the prompt at the cache-read price (cache writes not counted); "via batch" uses the batch API price. Run your own token counts in the LLM API cost calculator.

WorkloadGPT-5.4 miniper 1,000 requests
Chatbot replya 1,500-token prompt (1,000 of it a fixed system prompt) and a 400-token answer$2.93$2.25 with caching
Answer from your docs (RAG)6,000 tokens of retrieved context plus the question, a 500-token answer$6.75$6.07 with caching
Summarize a long documenta 20,000-token document in, an 800-token summary out$18.60$17.93 with caching
Coding agent step40,000 tokens of repo context and history (30,000 of it repeated from the last step), 2,000 out$39.00$18.75 with caching
Batch extraction2,000 tokens per record in, 300 tokens of JSON out, sent through the batch API where there is one$2.85$1.43 via batch
Long-document Q&Aa 150,000-token contract or codebase in one prompt, a 1,000-token answer$117

What the numbers say

  • Output costs 6x input on GPT-5.4 mini, so for answer-heavy jobs the output price drives the bill; for document-heavy jobs (RAG, summaries, agents) input does.
  • Caching matters: a coding-agent step that rereads 30,000 cached tokens costs 52% less than the same step uncached ($18.75 vs $39.00 per 1,000 steps, cache writes not counted). How to stop paying twice for repeated prompts: LLM semantic cache.
  • Among 41 listed OpenAI models it is the #11 cheapest for a chat reply.

Every listed OpenAI model, cheapest first

Same chatbot workload, 1,000 replies.

ModelInput / 1MOutput / 1M1,000 chat replies
GPT-5 nanodeprecated$0.05$0.4$0.23
GPT-4.1 nanoshut down$0.1$0.4$0.31
GPT-6 Luna$0.1$0.5$0.35
GPT-4o minideprecated$0.15$0.6$0.47
GPT-5.6 Luna$0.2$1.2$0.78
GPT-5.4 nanodeprecated$0.2$1.25$0.80
GPT-5 minideprecated$0.25$2$1.18
GPT-4.1 minideprecated$0.4$1.6$1.24
GPT-3.5 Turboshut down$0.5$1.5$1.35
GPT-3.5 Turbo (0125)no spec page$0.5$1.5$1.35
GPT-5.4 mini$0.75$4.5$2.93
o4-minishut down$1.1$4.4$3.41
o3-minishut down$1.1$4.4$3.41
GPT-5.1deprecated$1.25$10$5.88
GPT-5deprecated$1.25$10$5.88
GPT-5 Search APIno spec page$1.25$10$5.88
GPT-4.1deprecated$2$8$6.20
o3deprecated$2$8$6.20
GPT-6.1 Sol$2$10$7.00
GPT-6 Sol$2$10$7.00
GPT-4odeprecated$2.5$10$7.75
GPT-5.6 Terra$2$12$7.80
GPT-5.2$1.75$14$8.22
GPT-5.3 Codexdeprecated$1.75$14$8.22
GPT-5.4$2.5$15$9.75
GPT-4o (2024-05-13)no spec page$5$15$13.50
GPT-5.6 Sol$4$20$14.00
GPT-5.5$5$30$19.50
chat-latest$5$30$19.50
GPT-4 Turbo (2024-04-09)no spec page$10$30$27.00
GPT-6 Astra$10$50$35.00
o1shut down$15$60$46.50
GPT-5.6 Cyber$12.5$75$48.75
GPT-5.5 Cyberno spec page$12.5$75$48.75
o3-prodeprecated$20$80$62.00
GPT-4 (0613)no spec page$30$60$69.00
GPT-5 Prodeprecated$15$120$70.50
GPT-5.2 Pro$21$168$98.70
GPT-5.5 Pro$30$180$117
GPT-5.4 Pro$30$180$117
o1-proshut down$150$600$465

Closest price from other providers

The current model from each other provider whose chatbot-reply cost is nearest. Price only: we do not rank quality here.

ModelInput / 1MOutput / 1M1,000 chat repliesvs GPT-5.4 mini
Claude Haiku 5.5Anthropic$0.1$0.5$0.350.12x
Gemini 3.8 FlashGoogle$0.75$3.75$2.620.90x
DeepSeek V4 ProDeepSeek$1.32$3.96$3.561.22x

Head-to-head

Price history

  • Oct 17, 2026: GPT-5.4 mini first recorded: $0.75 input / $4.5 output per 1M tokens.
  • Checked against the provider page on 2 dates: Oct 17, 2026, Oct 23, 2026.

Every change we record is on the LLM price changelog.

Sources

Prices change often. If one is out of date, email matt@tensorust.com and we will fix it.

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Up next

The comparison people search: Both priced on the same 6 jobs, with where each one is cheaper and when the answer flips.GPT-5 mini vs GPT-5.4 mini: API priceGPT-5 mini vs GPT-5.4 mini API pricing: cost per 1,000 requests on 6 real workloads, cache and batch prices, which is cheaper when. Checked Oct 23, 2026.Read it next →

Also worth your time

Did this answer your question?

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ