GPT-4o (2024-05-13)

openai/gpt-4o-2024-05-13
by OpenAI · text+image+file in · text out · 128K ctx · 2024-05-13

GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text…

INPUT$5.00/ 1M tokens
OUTPUT$15.00/ 1M tokens
p50 TTFT1.49 s7d
p95 TTFT3.33 s7d
TRAFFIC12.0Ktokens / 7d
Code samples
from openai import OpenAI

client = OpenAI(
    base_url="https://orcarouter.ai/v1",
    api_key="$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)
Pricing
Input / 1M tokens$5.00
Output / 1M tokens$15.00
CurrencyUSD
Performance
TTFT p50
1.49 s
Output speed
4.8 tok/s
TTFT p95
3.33 s
Error rate
5.7%
Public benchmarks
AA Coding
24.2
AA Intelligence
14.5
AIME
11.0
GPQA Diamond
52.6
Humanity's Last Exam
2.8
LiveCodeBench
33.4
MATH-500
79.1
MMLU-Pro
74.0
SciCode
30.9
Source: artificialanalysis.ai
FAQ
How much does OpenAI: GPT-4o (2024-05-13) cost on OrcaRouter?
OpenAI: GPT-4o (2024-05-13) is priced at $5.00 per 1M input tokens and $15.00 per 1M output tokens via OrcaRouter. Pricing is pulled live from the routing layer.
What is OpenAI: GPT-4o (2024-05-13)'s context window?
OpenAI: GPT-4o (2024-05-13) supports a context window of 128K tokens. Use long-context features (RAG, summarisation) up to that limit.
How do I call OpenAI: GPT-4o (2024-05-13) via the OpenAI SDK?
Set OpenAI base_url to https://orcarouter.ai/v1, supply your OrcaRouter API key, and pass model="openai/gpt-4o-2024-05-13" in the chat.completions.create call.
Does OrcaRouter rate-limit OpenAI: GPT-4o (2024-05-13)?
Per-model rate limits follow your OrcaRouter plan. Free tiers ship with conservative caps; paid tiers lift them. Check /pricing for current quotas.
Embed this badge
OpenAI: GPT-4o (2024-05-13)$5.00/M in1488ms p50via 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)