GPT/Mid-tier

GPT 5.4

GPT 5.4 is GPT's balanced performance model, priced at $2.50/MTok input and $15.00/MTok output with a 1.1M context window.

Input $/MTok

$2.50

Output $/MTok

$15.00

Context window

1.1M

Cache read discount

90% off

GPT 5.4 pricing breakdown

RateInput $/MTokOutput $/MTok
Standard$2.50$15.00
Cached read (90% off input)$0.25-
Cached write (no surcharge)$2.50-
Batch (50% off)$1.25$7.50
Long context (≥272.001K tokens)$5.00$22.50

All rates in USD per million tokens. Prices verified against provider documentation.

GPT 5.4 task benchmarks

Confidence scores (0-100) and cross-provider rank for each task type. Rank 1 is best across all 88 models.

TaskConfidenceRank
Code Generation63/100#13
Code Review82/100#5
Summarization67/100#16
Q&A91/100#1
Extraction76/100#4
Reasoning88/100#15
Classification88/100#1
Creative Writing79/100#4

GPT 5.4 cost by use case

Estimated cost per API call using default token counts for each workload.

Use caseInput tokensOutput tokensCost / call
Code Generation2,0004,000$0.0650
Unit Test Generation3,0005,000$0.0825
SQL Generation1,5001,000$0.0187
API Generation3,0006,000$0.0975
Code Refactoring4,0004,000$0.0700
Code Review5,0002,000$0.0425
PR Review8,0003,000$0.0650
Security Review6,0002,500$0.0525
Bug Detection5,0002,000$0.0425
Document Summarization10,0001,000$0.0400
PDF Summarization15,0001,500$0.0600
Meeting Notes8,0002,000$0.0500

Monthly cost projections

Projected monthly spend at different call volumes, using code generation as a representative workload (2,000 input / 4,000 output tokens per call).

Calls / monthWithout cachingWith caching (90% read discount)
1K$65$61.85
10K$650$618.5
100K$6,500$6,185
500K$32,500$30,925
1M$65,000$61,850

Caching estimate assumes 70% of input tokens are cache reads. Your actual cache hit rate will depend on prompt structure and reuse.

Mid-tier alternatives to GPT 5.4

Same-tier models from other providers, sorted by input price.

ModelProviderInput $/MTokOutput $/MTokInput savings
MiniMax M2MiniMax$0.26$1.0090% cheaper
DeepSeek V3DeepSeek$0.27$1.1089% cheaper
DeepSeek R1DeepSeek$0.55$2.1978% cheaper
Kimi K2Moonshot (Kimi)$0.95$4.0062% cheaper
Gemini 2.5 ProGemini$1.25$10.0050% cheaper
Grok 4.3Grok$1.25$2.5050% cheaper
Grok 4.20 Non-ReasoningGrok$1.25$2.5050% cheaper
Grok 4.20 ReasoningGrok$1.25$2.5050% cheaper
Grok 4.20 Multi-AgentGrok$1.25$2.5050% cheaper
Claude Sonnet 5Claude$2.00$10.0020% cheaper
Claude Sonnet 5.5Claude$2.00$10.0020% cheaper
Gemini 3.1 ProGemini$2.00$12.0020% cheaper
Gemini 3.1 Pro Custom ToolsGemini$2.00$12.0020% cheaper
Claude Sonnet 4.6Claude$3.00$15.0020% more
Claude Sonnet 4.5Claude$3.00$15.0020% more

Other GPT models

GPT 5 Nano

Fast / Budget / $0.05 in / $0.40 out

GPT 4.1 Nano

Fast / Budget / $0.10 in / $0.40 out

GPT 6 Luna

Fast / Budget / $0.10 in / $0.50 out

GPT 4o Mini

Fast / Budget / $0.15 in / $0.60 out

GPT 5.6 Luna

Fast / Budget / $0.20 in / $1.20 out

GPT 5.4 Nano

Fast / Budget / $0.20 in / $1.25 out

GPT 5 Mini

Fast / Budget / $0.25 in / $2.00 out

GPT 4.1 Mini

Fast / Budget / $0.40 in / $1.60 out

GPT 3.5 Turbo

Fast / Budget / $0.50 in / $1.50 out

GPT 3.5 Turbo (0125)

Fast / Budget / $0.50 in / $1.50 out

GPT 5.4 Mini

Fast / Budget / $0.75 in / $4.50 out

o3 Mini

Fast / Budget / $1.10 in / $4.40 out

o4 Mini

Fast / Budget / $1.10 in / $4.40 out

GPT 5

Mid-tier / $1.25 in / $10.00 out

GPT 5.1

Mid-tier / $1.25 in / $10.00 out

GPT 5.2

Mid-tier / $1.75 in / $14.00 out

GPT 5.6 Terra

Mid-tier / $2.00 in / $12.00 out

GPT 4.1

Mid-tier / $2.00 in / $8.00 out

GPT 6 Sol

Flagship / $2.00 in / $10.00 out

o3

Mid-tier / $2.00 in / $8.00 out

GPT 6.1 Sol

Flagship / $2.00 in / $10.00 out

GPT 4o

Mid-tier / $2.50 in / $10.00 out

GPT 5.6 Sol

Flagship / $4.00 in / $20.00 out

GPT 5.5

Flagship / $5.00 in / $30.00 out

GPT 4o (2024-05-13)

Flagship / $5.00 in / $15.00 out

GPT 4 Turbo (2024-04-09)

Flagship / $10.00 in / $30.00 out

GPT 4 Turbo

Flagship / $10.00 in / $30.00 out

GPT 6 Astra

Flagship / $10.00 in / $50.00 out

GPT 5 Pro

Flagship / $15.00 in / $120.00 out

o1

Flagship / $15.00 in / $60.00 out

o3 Pro

Flagship / $20.00 in / $80.00 out

GPT 5.2 Pro

Flagship / $21.00 in / $168.00 out

GPT 4 (0613)

Flagship / $30.00 in / $60.00 out

GPT 4

Flagship / $30.00 in / $60.00 out

GPT 5.4 Pro

Flagship / $30.00 in / $180.00 out

GPT 5.5 Pro

Flagship / $30.00 in / $180.00 out

o1 Pro

Flagship / $150.00 in / $600.00 out

Track your GPT 5.4 spend

See exactly how much you spend on GPT 5.4 and where you can save. Two-line wrapper install, no API keys shared.