OpenAI: GPT-4o (2024-05-13)Official docs

OpenAI: GPT-4o (2024-05-13)

byOpenAI
Official docs

GPT-4o (2024-05-13) is a language model from OpenAI released on May 13, 2024. It reads text and images and writes text, with a 128K token context window and up to 16K tokens per reply.

Show more

It costs $5 per million input tokens and $15 per million output tokens.

It supports tool calling and structured JSON output.

4 providers serve it, including Kilo Gateway, Merge Gateway and OrcaRouter.

Modalities
In / out price
$5 / $15 per 1M
Context
128K
Max output
16K
Released
May 13, 2024
Knowledge cutoff
Sep 2023
  • Tool calling
  • Structured output
  • Reasoning
  • Prompt caching
  • Open weights
  • Free to use

GPT-4o (2024-05-13) pricing

USD, as listed on Nov 29, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.

Input$5 / 1M tokens
Output$15 / 1M tokens

GPT-4o (2024-05-13) providers

4 providers serve it, including Kilo Gateway, Merge Gateway and OrcaRouter. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.

ProviderInput /MOutput /MCache read /MContextMax output
Kilo Gateway$5$15n/a128K4K
Merge Gateway$5$15n/a128K4K
OrcaRouter$5$15n/a128K4K
AI/ML API$5.29$15.87n/a128K16K

What GPT-4o (2024-05-13) costs per month

Pick a workload close to yours or type your own volumes.

GPT-4o (2024-05-13) per month
$533
Without caching
$533
Per request
$0.0177

Supported request parameters

What you can set when you call GPT-4o (2024-05-13) through an OpenAI compatible API.

  • Toolstools
  • Structured outputsstructured_outputs
  • Temperaturetemperature

Alternatives to GPT-4o (2024-05-13)

Models that take the same inputs and call tools, closest in price, cheaper ones first.

  • Reads text, images and video. Tool calling, structured output, reasoning. Served by 95 providers.

    by moonshotaiJul 16, 20261.05M context$3/M input tokens$15/M output tokens95 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 55 providers.

    by anthropicFeb 17, 2026$3/M input tokens$15/M output tokens55 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 26 providers.

    by anthropicSep 29, 2025$3/M input tokens$15/M output tokens26 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiNov 12, 2025$2.50/M input tokens$20/M output tokens2 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 53 providers.

    by openaiJul 9, 20261.05M context$2/M input tokens$12/M output tokens53 providers

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 5 providers.

    by googleFeb 19, 20261M context$2/M input tokens$12/M output tokens5 providers

More from OpenAI

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiNov 24, 2026$10/M input tokens$50/M output tokens2 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiNov 24, 2026$2/M input tokens$10/M output tokens2 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiNov 24, 2026$8/M input tokens$40/M output tokens2 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiNov 24, 2026$2/M input tokens$10/M output tokens2 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 26 providers.

    by openaiNov 17, 2026$8/M input tokens$40/M output tokens26 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 26 providers.

    by openaiNov 17, 2026$2/M input tokens$10/M output tokens26 providers

All OpenAI models

GPT-4o (2024-05-13) questions

How much does the GPT-4o (2024-05-13) API cost?

$5 per million input tokens and $15 per million output tokens. The estimator on this page turns that into a monthly bill for your own workload.

What is the context window of GPT-4o (2024-05-13)?

128,000 tokens of input, and it can write up to 16,384 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.

Which providers serve GPT-4o (2024-05-13)?

4 providers serve it, including Kilo Gateway, Merge Gateway and OrcaRouter. Prices differ by host, so the Providers table on this page lists each one with its input and output price.

Does GPT-4o (2024-05-13) support tool calling?

Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.

Is GPT-4o (2024-05-13) open source?

No. OpenAI serves it through an API only, so you cannot download the weights or host it yourself.

When was GPT-4o (2024-05-13) released?

May 13, 2024, with training data up to Sep 2023.

Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 29, 2026. The summary is written from these facts.