# GPT-4o API pricing retiring 2027-01-14 

| Field | Per 1M tokens |
| --- | --- |
| Input | $2.50 |
| Output | $10.00 |
| Cached input | $1.25 |
| Batch input | $1.25 |
| Batch output | $5.00 |

[Cost calculator](https://apicostcheck.com/calculator/) · [Compare models](https://apicostcheck.com/compare/)

OpenAI has announced the retirement of GPT-4o (2027-01-14). Prices above apply until then; plan a migration. OpenAI names [GPT-6 Luna](https://apicostcheck.com/models/gpt-6-luna/) as the replacement. Compared with GPT-4o, [GPT-6 Luna](https://apicostcheck.com/models/gpt-6-luna/) costs 96% less on input and 95% less on output. [Provider notice](https://developers.openai.com/api/docs/deprecations) Azure OpenAI lists a different retirement date: 2027-04-14 (model versions 2024-08-06, 2024-11-20; checked 2026-11-18; [Azure OpenAI schedule](https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/model-retirement-schedule)). 

[Report a wrong price](https://apicostcheck.com/board/?cat=data&title=Wrong+price%3A+GPT-4o&body=Our+page+shows+%242.50+input+%2F+%2410.00+output+per+1M.+The+official+page+says%3A+%28paste+the+link+and+the+price%29#new) 

[OpenAI](https://apicostcheck.com/providers/openai/) · Context window 128,000 · Max input 111,616 · Max output 16,384 [vision](https://apicostcheck.com/?f_vision=yes) · [tool calling](https://apicostcheck.com/?f_tools=yes) · [structured output](https://apicostcheck.com/?f_schema=yes) Per 1,000 tokens (1K): $0.0025 input, $0.01 output. 

[Calculate my cost →](https://apicostcheck.com/calculator/?model=gpt-4o) 

Follow this price: 

Confirm with the link we send; every alert has a one-click unsubscribe. [How alerts work](https://apicostcheck.com/alerts/) · [Privacy](https://apicostcheck.com/privacy/#alert-data) 

### Atom feed ▾

[Atom](https://apicostcheck.com/models/gpt-4o/feed.xml)[JSON](https://apicostcheck.com/data/models/gpt-4o.json)

Get notified in any feed reader. 

Billing rules for caching, Batch and long prompts: [OpenAI API cost guide](https://apicostcheck.com/openai-api-cost-calculator/). 

## Price in context

GPT-4o ranks 13 of 26 current OpenAI models by output price, cheapest first ([GPT-6 Luna](https://apicostcheck.com/models/gpt-6-luna/) is the cheapest at $0.50, [GPT-5.4 Pro](https://apicostcheck.com/models/gpt-5.4-pro/) the most expensive at $180.00). Output tokens cost 4× the input price; the median across all 126 current models is 5×. Against the whole table (median $1.25 input / $4.40 output per 1M), GPT-4o is pricier on both input and output.

Cached input costs 50% of the normal input price ($1.25 vs $2.50 per 1M). In the support-chatbot scenario with 60% cache hits the month comes to $915 instead of $1,050 without caching (13% less). There is no separate cache-write charge: repeated prefixes are discounted automatically. The Batch API bills $1.25 input / $5.00 output per 1M (50% below the live rates) for jobs that are not time-critical; the batch-processing scenario costs $3,938 per month.

The context window is 128,000 tokens, roughly 256 pages of English text; 93% of current models accept more. The closest model from another provider by price is [Gemini 4 Carbon](https://apicostcheck.com/models/gemini-4-carbon/) ($2.00 / $10.00); the cheapest non-reasoning model for the chatbot scenario is [Ministral 3b (latest)](https://apicostcheck.com/models/ministral-3b-latest/) at $14.28 per month against $915 for GPT-4o.

## What it costs per month

| Scenario (per month) | GPT-4o |
| --- | --- |
| Customer support chatbot 5,000 req/day · 1,200 in · 400 out · cache 60% | $915 |
| RAG over documents 2,000 req/day · 8,000 in · 600 out · cache 30% | $1,380 |
| Coding agent 1,500 req/day · 25,000 in · 2,000 out · cache 80% | $2,588 |
| Deep reasoning 800 req/day · 3,000 in · 6,000 out · cache 20% | $1,602 |
| Batch processing 50,000 req/day · 1,500 in · 150 out · batch | $3,938 |

Adjust the numbers in the [calculator](https://apicostcheck.com/calculator/). 

## Cheaper alternatives

Lowest monthly cost for the chatbot scenario among non-reasoning models: 

- [Ministral 3b (latest)](https://apicostcheck.com/models/ministral-3b-latest/) — $14.28/mo
- [Ministral 8b (latest)](https://apicostcheck.com/models/ministral-8b-latest/) — $21.42/mo
- [Hy4 Flash](https://apicostcheck.com/models/hy4-flash/) — $22.22/mo
- [Ministral 14b (latest)](https://apicostcheck.com/models/ministral-14b-latest/) — $28.56/mo
- [Mercury 2.5](https://apicostcheck.com/models/mercury-2.5/) — $61.56/mo 

## Comparisons

- [GPT-4o vs GPT-6 Luna](https://apicostcheck.com/compare/gpt-4o-vs-gpt-6-luna/)
- [Compare GPT-4o with any model →](https://apicostcheck.com/compare/?m=gpt-4o) 

## Other OpenAI models

[GPT-6.2 Astra](https://apicostcheck.com/models/gpt-6.2-astra/), [GPT-6.2 Astra Law](https://apicostcheck.com/models/gpt-6.2-astra-law/), [GPT-6.2 Sol](https://apicostcheck.com/models/gpt-6.2-sol/), [GPT-6.1 Sol](https://apicostcheck.com/models/gpt-6.1-sol/), [GPT-6 Sol](https://apicostcheck.com/models/gpt-6-sol/), [GPT-6 Astra Law](https://apicostcheck.com/models/gpt-6-astra-law/), [GPT-6 Astra](https://apicostcheck.com/models/gpt-6-astra/), [GPT-5.6 Sol](https://apicostcheck.com/models/gpt-5.6-sol/), [GPT-5.6 Terra](https://apicostcheck.com/models/gpt-5.6-terra/), [GPT-5.5](https://apicostcheck.com/models/gpt-5.5/), [GPT-5.5 Pro](https://apicostcheck.com/models/gpt-5.5-pro/), [GPT-5.4](https://apicostcheck.com/models/gpt-5.4/), [GPT-5.4 Pro](https://apicostcheck.com/models/gpt-5.4-pro/), [GPT-5.3 Codex](https://apicostcheck.com/models/gpt-5.3-codex/) retiring 2027-04-01, [GPT-5.2](https://apicostcheck.com/models/gpt-5.2/), [GPT-5.2 Pro](https://apicostcheck.com/models/gpt-5.2-pro/), [GPT-5.1](https://apicostcheck.com/models/gpt-5.1/) retiring 2027-04-01, [GPT-4.1](https://apicostcheck.com/models/gpt-4.1/) retiring 2027-01-14, [GPT-6.1 Terra](https://apicostcheck.com/models/gpt-6.1-terra/), [GPT-6 Luna](https://apicostcheck.com/models/gpt-6-luna/), [GPT-5.6 Luna](https://apicostcheck.com/models/gpt-5.6-luna/), [GPT-5.4 mini](https://apicostcheck.com/models/gpt-5.4-mini/), [GPT-5.4 nano](https://apicostcheck.com/models/gpt-5.4-nano/) retiring 2027-04-01, [GPT-4.1 mini](https://apicostcheck.com/models/gpt-4.1-mini/) retiring 2027-01-14, [GPT-4o mini](https://apicostcheck.com/models/gpt-4o-mini/) retiring 2027-01-14 · [All OpenAI API prices →](https://apicostcheck.com/providers/openai/) 

## Models at a similar price

[GPT-6.2 Sol](https://apicostcheck.com/models/gpt-6.2-sol/) ($2.00/$10.00), [Gemini 4 Carbon](https://apicostcheck.com/models/gemini-4-carbon/) ($2.00/$10.00), [Kimi K3.1 Pro](https://apicostcheck.com/models/kimi-k3.1-pro/) ($2.00/$10.00), [Gemini 4 Argon](https://apicostcheck.com/models/gemini-4-argon/) ($2.00/$10.00), [GPT-6.1 Sol](https://apicostcheck.com/models/gpt-6.1-sol/) ($2.00/$10.00), [Claude Sonnet 5.5](https://apicostcheck.com/models/claude-sonnet-5-5/) ($2.00/$10.00) 

## Price history

No price changes recorded since tracking began on 2026-10-08. [See all price changes →](https://apicostcheck.com/price-changes/)

## Source and checks

| | |
| --- | --- |
| Data source | [LiteLLM price list](https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json) (MIT) |
| Official pricing | [developers.openai.com ↗](https://developers.openai.com/api/docs/pricing) |
| Last synced | 2026-11-24 01:00 UTC |
| Last price change | No price changes recorded since tracking began on 2026-10-08. |
| Cross-check | Matches models.dev |
| Official check | Verified against the [official page](https://developers.openai.com/api/docs/pricing.md) on 2026-11-24 (automatic check) |
| Price region | Not confirmed by an official check |

| Field | This site | Official | Status |
| --- | --- | --- | --- |
| Input | $2.50 | $2.50 | ✓ official |
| Output | $10.00 | $10.00 | ✓ official |
| Cached input | $1.25 | $1.25 | ✓ official |
| Batch input | $1.25 | $1.25 | ✓ official |
| Batch output | $5.00 | $5.00 | ✓ official |
| Context window | 128,000 | — | – unchecked |
| Max input | 111,616 | — | – unchecked LiteLLM lists 128,000 |
| Max output | 16,384 | — | – unchecked |

✓ official = the official page's value is in use (other sources' values noted) · ✓ verified = other source equals the official page · ≠ mismatch = differs and is held for confirmation; both shown · … pending = the automatic check could not read the page · – unchecked = not listed on the official page or not checked yet

Cite: GPT-4o API pricing, https://apicostcheck.com/models/gpt-4o/, retrieved 2026-11-24. Reuse under CC BY 4.0; a plain or nofollow link is fine.

---
Source: https://apicostcheck.com/models/gpt-4o/ · prices in USD per 1M tokens, synced 2026-11-24 01:00 UTC · Free to reuse under CC BY 4.0 with attribution to apicostcheck.com (a plain or nofollow link is fine). Prices derived from LiteLLM's model price list, MIT License, (c) 2023 Berri AI.
