openai/gpt-4-turbo-2024-04-09

openai/gpt-4-turbo-2024-04-09
by openai · text+image in · text out · 128K ctx
INPUT$10.00/ 1M tokens
OUTPUT$30.00/ 1M tokens
p50 TTFT1.95 s7d
p95 TTFT3.56 s7d
TRAFFIC8.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-4-turbo-2024-04-09",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
Pricing
Input / 1M tokens$10.00
Output / 1M tokens$30.00
CurrencyUSD
Performance
TTFT p50
1.95 s
Output speed
5.4 tok/s
TTFT p95
3.56 s
Error rate
2.4%
Public benchmarks
AA Coding
21.5
AA Intelligence
13.7
AIME
15.0
Humanity's Last Exam
3.3
LiveCodeBench
29.1
MATH-500
73.7
MMLU-Pro
69.4
SciCode
31.9
Source: artificialanalysis.ai
FAQ
How much does openai/gpt-4-turbo-2024-04-09 cost on OrcaRouter?
openai/gpt-4-turbo-2024-04-09 is priced at $10.00 per 1M input tokens and $30.00 per 1M output tokens via OrcaRouter. Pricing is pulled live from the routing layer.
What is openai/gpt-4-turbo-2024-04-09's context window?
openai/gpt-4-turbo-2024-04-09 supports a context window of 128K tokens. Use long-context features (RAG, summarisation) up to that limit.
How do I call openai/gpt-4-turbo-2024-04-09 via the OpenAI SDK?
Set OpenAI base_url to https://orcarouter.ai/v1, supply your OrcaRouter API key, and pass model="openai/gpt-4-turbo-2024-04-09" in the chat.completions.create call.
Does OrcaRouter rate-limit openai/gpt-4-turbo-2024-04-09?
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-4-turbo-2024-04-09$10.00/M in1948ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/openai/gpt-4-turbo-2024-04-09" target="_blank"> <img src="https://www.orcarouter.ai/embed/openai/gpt-4-turbo-2024-04-09.svg" alt="openai/gpt-4-turbo-2024-04-09 on OrcaRouter" /> </a>
Markdown [![openai/gpt-4-turbo-2024-04-09](https://www.orcarouter.ai/embed/openai/gpt-4-turbo-2024-04-09.svg)](https://www.orcarouter.ai/models/openai/gpt-4-turbo-2024-04-09)