Back to Models

GPT-4o

openaiopenai/gpt-4o

OpenAI's versatile, high-intelligence flagship model. Accepts text and image inputs, produces text outputs including structured outputs. Best model for most tasks outside reasoning-heavy use cases.

GPT-4o ('omni'), released May 13, 2024, is OpenAI's flagship multimodal model that accepts text, image, and audio inputs and produces text and audio outputs. It achieved GPT-4 Turbo-class intelligence at half the price and with near-real-time voice conversation latency β€” a step change in accessibility and cost efficiency for production AI workloads. GPT-4o scored 88.7 % on MMLU, >90 % on HumanEval, and set new standards for vision understanding across image, PDF, and diagram inputs.

From a TheRouter operator perspective, GPT-4o occupies a unique position: it is the most broadly capable single model for mixed-modality workloads that don't require chain-of-thought reasoning (covered by the o-series) or the extreme cost efficiency of GPT-4o Mini. As of May 2026, GPT-4o remains widely listed on TheRouter and is still active in the OpenAI API, though it was retired from ChatGPT on February 13, 2026 in favour of GPT-5.2. Its successor β€” GPT-4.1 β€” matches or exceeds GPT-4o's intelligence evals while reducing latency by nearly half and cost by 83 %, making GPT-4o primarily relevant for workflows that depend on its specific prompt-compatibility profile or voice/multimodal pipeline stability.

Best for
  • β€’ Multimodal vision-and-language workflows β€” documents with charts, handwriting, tables, and photos where image understanding quality matters more than reasoning depth
  • β€’ Voice-driven agents and real-time audio applications leveraging GPT-4o's native audio modality (receive audio, think, return audio in as low as 232 ms)
  • β€’ High-volume structured-output pipelines (JSON, tool calls) at a competitive $2.50/$10 per million tokens where the GPT-4.1 price cut is insufficient to justify migration costs
  • β€’ Benchmark and regression-test continuity β€” teams that have built extensive eval suites around GPT-4o's specific output distribution benefit from continued API availability
Reach for something else if
  • β€’ Complex multi-step reasoning or code-generation tasks that benefit from chain-of-thought β€” route to openai/o3 or o4-mini for best results
  • β€’ Cost-sensitive high-throughput chat β€” GPT-4o Mini ($0.15/$0.60) or GPT-4.1 (20 % cheaper than GPT-4o per token) offer significantly lower cost at good quality
  • β€’ Latency-critical sub-second classification β€” GPT-4.1 nano delivers up to 4Γ— faster response time at lower cost for single-turn structured tasks
Context Length
128K
Max Output
16K
Input Priceper 1M tokens
$2.70/ 1M tokens
Output Priceper 1M tokens
$10.80/ 1M tokens

Modalities

textimage→text

Capabilities

Vision

Pricing Breakdown

TypeRate
Input$2.70 / 1M tokens
Output$10.80 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatstop

Specifications

Release date2024-05-13openai.com β†—verified
Latest snapshotgpt-4o-2024-11-20 (Nov '24); earlier snapshot gpt-4o-2024-08-06 (Aug '24); original gpt-4o-2024-05-13developers.openai.com β†—verified
Training cutoffNot publicly disclosed (estimated October 2023)single source
Input modalitiesText, image (including PDF and diagrams), audioopenai.com β†—verified
Output modalitiesText (default), audio (realtime API), structured JSON (response_format)openai.com β†—verified
Structured output supportYes β€” native response_format (json_schema, json_object)platform.openai.com β†—verified
Max output tokens16 384 (standard); 4 096 (audio mode via realtime API)developers.openai.com β†—verified
DeploymentOpenAI API, Azure OpenAI, Amazon Bedrock, Google Cloud Vertex AI, Microsoft Foundryopenai.com β†—verified
LicenseOpenAI Terms of Service (proprietary, API-only)verified

Benchmarks

BenchmarkDistributionScoreSource
MMLU
OpenAI's reported score at launch β€” near-expert performance across 57 subjects.
88.7%openai.com β†—
HumanEval
GPT-4o achieves near-expert level Python code generation across a range of prompt complexities.
~90.2%openai.com β†—
MMMU
Massive Multi-discipline Multimodal Understanding benchmark β€” measures vision-language reasoning across 6 disciplines.
69.1%openai.com β†—
MATH
Reported in OpenAI's system card. Zero-shot CoT prompting.
76.6%openai.com β†—
GSM8K
Grade-school math word problems β€” eight-shot CoT. GPT-4o is competitive with GPT-4 Turbo.
90.5%openai.com β†—

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "openai/gpt-4o",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'

