OpenAI's GPT-4o (2024-11-20) is a multimodal model supporting text, image, and file inputs. It features a context window of 128,000 tokens and a maximum output of 16,384 tokens. The model is priced at $2.50 per 1 million input tokens and $10.00 per 1 million output tokens, billed at OpenAI’s provider rate with zero markup when accessed through OrcaRouter. This version achieves a score of 75.9 on the MATH-500 benchmark, indicating strong mathematical reasoning capabilities. On OrcaRouter, GPT-4o is available via the OpenAI-compatible API at the base URL https://api.orcarouter.ai/v1 using the model ID "openai/gpt-4o-2024-11-20". It is suitable for a wide range of tasks including complex reasoning, content generation, multimodal analysis, and code development. The combination of a large context window, high output limit, and competitive pricing makes it a versatile choice for production applications that require deep understanding and generation across multiple modalities.
| Input / 1M tokens | $2.50 |
|---|---|
| Output / 1M tokens | $10.00 |
| Cache read / 1M | $1.25 |
| Currency | USD |
1.6M input × $2.5/M + 400K output × $10/M
Prompt caching assumes half of the input tokens are read from cache at $1.25/M.
Estimate based on list price
| Scenario | Input / output tokens | Per request | Per 1,000 requests |
|---|---|---|---|
| Chat reply | 200 / 300 | $0.0035 | $3.50 |
| Summarize a long doc | 30K / 1K | $0.085 | $85.00 |
| Code review | 8K / 2K | $0.040 | $40.00 |
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-4o-2024-11-20",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content){
"id": "chatcmpl-…",
"object": "chat.completion",
"created": 1763280000,
"model": "openai/gpt-4o-2024-11-20",
"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. |
max_completion_tokens | Upper limit on generated tokens, reasoning tokens included. |
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. |
parallel_tool_calls | Allow several tool calls in one turn. |
structured_outputs | The model can follow a strict JSON Schema given in response_format. |
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). |
web_search_options | Let the model search the web, and set how much context it fetches. |
stream | Send the answer as server-sent events while it is generated. |
n | |
prediction | |
service_tier |
Human preference and real-world tasks
Embed this badge
Model card as data
GET /api/public/models/openai/gpt-4o-2024-11-20Open @misc{orcarouter_gpt_4o_2024_11_20,
title = {GPT-4o (2024-11-20) API},
author = {OpenAI},
year = {2024},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/openai/gpt-4o-2024-11-20}
}OpenAI. (2024). GPT-4o (2024-11-20) API. OrcaRouter. https://www.orcarouter.ai/models/openai/gpt-4o-2024-11-20