# GPT-4o API pricing

The official API price of GPT-4o is $2.5 per 1M input tokens and $10 per 1M output tokens (as of 2026-11-12). Context window: 128K tokens, up to 16.4K output tokens per request. 25 providers sell it. The lowest is Cloudflare AI Gateway: $1.25 input, $5 output.

- Type: Text
- Context: 128K
- Max output: 16.4K
- Released: 2024-05-13
- Open weights: No

## Price by provider (USD per 1M tokens)

| Provider | Model id | Input | Output | Cached | Notes |
| --- | --- | --- | --- | --- | --- |
| [OpenAI](https://platform.openai.com/docs/models) | gpt-4o | $2.5 | $10 | $1.25 | Official |
| [Cloudflare AI Gateway](https://developers.cloudflare.com/ai-gateway/) | openai/gpt-4o | $1.25 | $5 | $0.625 | Lowest |
| [302.AI](https://doc.302.ai) | gpt-4o | $2.5 | $10 | — |  |
| [Abacus](https://abacus.ai/help/api) | gpt-4o | $2.5 | $10 | $1.25 |  |
| [AI/ML API](https://docs.aimlapi.com) | openai/gpt-4o | $2.5 | $10 | $1.25 |  |
| [DigitalOcean](https://docs.digitalocean.com/products/gradient-ai-platform/details/models/) | openai-gpt-4o | $2.5 | $10 | $1.25 |  |
| [Eden AI](https://docs.edenai.co) | openai/gpt-4o | $2.5 | $10 | $1.25 |  |
| [FrogBot](https://docs.frogbot.ai) | gpt-4o | $2.5 | $10 | $1.25 |  |
| [Helicone](https://helicone.ai/models) | gpt-4o | $2.5 | $10 | $1.25 |  |
| [Impossibl](https://impossibl.com/docs/models) | openai/gpt-4o | $2.5 | $10 | $1.25 |  |
| [Kilo Gateway](https://kilo.ai) | openai/gpt-4o | $2.5 | $10 | $1.25 |  |
| [DevPass (LLM Gateway)](https://llmgateway.io/docs) | gpt-4o | $2.5 | $10 | $1.25 |  |
| [LLM Gateway](https://llmgateway.io/docs) | azure/gpt-4o | $2.5 | $10 | $1.25 |  |
| [LLM Gateway](https://llmgateway.io/docs) | openai/gpt-4o | $2.5 | $10 | $1.25 |  |
| [LowRouter](https://lowrouter.ai/docs/models/available) | auto/openai/gpt-4o | $2.5 | $10 | $1.25 |  |
| [Merge Gateway](https://docs.merge.dev/merge-gateway) | openai/gpt-4o | $2.5 | $10 | $1.25 |  |
| [NanoGPT](https://docs.nano-gpt.com) | openai/gpt-4o | $2.5 | $10 | $1.25 |  |
| [Ofox](https://ofox.ai/docs) | openai/gpt-4o | $2.5 | $10 | $1.25 |  |
| [OpenRouter](https://openrouter.ai/models) | openai/gpt-4o | $2.5 | $10 | $1.25 |  |
| [OrcaRouter](https://docs.orcarouter.ai) | openai/gpt-4o | $2.5 | $10 | $1.25 |  |
| [Prime Inference](https://docs.primeintellect.ai/inference/overview) | openai/gpt-4o | $2.5 | $10 | — |  |
| [Vercel AI Gateway](https://github.com/vercel/ai/tree/5eb85cc45a259553501f535b8ac79a77d0e79223/packages/gateway) | openai/gpt-4o | $2.5 | $10 | $1.25 |  |
| [Cortecs](https://api.cortecs.ai/v1/models) | gpt-4o | $2.659 | $10.635 | $1.33 |  |
| [Vercel AI Gateway](https://github.com/vercel/ai/tree/5eb85cc45a259553501f535b8ac79a77d0e79223/packages/gateway) | openai/gpt-4o-fast | $4.25 | $17 | $2.125 |  |
| [Azure](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models) | gpt-4o | $2.5 | $10 | $1.25 | Deprecated |
| [Azure Cognitive Services](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models) | gpt-4o | $2.5 | $10 | $1.25 | Deprecated |
| [Poe](https://creator.poe.com/docs/external-applications/openai-compatible-api) | openai/gpt-4o | — | — | — |  |

Providers are those listed by models.dev. This site has not vetted them one by one; each provider's own page has the binding price.

Prices and specs come from models.dev (MIT licence), updated 2026-11-12. Each provider's name links to its official docs. A provider priced at 0 usually includes the model in a subscription; it is not necessarily a free API.

https://apibook.ai/models/openai/gpt-4o/
