GPT/Flagship

GPT 4o (2024-05-13)

GPT 4o (2024-05-13) is GPT's most capable model, priced at $5.00/MTok input and $15.00/MTok output with a 128K context window. Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Not yet benchmarked, so never recommended.

Input $/MTok

$5.00

Output $/MTok

$15.00

Context window

128K

Cache read discount

0% off

GPT 4o (2024-05-13) pricing breakdown

RateInput $/MTokOutput $/MTok
Standard$5.00$15.00
Cached read (0% off input)$5.00-
Cached write (no surcharge)$5.00-
Batch (50% off)$2.50$7.50

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

GPT 4o (2024-05-13) task benchmarks

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

Not benchmarked. The third-party benchmark source used for confidence scores does not cover GPT models yet. Scores will appear here once independent benchmarks are published.

GPT 4o (2024-05-13) 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.0700
Unit Test Generation3,0005,000$0.0900
SQL Generation1,5001,000$0.0225
API Generation3,0006,000$0.1050
Code Refactoring4,0004,000$0.0800
Code Review5,0002,000$0.0550
PR Review8,0003,000$0.0850
Security Review6,0002,500$0.0675
Bug Detection5,0002,000$0.0550
Document Summarization10,0001,000$0.0650
PDF Summarization15,0001,500$0.0975
Meeting Notes8,0002,000$0.0700

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 (0% read discount)
1K$70$70
10K$700$700
100K$7,000$7,000
500K$35,000$35,000
1M$70,000$70,000

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

Flagship alternatives to GPT 4o (2024-05-13)

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

ModelProviderInput $/MTokOutput $/MTokInput savings
MiniMax M3MiniMax$0.30$1.2094% cheaper
DeepSeek V4 ProDeepSeek$0.66$1.9887% cheaper
Grok 4.6Grok$2.00$6.0060% cheaper
Grok 4.5Grok$2.00$6.0060% cheaper
Grok 4.7Grok$2.00$6.0060% cheaper
Qwen 3.8 MaxAlibaba (Qwen)$2.00$6.0060% cheaper
Kimi K3Moonshot (Kimi)$3.00$15.0040% cheaper
Claude Opus 5.5Claude$4.00$20.0020% cheaper
Claude Opus 4.8Claude$5.00$25.00Same price
Claude Opus 5Claude$5.00$25.00Same price
Claude Opus 4.7Claude$5.00$25.00Same price
Claude Opus 4.6Claude$5.00$25.00Same price
Claude Opus 4.5Claude$5.00$25.00Same price
Claude Fable 5.1Claude$10.00$50.00100% more
Claude Fable 5Claude$10.00$50.00100% more
Claude Mythos 5.1Claude$10.00$50.00100% more
Claude Mythos 5Claude$10.00$50.00100% 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 5.4

Mid-tier / $2.50 in / $15.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 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 4o (2024-05-13) spend

See exactly how much you spend on GPT 4o (2024-05-13) and where you can save. Two-line wrapper install, no API keys shared.