GPT-4o (2024-05-13)

openai/gpt-4o-2024-05-13
ZDR
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 output16K
Inputtext + image + file
Outputtext
Data retentionZero Data Retention available. With ZDR on, requests go only to providers with a zero-retention agreement.
INPUT$5.00/ 1M tokens
OUTPUT$15.00/ 1M tokens
p50 TTFTCollecting…
p95 TTFTCollecting…
TRAFFICCollecting…

GPT-4o (2024-05-13) is a multimodal language model from OpenAI, accessible through OrcaRouter’s API. It processes text, images, and files, making it suited for tasks that mix visual and textual data.…

What is GPT-4o (2024-05-13) and who is it for?

What input modalities does GPT-4o support?

How is GPT-4o priced on OrcaRouter?

What is the context window of GPT-4o?

Code samples

Call from any SDK

OpenAI-compatible — keep the SDK you already use

  • OpenAI SDKhttps://api.orcarouter.ai/v1
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key=os.environ["ORCAROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="openai/gpt-4o-2024-05-13",
    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
  • temperature
  • tool_choice
  • tools
  • top_logprobs
  • top_p
  • web_search_options

Pricing

Pricing
Input / 1M tokens$5.00
Output / 1M tokens$15.00
CurrencyUSD

Cost calculator

Tokens / month10MM
Input share70%%
Estimated / month $80.00

Estimate based on list price

Token & cost estimator

Input tokens: 20Cost per request: $0.007600

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

Performance

p50 TTFT
Collecting…
Output speed
Collecting…
p95 TTFT
Collecting…
Error rate
100.0%

Public benchmarks

24.2
AA Coding
Better than 23% of models compared
#106 of 138
7.3
AA Intelligence
Better than 8% of models compared
#140 of 153
AIME
11.0
GPQA Diamond
52.6
Humanity's Last Exam
1.8
LiveCodeBench
33.4
MATH-500
79.1
MMLU-Pro
74.0
SciCode
30.9
Source: artificialanalysis.ai

Community buzz

What developers are saying this week

Hacker News0 mentions · 7d

How it compares

GPT-4o (2024-05-13)GPT-5.2 ProGPT-5.4 ProGPT-5.5
Input $/M$5.00$21.00$60.00$5.00
Output $/M$15.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

How much does GPT-4o cost?
Input tokens: $5.00 per 1 million tokens. Output tokens: $15.00 per 1 million tokens. These are the provider rates; OrcaRouter adds zero markup.
What is the context window size of GPT-4o?
128,000 tokens. This includes all input (text, images, files) and the model’s generated output.
What are GPT-4o’s main strengths?
Multimodal input (text, image, file), 128K context, strong math reasoning (MATH-500: 79.1), and high output limit (16,384 tokens).
How does GPT-4o compare to GPT-4o-mini?
GPT-4o has larger context (128K), supports images and files, higher benchmark scores, but higher price ($5/$15 vs. much lower). Choose based on task complexity.
Does OrcaRouter store my data?
OrcaRouter does not store prompt or completion data beyond operational logging required for billing and abuse prevention. Review OrcaRouter’s privacy policy for specifics.
How do I call GPT-4o through OrcaRouter’s API?
Use base URL https://api.orcarouter.ai/v1, model ID "openai/gpt-4o-2024-05-13", and your OrcaRouter API key. The API is fully OpenAI-compatible.
What is the maximum output length?
16,384 tokens per request. You can control it using the max_tokens parameter.
Does the model support streaming?
Yes. Set stream: true in the request to receive tokens as they are generated.
Are there any volume discounts?
No. OrcaRouter offers no discounts, caching, or reduced pricing for repeated tokens. All tokens are billed at the standard provider rates.
What input formats are supported?
Text, image (PNG, JPEG, GIF, WebP), and file (PDF, Word, Excel, PowerPoint, text).

Embed this badge

OpenAI: GPT-4o (2024-05-13)•$5.00/M in•—•via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/openai/gpt-4o-2024-05-13" target="_blank"> <img src="https://www.orcarouter.ai/embed/openai/gpt-4o-2024-05-13.svg" alt="OpenAI: GPT-4o (2024-05-13) on OrcaRouter" /> </a>
Markdown [![OpenAI: GPT-4o (2024-05-13)](https://www.orcarouter.ai/embed/openai/gpt-4o-2024-05-13.svg)](https://www.orcarouter.ai/models/openai/gpt-4o-2024-05-13)

Model card as data

GET /api/public/models/openai/gpt-4o-2024-05-13Open
Machine-readable:/llms.txt/llms-full.txt