Chat completion

Standard chat or text-in/text-out completion via TheRouter's OpenAI-compatible endpoint.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-4o","messages":[{"role":"user","content":"Explain what GPT-4o is in one sentence."}]}'

More from openai

Similar models

Cross-provider sibling models

News & changes

2026-02-13

GPT-4o retired from ChatGPT

OpenAI retired GPT-4o from ChatGPT on February 13, 2026 alongside GPT-4.1, GPT-4.1 mini, and o4-mini in favour of GPT-5.2. The model remains available in the OpenAI API and through TheRouter with no announced API deprecation.

re-authored by TheRouteropenai.com β†—
2025-03-11

GPT-4.1 announced as GPT-4o successor

OpenAI released GPT-4.1, matching or exceeding GPT-4o in intelligence evals while reducing latency by nearly half and cost by 83%. The GPT-4.1 family includes GPT-4.1 mini and GPT-4.1 nano as smaller, cheaper alternatives.

re-authored by TheRouteropenai.com β†—
2024-11-20

GPT-4o November 2024 snapshot released

OpenAI released the gpt-4o-2024-11-20 snapshot with improved performance and lower latency. This is the recommended snapshot for new integrations as of May 2026.

re-authored by TheRouteropenai.com β†—

Frequently asked

Is GPT-4o still available in the API?

Yes. GPT-4o was retired from ChatGPT on February 13, 2026, but remains fully available in the OpenAI API and through TheRouter with no announced API deprecation date. The gpt-4o-2024-11-20 snapshot is the recommended version.

What is the difference between GPT-4o and GPT-4o Mini?

GPT-4o is the flagship multimodal model with full vision, audio, and structured output capabilities at $2.50/$10 per million tokens. GPT-4o Mini is a lightweight, text-focused variant at $0.15/$0.60 per million tokens (17x cheaper) with reduced intelligence but strong performance for simple tasks. Both support 128K context.

Can GPT-4o process audio inputs?

GPT-4o natively accepts audio input and can output audio in near real-time (as low as 232 ms voice-to-voice latency). However, audio input/output requires OpenAI's Realtime API endpoints (/v1/realtime) rather than the standard /v1/chat/completions endpoint. On TheRouter, use the openai/realtime-preview or openai/gpt-4o-audio-preview model aliases for voice applications.

Is GPT-4o a reasoning model?

No. GPT-4o is a general-purpose multimodal model without explicit chain-of-thought reasoning. For complex multi-step reasoning, coding, or math tasks, route to openai/o3, o4-mini, or o3-pro which are designed for extended thinking.

Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release dateopenai.com β†—2026-05-28verified
Latest snapshotdevelopers.openai.com β†—2026-05-28verified
Training cutoffβ€”β€”single source
Input modalitiesopenai.com β†—2026-05-28verified
Output modalitiesopenai.com β†—2026-05-28verified
Structured output supportplatform.openai.com β†—2026-05-28verified
Max output tokensdevelopers.openai.com β†—2026-05-28verified
Deploymentopenai.com β†—2026-05-28verified
Licenseβ€”β€”verified
MMLUopenai.com β†—2026-05-28verified
HumanEvalopenai.com β†—2026-05-28verified
MMMUopenai.com β†—2026-05-28verified
MATHopenai.com β†—2026-05-28verified
GSM8Kopenai.com β†—2026-05-28verified
GPT-4o retired from ChatGPTopenai.com β†—2026-05-28verified
GPT-4.1 announced as GPT-4o successoropenai.com β†—2026-05-28verified
GPT-4o November 2024 snapshot releasedopenai.com β†—2026-05-28verified
Is GPT-4o still available in the API?openai.com β†—2026-05-28to verify
What is the difference between GPT-4o and GPT-4o Mini?openai.com β†—2026-05-28to verify
Can GPT-4o process audio inputs?openai.com β†—2026-05-28to verify
Is GPT-4o a reasoning model?openai.com β†—2026-05-28to verify
Help & contact