Home › Providers › openai › OpenAI: GPT-4o (2024-08-06)

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

OpenAI: GPT-4o (2024-08-06) is an API model from openai. It costs $2.5 per 1M input tokens and $10 per 1M output tokens, with cached input at $1.25. Its context window is 128,000 tokens with up to 16,384 output tokens. A workload of 10M input + 2M output tokens costs about $45 per month.
Input
$2.5
per 1M tokens
Output
$10
per 1M tokens
Cached input
$1.25
per 1M tokens
Context window
128K
128,000 tokens
Blended (80/20)
$4
per 1M tokens

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") is...

How much does OpenAI: GPT-4o (2024-08-06) cost for a real workload?

At 10M input + 2M output tokens per month, OpenAI: GPT-4o (2024-08-06) costs about $45 ($25 input + $20 output). Try your own volumes in the cost calculator.

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

Compare OpenAI: GPT-4o (2024-08-06) with other models

OpenAI: GPT-4o (2024-08-06) vs OpenAI: gpt-oss-20bOpenAI: GPT-4o (2024-08-06) vs OpenAI: gpt-oss-20b (batch)OpenAI: GPT-4o (2024-08-06) vs OpenAI: gpt-oss-120b (batch)OpenAI: GPT-4o (2024-08-06) vs OpenAI: GPT-5 Nano (batch)OpenAI: GPT-4o (2024-08-06) vs OpenAI: GPT-4.1 Nano (batch)OpenAI: GPT-4o (2024-08-06) vs OpenAI: GPT-6 Luna Pro (batch)

Frequently asked questions

How much does OpenAI: GPT-4o (2024-08-06) cost?

OpenAI: GPT-4o (2024-08-06) costs $2.5 per 1M input tokens and $10 per 1M output tokens (list price, snapshot October 21, 2026). At 10M input + 2M output tokens per month that is about $45.

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

OpenAI: GPT-4o (2024-08-06) has a context window of 128,000 tokens and can return up to 16,384 output tokens per response.

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

Cheaper models include MoonshotAI: Kimi K3 ($0.239 in / $11.94 out), Google: Gemini 4 Argon ($2 in / $10 out), OpenAI: GPT-6.1 Sol Pro ($2 in / $10 out). See the full list on this page.

Is OpenAI: GPT-4o (2024-08-06) free to use?

No. OpenAI: GPT-4o (2024-08-06) is a paid model at $2.5 input / $10 output per 1M tokens. 20 free models are listed on the free models page.

Provider: openai · Model ID: openai/gpt-4o-2024-08-06 · Modality: text+image+file->text · Price snapshot October 21, 2026, refreshed daily. How we collect prices