OpenAI, released May 13, 2024

GPT-4o

GPT-4o is an older OpenAI model from May 2024 that takes text, images, and PDFs and sends back text. In the current OpenAI lineup it's been passed by the newer GPT-6.1 Terra, GPT-6.2 Sol, and GPT-6.2 Astra families (it's even slightly pricier on input than GPT-6.2 Sol, though still much cheaper than GPT-6.2 Astra). It's built for general API tasks that mix text and visual or document inputs with tool calling and structured JSON.

Already paying for ChatGPT?

GPT-4o costs $10 per 1M output tokens. Use GPT-6.2 Sol through your ChatGPT plan instead, $0 per token.

Get your API key Free plan, no card needed

Updated

GPT-4o pricing and specs

Input
$2.50per 1M tokens
Output
$10per 1M tokens
Cached input
$1.25per 1M tokens
Context window
128K128,000 tokens
Max output
16K16,384 tokens
Released
May 13, 2024
Knowledge cutoff
Oct 2023
Accepts
TextImagesFiles
Features
Tool callingStructured outputs

What GPT-4o is good at

  • Pulling information out of PDFs and images alongside regular text prompts, since it accepts all three in one call without needing a separate tool to extract text first.
  • Structured data extraction. It supports structured JSON output directly, so your code gets back the shape it expects.
  • Tool-calling workflows where the model needs to invoke your functions as part of a multi-step task.
  • Keeping an older OpenAI integration running as-is when you aren't ready to move to GPT-6.1 Terra or GPT-6.2 Sol yet.

Good to know

  • Its knowledge cutoff is October 2023, which is a long way back at this point. If your app deals with anything recent, you'll need to feed that info in yourself or hook it up to tools.
  • For new projects, check GPT-6.1 Terra and GPT-6.2 Sol first. Both came out in late 2026, GPT-6.1 Terra is cheaper across the board, and GPT-6.2 Sol costs less for input and the same for output.
  • The context window is fairly roomy, but the max output per reply is a much smaller fraction of it. That's fine for most calls, just don't expect to get a massive document back in a single reply.

GPT-4o vs similar models

API price per 1M tokens
ModelInputOutputPlan2APIContext
GPT-4o$2.50$10Not available128K
GPT-6.2 Astra$8$40$0 on ChatGPT1.1M
GPT-6.2 Astra Pro$8$40Not available1.1M
GPT-6.2 Sol$2$10$0 on ChatGPT1.1M
Claude Sonnet 5.5$2$10$0 on Claude1M
Claude Sonnet 5$2$10$0 on Claude1M

GPT-4o cost per month

Tokens a month at $2.50 input and $10 output per 1M
WorkloadAPI price
Side project2M in, 500K out$10.00
Production app25M in, 5M out$113
Agents at scale250M in, 50M out$1,125

FAQ

How much does the GPT-4o API cost?

GPT-4o costs $2.50 per 1M input tokens and $10 per 1M output tokens, and cached input costs $1.25 per 1M.

What is the GPT-4o context window?

GPT-4o takes 128,000 tokens of context, with up to 16,384 output tokens per request.

When was GPT-4o released?

OpenAI released GPT-4o on May 13, 2024.

Can I use GPT-4o with my subscription?

Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6.2 Sol runs through your ChatGPT plan at $0 per token instead.

Can GPT-4o read PDFs and images directly?

Yes, you can send text, images, and PDF files straight to the model, and it responds with text. No extra file-to-text step required on your end.

Should I still pick GPT-4o over newer OpenAI models?

Probably not for new projects. GPT-4o came out in May 2024 with an October 2023 knowledge cutoff, and OpenAI has since shipped GPT-6.1 Terra, GPT-6.2 Sol, and GPT-6.2 Astra in late 2026. So unless you're maintaining an existing setup that already uses GPT-4o, starting with one of the newer models makes more sense.

More OpenAI models

All 57 OpenAI models

Already paying for ChatGPT? Use GPT-6.2 Sol through your plan, $0 per token.

  • Free: 1 subscription, no daily cap, no card
  • Pro: $12 a month

GPT-6.2 Sol at $0 per tokenFree plan, no card needed

Get your API key

Guides

80