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

openai/gpt-4-turbo-2024-04-09
ZDR
VisionToolsJSON
by openai

GPT-4 Turbo (release date April 9, 2024) is a large language model from OpenAI that supports both text and image inputs. It features a 128,000-token context window and can generate up to 4,096 tokens per response. This model achieves a score of 73.7 on the MATH-500 benchmark, indicating strong mathematical reasoning capabilities. It is well-suited for tasks that benefit from extended context lengths, such as processing long documents, multi-turn conversations, and complex problem-solving. Accessed through OrcaRouter's OpenAI-compatible API at the base URL https://api.orcarouter.ai/v1, the model identifier is "openai/gpt-4-turbo-2024-04-09". OrcaRouter bills at the provider rate with zero markup: $10.00 per 1 million input tokens and $30.00 per 1 million output tokens. Developers familiar with OpenAI's API can migrate by changing the base URL and model ID.

Max output4K
Inputtext + image
Outputtext
Data retentionZero Data Retention available. With ZDR on, requests go only to providers with a zero-retention agreement.
Runs inEuropean Union
Context window128Ktokens
INPUT$10.00/ 1M tokens
OUTPUT$30.00/ 1M tokens
p50 TTFTCollecting…
p95 TTFTCollecting…

Pricing

Pricing
Input / 1M tokens$10.00
Output / 1M tokens$30.00
CurrencyUSD

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $28.00

1.6M input × $10/M + 400K output × $30/M

Estimate based on list price

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.011$11.00
Summarize a long doc30K / 1K$0.330$330
Code review8K / 2K$0.140$140

Token & cost estimator

Input tokens: 20Cost per request: $0.0152

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

Compare monthly costs across models in the LLM cost calculator

Code samples

Use an OpenAI-compatible SDK or send an HTTP request. Get API key

API key
export ORCAROUTER_API_KEY=…
Base URL
https://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-4-turbo-2024-04-09",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Example response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1763280000,
  "model": "openai/gpt-4-turbo-2024-04-09",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 10,
    "total_tokens": 19
  }
}
  • choices[0].message.content — the model's answer.
  • finish_reason — "stop" means the answer is complete; "length" means it was cut off at max_tokens.
  • usage — the input and output tokens this call is billed for.

An HTTP 200 with finish_reason "stop" means the call succeeded.

Supported parameters

ParameterWhat it does
max_tokensUpper limit on the number of tokens the model generates.
temperatureSampling randomness: lower is more focused, higher is more varied.
toolsFunctions the model may call, described as JSON Schema.
response_formatForce JSON output, optionally matching a JSON Schema.
top_pNucleus sampling: only consider tokens within this cumulative probability.

Full API reference

Use cases and examples

  • Long context — 128K-token context window: whole codebases, long reports or chat histories in one request.
  • Multimodal input — Takes text + image in one request.
  • Agents and tool use — Calls the functions you define, for agents and tool workflows.
  • Structured extraction — Returns JSON that follows your schema, for pulling fields out of text.
  • Complex mathematical reasoning and problem-solving (MATH-500 score: 73.7)
  • Processing and summarizing long documents (up to 128K tokens of context)
  • Multimodal applications that combine text and image understanding
  • Code generation, debugging, and analysis over extended contexts
  • Data extraction and analysis from large textual or mixed-media sources

Performance

p50 TTFTTime to first token for a typical request: half of requests got their first token faster than this.
Collecting…
Output speedHow many tokens per second the model streams once it starts answering.
Collecting…
p95 TTFTTime to first token for a slow request: 95% of requests got their first token faster than this.
Collecting…
Error rateShare of requests to this model on OrcaRouter that ended in an error over the window.
100.0%

Benchmarks

