OpenAI logo

GPT-4o

OpenAI's first natively multimodal model, positioned as a balanced mid-range option.

List price via OpenAI
Input
$2.50 /1M tokens
Output
$10.00 /1M tokens
OpenAI DigitalOcean Azure Replicate 4 providers

Key Specifications

Context window
128K tokens
Max output
16K tokens
Knowledge cutoff
web search available
Released
Inputs
Text, image
Capabilities Show details
Function calling Connect to external tools, APIs, and systems. Structured output Return responses in structured formats like JSON. Web search Search the web for up-to-date information. Code execution Write and execute code in a sandboxed environment. File upload Process uploaded documents, spreadsheets, and other files. MCP Connect to services via Model Context Protocol. Image generation Generate and edit images from text prompts.

Hosted API pricing

Provider Input /1M tokens Output /1M tokens Cached input /1M Cost at 10M in + 2M out
OpenAI logo OpenAI Creator $2.50 $10.00 $1.25 $45.00 View
DigitalOcean logo DigitalOcean $2.50 $10.00 $1.25 $45.00 View
Microsoft Azure logo Azure $2.50 $10.00 $1.25 $45.00 View
Replicate logo Replicate $2.50 $10.00 $45.00 View

Heads up: Base-tier, on-demand rates per 1M tokens; cached, batch and long-context tiers excluded. A provider may serve a shorter context or a quantized build than the creator's release. Verify before provisioning. More on how we price.

Similarly priced models

The models nearest GPT-4o by blended rate, each at its own cheapest provider.

Model Blended /1M vs GPT-4o
Google Cloud Gemini 3.1 Pro Preview Google Cloud $3.6667 −2%
OpenAI GPT-5.6 Terra OpenAI $3.6667 −2%
Moonshot AI Kimi K3 Moonshot AI $3.6667 −2%
Cohere Command A Cohere $3.75 0%
Cohere Command R+ 08-2024 Cohere $3.75 0%
OpenAI GPT-4o This model OpenAI $3.75
OpenAI GPT-5.2 OpenAI $3.7917 +1%
OpenAI GPT-5.3-Codex OpenAI $3.7917 +1%
OpenAI GPT-5.4 OpenAI $4.5833 +22%
Anthropic Claude Sonnet 4.5 Anthropic $5.00 +33%
Anthropic Claude Sonnet 4.6 Anthropic $5.00 +33%

Prices are USD per 1M tokens at each model's cheapest listed provider. Blended is the cost of 10M input plus 2M output tokens, spread over the 12M.

Frequently Asked Questions

What is GPT-4o good for?

General text and image tasks with OpenAI's hosted tools. OpenAI calls it a versatile general-purpose model, mid-priced in its lineup.

When is GPT-4o not a good fit?

Audio or video input, extended reasoning, and anything needing recent knowledge. The GPT-4.1 and GPT-5 families take far longer inputs, and closed weights rule out self-hosting.

What is the cheapest way to run GPT-4o?

The cheapest hosted rate is $2.50 / $10.00 per 1M tokens via OpenAI.

Can I self-host GPT-4o?

No. OpenAI does not publish the weights; GPT-4o is available only through hosted APIs.

More from OpenAI

Model Context Input /1M Output /1M
OpenAI GPT-5.2 400K $1.75 $14.00
OpenAI GPT-5.3-Codex 400K $1.75 $14.00
OpenAI GPT-5.6 Terra 1M $2.00 $12.00
OpenAI GPT-5.6 Sol 1M $2.00 $10.00
OpenAI GPT-5.4 1M $2.50 $15.00
OpenAI GPT-4.1 1M $2.00 $8.00
OpenAI o3 200K $2.00 $8.00
OpenAI GPT-5 400K $1.25 $10.00