Eliminating the 4 Hidden Taxes: AI Tokens, Manual Work, SaaS Cliffs & AI Scrapers Sponsor this header →

OpenAI: GPT-4o (2024-08-06) API Pricing & Cost Breakdown

The 2024-08-06 version of GPT-4o offers improved performance in structured outputs, with the ability to supply a JSON schema in the respone_format. Read more [here](https://openai.com/index/introducing-structured-outputs-in-the-api/). GPT-4o ("o" for "omni"...

openai/gpt-4o-2024-08-06
Vision
Last checked: Nov 21, 2026
Input / 1M Tokens
$2.50
Prompt & context tokens
Output / 1M Tokens
$10.00
Generated completion tokens
Blended (3:1) / 1M
$4.38
Tier: balanced
Context Window
128K
Max output: 16K

Technical Specifications

Canonical IDopenai/gpt-4o-2024-08-06
ProviderOpenAI
Input Modalitiestext, image, file
Output Modalitiestext
Open-WeightNo (Proprietary API)
Reasoning OptimizedStandard
Vision SupportYes

Estimated Monthly API Spend

StageMonthly TokensEst. Cost
Prototype / MVP
500 req/day
22.5M in / 6.0M out $116.25/mo
Growing SaaS
10,000 req/day
600.0M in / 150.0M out $3,000/mo
Scale Production
100,000 req/day
7500.0M in / 1800.0M out $36,750/mo
Simulate Custom Volume → Cut Cost via 3-Tier Cascade →

Deploy or Route OpenAI: GPT-4o (2024-08-06)

Multi-Provider Gateway

OpenRouter

Unified API gateway for 300+ LLMs with automatic fallbacks and unified billing.

Call via OpenRouter →
Edge AI Gateway

Cloudflare Workers AI

Global edge AI gateway with response caching, rate-limiting, and serverless workers.

Build on Cloudflare →
Simple Cloud Hosting

DigitalOcean GPU Droplets

Simple cloud compute and managed inference droplets with predictable monthly pricing.

Launch on DigitalOcean →

Some outbound infrastructure and API gateway links on KostoZero are partner referrals that help keep this observatory free and independent at no extra cost to you.

Cheaper Alternatives to OpenAI: GPT-4o (2024-08-06)

ModelProviderInput / 1MOutput / 1MBlendedContext
Anthropic: Claude Sonnet 5 Anthropic $2.00 $10.00 $4.00 1M
Anthropic: Claude Sonnet 5.5 Anthropic $2.00 $10.00 $4.00 1M
Anthropic: Claude Sonnet Latest Anthropic $2.00 $10.00 $4.00 1M
Google: Gemini 4 Carbon Google $2.00 $10.00 $4.00 1.05M
Google: Gemini Pro Latest Google $2.00 $10.00 $4.00 1.05M
OpenAI: GPT Sol Latest OpenAI $2.00 $10.00 $4.00 1.05M

Frequently Asked Questions

How much does OpenAI: GPT-4o (2024-08-06) API cost per 1M tokens?

OpenAI: GPT-4o (2024-08-06) costs $2.50 per 1M input tokens and $10.00 per 1M output tokens ($4.38 blended at a 3:1 ratio).

What is the maximum context window of OpenAI: GPT-4o (2024-08-06)?

OpenAI: GPT-4o (2024-08-06) supports up to 128,000 tokens (128K) of input context and up to 16,384 output completion tokens.

What are cheaper alternatives to OpenAI: GPT-4o (2024-08-06)?

Lower-cost options tracked right now include Anthropic: Claude Sonnet 5 ($4.00/1M), Anthropic: Claude Sonnet 5.5 ($4.00/1M), Anthropic: Claude Sonnet Latest ($4.00/1M).

Get Instant Price-Drop (>10%), New AI Bot & SaaS Cliff Alerts

Every 6 hours our autonomous sync checks 40+ LLMs, AI crawlers, and SaaS pricing cliffs—alerting you when prices drop >10% or new scrapers appear.