21.5
AA CodingArtificial Analysis Coding Index: one 0–100 score that combines its coding evaluations.
Better than 19% of models compared
#111 of 138
7.0
AA IntelligenceArtificial Analysis Intelligence Index: one 0–100 score that combines its evaluations of reasoning, knowledge, math and coding.
Better than 7% of models compared
#142 of 153
AIMEAIME: problems from the American Invitational Mathematics Examination, a high-school olympiad qualifier.
15.0#19 of 26
Humanity's Last ExamHumanity's Last Exam: expert-written questions at the frontier of human knowledge, across dozens of subjects.
3.1#135 of 141
LiveCodeBenchLiveCodeBench: recent competitive-programming problems, published after most models were trained.
29.1#53 of 56
MATH-500MATH-500: 500 competition math problems from the MATH dataset.
73.7#25 of 32
MMLU-ProMMLU-Pro: hard ten-option multiple-choice questions across 14 academic subjects.
69.4#62 of 91
SciCodeSciCode: writing code that solves research-level problems in physics, chemistry, biology and math.
31.9#130 of 141
Source: artificialanalysis.ai

Human preference and real-world tasks

1,272
LMArena TextLMArena Text: an Elo rating from blind votes by people comparing two models' answers side by side.
#290 on LMArena
1,090
LMArena VisionLMArena Vision: an Elo rating from blind human votes on answers to prompts that include images.
#136 on LMArena
Source: lmarena.ai

Compare models

openai/gpt-4-turbo-2024-04-09GPT-5.2 ProGPT-5.4 ProGPT-5.5
Input $/M$10.00$21.00$60.00$5.00
Output $/M$30.00$168.00$270.00$30.00
Context128K400K1.1M—
Quality2/1010/1010/1010/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What is the cost of using openai/gpt-4-turbo-2024-04-09 on OrcaRouter?
OrcaRouter bills at OpenAI's provider rate with zero markup. Input tokens cost $10.00 per 1M tokens, output tokens cost $30.00 per 1M tokens. Both text and image tokens are counted according to OpenAI's tokenization rules.
What is the context window size of this model?
The model has a context window of 128,000 tokens. It can accept up to 128K tokens in the input (including both text and image tokens) and generate up to 4,096 output tokens per request.
What are the model's main strengths?
The model excels at mathematical reasoning (scored 73.7 on MATH-500), handles very long contexts (128K tokens), and supports multimodal inputs (text and images). It is suitable for complex reasoning, long-document analysis, and vision-language tasks.
How does openai/gpt-4-turbo-2024-04-09 compare to GPT-4o?
GPT-4o is a newer, faster, and cheaper multimodal model also with 128K context. It typically achieves higher benchmark scores. GPT-4 Turbo may still be preferred if you have optimized prompts for this version or need specific behavior. Both are available on OrcaRouter.
How is data handled when using OrcaRouter?
OrcaRouter passes requests directly to OpenAI's API without storing or modifying the content. Your API key is used only for authentication. Data privacy follows OpenAI's policies. Refer to OrcaRouter's privacy documentation for details.
How do I call this model via the OpenAI-compatible API on OrcaRouter?
Set the base URL to https://api.orcarouter.ai/v1, use your OrcaRouter API key, and specify model="openai/gpt-4-turbo-2024-04-09" in your chat completions request. All standard parameters (temperature, max_tokens, etc.) are supported.
What is the maximum output token length?
The maximum output token length is 4,096 tokens. You can set max_tokens up to this value. If you need longer outputs, you will need to use multiple calls or a model with a higher output limit.
Can I use image inputs with this model?
Yes, the model accepts image inputs as base64-encoded strings or URLs. Include them in the messages array as content with type "image_url". Image tokens are charged at the input token rate.
Does OrcaRouter offer any caching or discounts for high volume?
OrcaRouter does not offer token caching or volume discounts for this model. Pricing is strictly per-token at the provider rate (zero markup). To reduce costs, optimize prompt length or switch to a cheaper model.
What are the known limitations of this model?
Limitations include potential for hallucination, verbosity, and lack of knowledge events after its training cutoff. It may also struggle with strict formatting instructions. For safety-critical applications, always validate outputs.

Embed this badge

openai/gpt-4-turbo-2024-04-09•$10.00/M in•—•via 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)

Model card as data

GET /api/public/models/openai/gpt-4-turbo-2024-04-09Open
Machine-readable:/llms.txt/llms-full.txt