GPT-4o

openai/gpt-4o
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$2.50/ 1M tokens
OUTPUT$10.00/ 1M tokens
p50 TTFT1.97 s7d
p95 TTFT8.33 s7d
TRAFFIC282.1Ktokens / 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",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
Pricing
Input / 1M tokens$2.50
Output / 1M tokens$10.00
Cache read / 1M$1.25
CurrencyUSD
Performance
TTFT p50
1.97 s
Output speed
283 tok/s
TTFT p95
8.33 s
Error rate
4.8%
Public benchmarks
AA Coding
16.7
AA Intelligence
17.3
AA Math
6.0
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
FAQ
How much does OpenAI: GPT-4o cost on OrcaRouter?
OpenAI: GPT-4o is priced at $2.50 per 1M input tokens and $10.00 per 1M output tokens via OrcaRouter. Pricing is pulled live from the routing layer.
What is OpenAI: GPT-4o's context window?
OpenAI: GPT-4o supports a context window of 128K tokens. Use long-context features (RAG, summarisation) up to that limit.
How do I call OpenAI: GPT-4o via the OpenAI SDK?
Set OpenAI base_url to https://orcarouter.ai/v1, supply your OrcaRouter API key, and pass model="openai/gpt-4o" in the chat.completions.create call.
Does OrcaRouter rate-limit OpenAI: GPT-4o?
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$2.50/M in1968ms 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)