OpenAI

GPT 4o

gpt-4o
  • Vision
  • File input
  • Structured output
  • Tool use
  • Web search
  • Implicit caching
Input
$2.50
Per 1M tokens
Output
$10.00
Per 1M tokens
Speed
109
tokens / s
Context
128K
tokens
Released
May 2024
Where gpt-4o runs
DeploymentRegionCostFlexPriorityUltrafastCache readCache writeThroughputCapabilitiesZero data retentionNo training
OpenAIGlobal$2.50 / $10.00N/A$4.25 / $17.00N/A$1.25N/A109 tok/s
  • Vision
  • File input
  • Structured output
  • Tool use
  • Web search
  • Implicit caching

Build with GPT 4o

Visit https://docs.weflayr.com/agents/integration-playbook, then set up Weflayr in this project and use it to call the model "gpt-4o".

Compare with other models

Price and speed is only half the answer. Benchmark models on your calls to find out the other half.

Benchmark on your calls
Filters
  • GPT 4o
The gateway's models next to gpt-4o
ModelRegionProvidersCostFlexPriorityUltrafastCache readCache writeThroughputContextZero data retentionNo trainingReleased
glm-5.3-primeGlobal$2.80 / $8.80N/AN/AN/A$0.56N/A212 tok/s1M Sep 2026
gemini-3.1-pro-previewGlobal$2.00 / $12.00$1.00 / $6.00$3.60 / $21.60N/A$0.20N/A270 tok/s1M Feb 2026
gpt-5.3-codexGlobal$1.75 / $14.00N/A$3.50 / $28.00N/A$0.175N/A156 tok/s272KVariesVariesFeb 2026
gpt-5.2GlobalUS$1.75 / $14.00N/A$3.50 / $28.00N/A$0.175N/A222 tok/s272KVariesVariesDec 2025
gpt-6.2-solGlobalUS$2.00 / $10.00N/AN/AN/A$0.10$2.50238 tok/s922KVaries Nov 2026

Alternatives to GPT 4o

38 other models with the same capabilities and at least the same context window as GPT 4o are available on the Weflayr gateway. Review the most notable ones.

Benchmark GPT 4o on your own agent calls

A lower list price says nothing about answer quality. Your evals grade each answer against the one you ship today.

Evaluate models on your own callsExample

Miracle LabsYesterday, 11:34pm_agent

Review all standup recordings from the past week, check if an issue exists for every work item, and create a status report for me.

  • Your agent's answersBaselineBaseline
  • gpt-4o−15% cost Same quality
  • gemini-4-neon+15% cost Better quality
  • gemini-3.1-flash-lite−89% cost Same quality
  • gpt-5-nano−97% costWorse quality

Questions

How much does gpt-4o cost?
gpt-4o costs $2.50 per 1M input tokens and $10.00 per 1M output tokens on its cheapest host, OpenAI, Global. Input read from the cache costs $1.25 per 1M tokens. These are list prices, as the gateway's model list gives them.
Does gpt-4o have other service tiers?
Yes, on OpenAI, Global. Beside its standard $2.50 / $10.00 per 1M tokens, it sells Priority at $4.25 / $17.00.
What is the context window of gpt-4o?
gpt-4o takes up to 128,000 tokens of input and writes up to 16,384 tokens in one answer.
Which hosts run gpt-4o?
1 host: OpenAI (Global). To keep a call on one, send its provider and region, for example "provider": "openai", "region": "GLOBAL".
Can I run gpt-4o in the EU?
Not yet. gpt-4o runs in Global regions only. 38 models that can do the same job run in the EU.
Do the hosts of gpt-4o keep my data or train on it?
Zero data retention: 1 of its 1 deployment. No training on your data: 1 of 1. Where a host does not say, this page shows it as unknown.
How fast is gpt-4o?
Over the last 24 hours, gpt-4o wrote a median of 109 output tokens per second on its fastest host, OpenAI, Global.
What can gpt-4o do?
gpt-4o reads text, images and PDFs and writes text. It supports tool use, structured output, web search and implicit caching.
Is there a cheaper model that does the same job as gpt-4o?
On list price, 24 models can do the same job for less, for a call of 2,000 input and 500 output tokens. The closest in price is gpt-6.2-sol, at 10% less. A price list cannot tell if the answers are as good. A Weflayr benchmark replays your own calls on each model to find out.
How do I call gpt-4o?
Point any OpenAI client at https://gateway.weflayr.com/v1 with a Weflayr API key and send "gpt-4o" as the model. Send a list of models to have the next one answer when the first fails. Calls take up to 128K tokens of context.

Put your model teams to work.

Connect Weflayr, benchmark your agents, and gain control over your AI performance.