Skip to content
optera

GPT-4o

OpenAI · Released May 2024
OpenAISmart Tier Vision Batch 50% off

How much does GPT-4o cost?

GPT-4o costs $2.50 per million input tokens and $10.00 per million output tokens on OpenAI's own API. Input read from the prompt cache costs $1.25 per million tokens. OpenAI will shut the model down on January 14, 2027. Checked against OpenAI's pricing page on September 30, 2026.

Input Price
$2.50
per 1M tokens
Output Price
$10.00
per 1M tokens
Context Window
128K
tokens
Speed Score
90
out of 100

Benchmarks

Avg 91/100
  • Coding87/100
  • Reasoning90/100
  • Extraction92/100
  • Creative92/100
  • Vision95/100

Pricing

Input

Prompt / context tokens

$2.50/ 1M

Output

Generated tokens

$10.00/ 1M

Batch API

Async processing discount

$1.25 / $5.00

50% off standard price

List price from the OpenAI pricing page, verified September 30, 2026.

Check the source

How we verify prices

Best For

chatbotvisionextractionanalysis

GPT-4o in context

On a typical 70% input / 30% output mix, GPT-4o blends to $4.75 per million tokens. That puts it above 66% of the 47 models tracked here, and 11 other models in the same mid-range tier undercut it. Tier is a capability label, not a price band — the spread inside one tier is often wider than the gap between tiers, which is why picking by tier alone tends to overspend.

Input runs $2.50 per million and output $10.00 — a 4.0x ratio. That ratio matters more than either number on its own: a summarisation or classification workload reads far more than it writes and will track the input price, while a code-generation or long-form writing workload inverts that and will track the output price. Compare models on the ratio your own traffic actually has, not on the input price alone.

The benchmark profile is unusually flat — vision leads at 95/100 but only 8 points separate the strongest category from the weakest. That makes GPT-4o a safe default for mixed workloads where you cannot predict in advance which capability a request will lean on, and a poor choice if you need a specialist.

The context window is 128K tokens and the throughput score is 90/100. Context only earns its keep if you fill it, and filling it is also what makes a request expensive — a large window is an option, not a discount. For a mid-range-tier model, judge the speed score against what you are doing: it decides everything for interactive chat and almost nothing for overnight batch work.

Worth checking before you commit: Claude Haiku 5.5 scores at least as well on combined coding and reasoning and blends to $0.22 per million against GPT-4o's $4.75. That does not make GPT-4o the wrong choice — context window, latency, vendor lock-in, and specific capabilities all sit outside a benchmark score — but it does mean the price difference needs a reason behind it.

The closest comparison is Gemini 3.1 Pro from Google, at $5.00 per million against $4.75. 12 models in this tier score higher on combined coding and reasoning, which is the useful framing: the question is rarely whether a model is good, it is whether it is the cheapest thing that is good enough for the specific work you are sending it.

What it costs in production

At 10M + 2M tokens a month — a realistic mid-size production workload — GPT-4o runs about $45.00. Routing the latency-tolerant share through the batch API at 50% off would bring that to roughly $22.50, which is usually a bigger saving than switching models.

What you actually pay

The list price is only the start. Prompt caching, batch processing and long prompts change the bill, and each provider sets them differently. Prices per 1M tokens.

Pricing terms beyond the list price, per 1M tokens
Pricing termGPT-4o
List price (input / output)$2.50 / $10.00
Cached input$1.2550% of the input price
Batch API50% off input and output
Long prompts—
Input with 80% cache hits$1.50

The last row assumes 80% of input tokens are read from the cache, as in a chat app that re-sends a long system prompt or RAG over the same documents. Cache-write and storage charges are not included.

Checked on October 8, 2026 against the pricing pages of OpenAI.

Price History

DateInput / 1MOutput / 1MChange
May 2024$5.00$15.00Launch
Aug 2024Current$2.50$10.0050% cut

Strengths

  • Still offered at $2.50 / $10 until 14 January 2027
  • Cached input at half price ($1.25/M)
  • 50% Batch API discount

Avoid For

  • Anything new — OpenAI shuts it down on 14 January 2027
  • New builds — GPT-6.1 Sol is cheaper on input and output
  • Long documents: 128K context