GPT-4 Turbo is a large language model from OpenAI that processes text and image inputs and represents an incremental improvement over previous GPT-4 versions. It offers a 128,000-token context window for both input and reasoning, with a maximum output of 4,096 tokens. The model is accessible through OrcaRouter's OpenAI-compatible API at base_url https://api.orcarouter.ai/v1 using the model identifier "openai/gpt-4-turbo". This means existing OpenAI SDK integrations can be redirected to OrcaRouter with minimal code changes. The model is priced at $10.00 per 1 million input tokens and $30.00 per 1 million output tokens, billed at the provider rate with zero markup from OrcaRouter. It achieved a score of 73.7 on the MATH-500 benchmark, which measures mathematical reasoning ability. GPT-4 Turbo is suited for complex reasoning, code generation, document analysis, and tasks that require understanding large amounts of context. Because it supports vision, it can also interpret images, diagrams, and screen captures when supplied as part of the input.
| Input / 1M tokens | $10.00 |
|---|---|
| Output / 1M tokens | $30.00 |
| Currency | USD |
1.6M input × $10/M + 400K output × $30/M
Estimate based on list price
| Scenario | Input / output tokens | Per request | Per 1,000 requests |
|---|---|---|---|
| Chat reply | 200 / 300 | $0.011 | $11.00 |
| Summarize a long doc | 30K / 1K | $0.330 | $330 |
| Code review | 8K / 2K | $0.140 | $140 |
Estimate only — actual token counts depend on the provider's tokenizer.
Use an OpenAI-compatible SDK or send an HTTP request. Get API key
export ORCAROUTER_API_KEY=…https://api.orcarouter.ai/v1import 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",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content){
"id": "chatcmpl-…",
"object": "chat.completion",
"created": 1763280000,
"model": "openai/gpt-4-turbo",
"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.
| Parameter | What it does |
|---|---|
max_tokens | Upper limit on the number of tokens the model generates. |
temperature | Sampling randomness: lower is more focused, higher is more varied. |
tools | Functions the model may call, described as JSON Schema. |
response_format | Force JSON output, optionally matching a JSON Schema. |
top_p | Nucleus sampling: only consider tokens within this cumulative probability. |
stop | Sequences where the model stops generating. |
tool_choice | Whether the model must, may or must not call a tool. |
seed | Ask for repeatable sampling for the same input. |
frequency_penalty | Penalize tokens by how often they have appeared, reducing repetition. |
presence_penalty | Penalize tokens that have appeared at all, encouraging new topics. |
logit_bias | Raise or lower the likelihood of specific tokens. |
logprobs | Return the log probability of each output token. |
top_logprobs | How many likely alternatives to return for each token (needs logprobs). |
stream | Send the answer as server-sent events while it is generated. |
What developers are saying this week
Embed this badge
Model card as data
GET /api/public/models/openai/gpt-4-turboOpen @misc{orcarouter_gpt_4_turbo,
title = {GPT-4 Turbo API},
author = {OpenAI},
year = {2024},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/openai/gpt-4-turbo}
}OpenAI. (2024). GPT-4 Turbo API. OrcaRouter. https://www.orcarouter.ai/models/openai/gpt-4-turbo