OpenAI: GPT-4o (2024-05-13)Work with me

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

byOpenAI

GPT-4o (2024-05-13) is a language model from OpenAI released on May 13, 2024. It reads text, images and files and writes text, with a 128K token context window and up to 4K 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
4K
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 Oct 15, 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$15–128K4K
Merge Gateway$5$15–128K4K
OrcaRouter$5$15–128K4K
AI/ML API$6.50$19.50–128K16K

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 files. Tool calling, structured output, reasoning. Served by 48 providers.

    by anthropicFeb 5, 2026$3/M input tokens$15/M output tokens48 providers

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

    by anthropicJan 15, 2025$3/M input tokens$15/M output tokens33 providers

  • Reads text, images and files. Tool calling, reasoning.

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

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

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

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

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

  • Reads text, images and files. Tool calling, structured output, reasoning.

    by anthropicMay 22, 2025$3/M input tokens$15/M output tokens

More from OpenAI

  • Index 51.8

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

    by openaiSep 29, 20261.05M context$2/M input tokens$10/M output tokens27 providers

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

    by openaiSep 29, 2026$2/M input tokens$10/M output tokens2 providers

  • Index 38.1

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

    by openaiSep 22, 20261.05M context$0.10/M input tokens$0.50/M output tokens27 providers

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

    by openaiSep 22, 2026$0.10/M input tokens$0.50/M output tokens2 providers

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

    by openaiSep 22, 2026$2/M input tokens$10/M output tokens27 providers

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

    by openaiSep 22, 2026$2/M input tokens$10/M output tokens2 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 4,096 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 Oct 15, 2026. The summary is written from these facts.

Building on GPT-4o (2024-05-13)?

I test your real tasks on it and the two closest alternatives, then ship the agent on whichever wins on cost and accuracy.

Book Meeting