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 72 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
Grok 4.6Grok$2.00$6.0060% cheaper
Grok 4.5Grok$2.00$6.0060% cheaper
Grok 4.7Grok$2.00$6.0060% 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

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.