OpenAI GPT-5 Nano (model revision 2025-08-07) is a lightweight variant of the GPT-5 series designed for efficient long-context reasoning. It supports a 400,000-token context window and can output up to 128,000 tokens per generation. Input modalities include text, images, and files, making it suitable for multi-modal document analysis. On the AA Math benchmark, it scores 83.7, indicating strong mathematical reasoning capability for a model of its size.\n\nGPT-5 Nano is accessed through OrcaRouter's OpenAI-compatible API at the standard `/v1` endpoint. Pricing is $0.05 per 1 million input tokens and $0.40 per 1 million output tokens, billed at provider rate with zero markup. This combination of long context, modest cost, and multi-modal input makes it well suited for tasks that require processing large documents, reasoning over images, or handling file-based workflows without exceeding tight budgets.
| Input / 1M tokens | $0.050 |
|---|---|
| Output / 1M tokens | $0.400 |
| Cache read / 1M | $0.0050 |
| Currency | USD |
1.6M input × $0.05/M + 400K output × $0.4/M
Prompt caching assumes half of the input tokens are read from cache at $0.005/M.
Estimate based on list price
| Scenario | Input / output tokens | Per request | Per 1,000 requests |
|---|---|---|---|
| Chat reply | 200 / 300 | $0.0001 | $0.130 |
| Summarize a long doc | 30K / 1K | $0.0019 | $1.90 |
| Code review | 8K / 2K | $0.0012 | $1.20 |
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-5-nano-2025-08-07",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content){
"id": "chatcmpl-…",
"object": "chat.completion",
"created": 1763280000,
"model": "openai/gpt-5-nano-2025-08-07",
"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. |
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. |
tool_choice | Whether the model must, may or must not call a tool. |
structured_outputs | The model can follow a strict JSON Schema given in response_format. |
reasoning | Configure the model's reasoning: effort, token budget, or off. |
include_reasoning | Return the model's reasoning text along with the answer. |
seed | Ask for repeatable sampling for the same input. |
stream | Send the answer as server-sent events while it is generated. |
Human preference and real-world tasks
Embed this badge
Model card as data
GET /api/public/models/openai/gpt-5-nano-2025-08-07Open @misc{orcarouter_gpt_5_nano_2025_08_07,
title = {openai/gpt-5-nano-2025-08-07 API},
author = {openai},
year = {n.d.},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/openai/gpt-5-nano-2025-08-07}
}openai. (n.d.). openai/gpt-5-nano-2025-08-07 API. OrcaRouter. https://www.orcarouter.ai/models/openai/gpt-5-nano-2025-08-07