GPT-4o

openai/gpt-4o
VisionToolsJSON
by OpenAI · 2024-05-13

GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of [GPT-4 Turbo](/models/openai/gpt-4-turbo) while being twice as...

ctx128K tokens
Max output16.4K
Inputtext + image + file
Outputtext
p50 TTFT3.00 s
INPUT$2.50/ 1M tokens
OUTPUT$10.00/ 1M tokens
p50 TTFT3.00 s7d
p95 TTFT8.15 s7d
TRAFFIC76.9Ktokens / 7d

GPT-4o is a multimodal large language model by OpenAI. It accepts text, image, and file inputs, and outputs text. The model is designed for users who need to process lengthy content (up to 128,000…

What is GPT-4o and who is it for?

What input modalities does GPT-4o support?

What is the context window of GPT-4o?

How does GPT-4o handle file inputs?

Code samples

Call from any SDK

OpenAI-compatible — keep the SDK you already use

  • OpenAI SDKhttps://api.orcarouter.ai/v1
from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key="$ORCAROUTER_API_KEY",
)

response = client.chat.completions.create(
    model="openai/gpt-4o",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Supported parameters

  • frequency_penalty
  • logit_bias
  • logprobs
  • max_completion_tokens
  • max_tokens
  • n
  • parallel_tool_calls
  • prediction
  • presence_penalty
  • response_format
  • seed
  • service_tier
  • stop
  • stream
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_logprobs
  • top_p
  • web_search_options

Pricing

Input / 1M tokens$2.50
Output / 1M tokens$10.00
Cache read / 1M$1.25
CurrencyUSD

Cost calculator

Tokens / month10MM
Input share70%%
Estimated / month $47.50 · With prompt caching $43.13

Estimate based on list price

Token & cost estimator

Input tokens: 20Cost per request: $0.005050

Estimate only — actual token counts depend on the provider's tokenizer.

Performance

p50 TTFT
3.00 s
Output speed
549 tok/s
p95 TTFT
8.15 s
Error rate
4.9%

Public benchmarks

16.7
AA Coding
Better than 13% of models compared
#106 of 123
11.2
AA Intelligence
Better than 13% of models compared
#108 of 125
6.0
AA Math
Better than 0% of models compared
#80 of 81
AIME
15.0
AIME 2025
6.0
GPQA Diamond
54.3
Humanity's Last Exam
3.3
IFBench
34.3
LiveCodeBench
30.9
MATH-500
75.9
MMLU-Pro
74.8
SciCode
33.3
TerminalBench Hard
8.3
τ²-Bench
25.1
Source: artificialanalysis.ai

How it compares

GPT-4oGPT-5.2 ProGPT-5.4 ProGPT-5.5
Input $/M$2.50$21.00$60.00$5.00
Output $/M$10.00$168.00$270.00$30.00
Context128K400K1.1M
Quality3/1010/1010/1010/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What does GPT-4o cost on OrcaRouter?
GPT-4o is priced at $2.50 per 1 million input tokens and $10.00 per 1 million output tokens. There is zero markup—you pay the same as OpenAI's list price.
What is the context window of GPT-4o?
GPT-4o has a context window of 128,000 tokens. It can output up to 16,384 tokens in a single response.
What are the main strengths of GPT-4o?
GPT-4o is strong in multimodal reasoning (text, image, file), long-context understanding, and mathematical problem solving, scoring 75.9 on MATH-500.
How does GPT-4o compare to GPT-4 Turbo?
GPT-4o is cheaper ($2.50/$10 vs $10/$30), supports image inputs natively, and has a larger max output (16,384 vs 4,096). Both have 128k context.
Does OrcaRouter share my data with OpenAI?
OrcaRouter acts as a proxy; data handling follows OpenAI’s and OrcaRouter’s respective policies. Review OrcaRouter’s privacy policy for details.
How do I call GPT-4o via OrcaRouter's API?
Use base URL https://api.orcarouter.ai/v1 with model ID "openai/gpt-4o" in a standard OpenAI-compatible chat completions request. Provide your OrcaRouter API key in the Authorization header.
Can I use GPT-4o for image analysis?
Yes, GPT-4o accepts image inputs (URL or base64) and file uploads, and can answer questions about images or extract information from them.
Is there a minimum spend or contract required?
No. You pay only for the tokens you use. There are no monthly fees or commitments on OrcaRouter.
What does the MATH-500 score of 75.9 mean?
It means GPT-4o correctly solves approximately 76% of the 500 challenging math problems in the benchmark, indicating strong mathematical reasoning.

Embed this badge

OpenAI: GPT-4o$2.50/M in3000ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/openai/gpt-4o" target="_blank"> <img src="https://www.orcarouter.ai/embed/openai/gpt-4o.svg" alt="OpenAI: GPT-4o on OrcaRouter" /> </a>
Markdown [![OpenAI: GPT-4o](https://www.orcarouter.ai/embed/openai/gpt-4o.svg)](https://www.orcarouter.ai/models/openai/gpt-4o)

Model card as data

GET /api/public/models/openai/gpt-4oOpen
Machine-readable:/llms.txt/llms-full.txt