GPT-4o (2024-08-06)

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

The 2024-08-06 version of GPT-4o offers improved performance in structured outputs, with the ability…

INPUT$2.50/ 1M tokens
OUTPUT$10.00/ 1M tokens
p50 TTFT1.46 s7d
p95 TTFT3.40 s7d
TRAFFIC10.2Ktokens / 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-08-06",
    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.46 s
Output speed
6.2 tok/s
TTFT p95
3.40 s
Error rate
6.6%
Public benchmarks
AA Coding
16.6
AA Intelligence
18.6
AIME
11.7
GPQA Diamond
52.1
Humanity's Last Exam
2.9
IFBench
36.0
LiveCodeBench
31.7
Long-Context Recall
35.0
MATH-500
79.5
SciCode
33.1
TerminalBench Hard
8.3
τ²-Bench
28.9
Source: artificialanalysis.ai
FAQ
How much does OpenAI: GPT-4o (2024-08-06) cost on OrcaRouter?
OpenAI: GPT-4o (2024-08-06) 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 (2024-08-06)'s context window?
OpenAI: GPT-4o (2024-08-06) 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-08-06) 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-08-06" in the chat.completions.create call.
Does OrcaRouter rate-limit OpenAI: GPT-4o (2024-08-06)?
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-08-06)$2.50/M in1463ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/openai/gpt-4o-2024-08-06" target="_blank"> <img src="https://www.orcarouter.ai/embed/openai/gpt-4o-2024-08-06.svg" alt="OpenAI: GPT-4o (2024-08-06) on OrcaRouter" /> </a>
Markdown [![OpenAI: GPT-4o (2024-08-06)](https://www.orcarouter.ai/embed/openai/gpt-4o-2024-08-06.svg)](https://www.orcarouter.ai/models/openai/gpt-4o-2024-08-06)