GPT-5 Nano

openai/gpt-5-nano
VisionToolsJSONReasoning
by OpenAI · 2025-08-07

GPT-5-Nano is the smallest and fastest variant in the GPT-5 system, optimized for developer tools, rapid interactions, and ultra-low latency environments. While limited in reasoning depth compared to its larger...

ctx400K tokens
Max output128K
Inputtext + image + file
Outputtext
p50 TTFT809 ms
INPUT$0.05/ 1M tokens
OUTPUT$0.40/ 1M tokens
p50 TTFT809 ms7d
p95 TTFT7.00 s7d
TRAFFIC85.5Ktokens / 7d

GPT-5 Nano is a small-scale model in OpenAI’s GPT-5 family, optimized for low-cost inference while retaining a large context window of 400,000 tokens and a maximum output of 128,000 tokens. It…

What is GPT-5 Nano?

Who should use GPT-5 Nano?

What are the key strengths of GPT-5 Nano?

What are the limitations of GPT-5 Nano?

Code samples

Call from any SDK

OpenAI-compatible — keep the SDK you already use

  • OpenAI SDKhttps://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-5-nano",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Supported parameters

  • include_reasoning
  • max_completion_tokens
  • max_tokens
  • reasoning
  • response_format
  • seed
  • stream
  • structured_outputs
  • tool_choice
  • tools

Pricing

Pricing
Input / 1M tokens$0.050
Output / 1M tokens$0.400
Cache read / 1M$0.0050
CurrencyUSD

Cost calculator

Tokens / month10MM
Input share70%%
Estimated / month $1.55 · With prompt caching $1.39

Estimate based on list price

Token & cost estimator

Input tokens: 20Cost per request: $0.000201

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

Compare monthly costs across models in the LLM cost calculator

Performance

p50 TTFT
809 ms
Output speed
323 tok/s
p95 TTFT
7.00 s
Error rate
4.1%

Public benchmarks

20.3
AA Coding
Better than 17% of models compared
#113 of 138
13.0
AA Intelligence
Better than 19% of models compared
#121 of 150
83.7
AA Math
Better than 72% of models compared
#22 of 82
AIME 2025
83.7
GPQA Diamond
67.6
Humanity's Last Exam
9.5
IFBench
67.6
LiveCodeBench
78.9
Long-Context Recall
45.0
MMLU-Pro
78.0
SciCode
36.6
TerminalBench Hard
12.1
τ²-Bench
36.5
Source: artificialanalysis.ai

Community buzz

What developers are saying this week

Hacker News1 mentions · 7ddown 1 vs the previous week

How it compares

GPT-5 NanoGPT-5.2 ProGPT-5.4 ProGPT-5.5
Input $/M$0.05$21.00$60.00$5.00
Output $/M$0.40$168.00$270.00$30.00
Context400K400K1.1M—
Quality4/1010/1010/1010/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What is the cost to run GPT-5 Nano on OrcaRouter?
GPT-5 Nano is priced at $0.05 per 1 million input tokens and $0.40 per 1 million output tokens. OrcaRouter passes these through with zero markup. For a typical request with 1,000 input tokens and 500 output tokens, the cost is approximately $0.00005 + $0.0002 = $0.00025.
What is the context window size of GPT-5 Nano?
The context window is 400,000 tokens, which includes both input and output tokens. The maximum output is 128,000 tokens.
What are the main strengths of GPT-5 Nano?
Its main strengths are cost efficiency ($0.05/M input), large context (400k tokens), multimodal input (text, image, file), and a strong score of 83.7 on the AA Math benchmark, indicating proficiency in arithmetic and math word problems.
How does GPT-5 Nano compare to GPT-4o?
GPT-4o is larger, with higher general intelligence but a smaller context window (128k tokens) and higher pricing. GPT-5 Nano is cheaper, has a 400k context window, and excels at math tasks. For complex reasoning or creativity, GPT-4o is better; for long-context or math-heavy tasks, GPT-5 Nano may be more suitable.
Does OrcaRouter handle data privacy for GPT-5 Nano?
OrcaRouter acts as a proxy to OpenAI’s API. Data privacy policies are determined by OpenAI. OrcaRouter does not store prompts or responses; it forwards requests and returns results. Users should review OpenAI’s data handling policies and OrcaRouter’s terms for details.
How do I call GPT-5 Nano using an OpenAI-compatible API?
Set the base URL to https://api.orcarouter.ai/v1 and use the model ID "openai/gpt-5-nano". Use the standard chat completions endpoint with your OrcaRouter API key. All common parameters (messages, max_tokens, temperature, etc.) are supported.
What is the AA Math benchmark score and what does it mean?
GPT-5 Nano scores 83.7 on AA Math, a benchmark that tests arithmetic and math word problems at levels similar to grade school. This score indicates solid performance for mathematical tasks, though it does not guarantee proficiency in other domains.
Can GPT-5 Nano process images and files?
Yes, GPT-5 Nano accepts text, image, and file inputs. Images can be included via URL or base64 encoding. Files such as PDFs can be attached in the messages. All inputs are counted toward the token limit at the input token rate.
What are the limitations of GPT-5 Nano?
The model is small, so it may underperform on complex reasoning, creative writing, or tasks requiring broad world knowledge. Only one benchmark (AA Math) is provided; other capabilities are not quantified. Output quality may vary for non-math prompts. Users should test on their own data.
Is there any caching available to reduce costs?
Caching policies are determined by OpenAI. OrcaRouter does not add its own caching layer. If OpenAI offers caching for GPT-5 Nano (e.g., for repeated prompt prefixes), it could reduce input token costs. Check OpenAI’s documentation for details.

Embed this badge

OpenAI: GPT-5 Nano•$0.05/M in•809ms p50•via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/openai/gpt-5-nano" target="_blank"> <img src="https://www.orcarouter.ai/embed/openai/gpt-5-nano.svg" alt="OpenAI: GPT-5 Nano on OrcaRouter" /> </a>
Markdown [![OpenAI: GPT-5 Nano](https://www.orcarouter.ai/embed/openai/gpt-5-nano.svg)](https://www.orcarouter.ai/models/openai/gpt-5-nano)

Model card as data

GET /api/public/models/openai/gpt-5-nanoOpen
Machine-readable:/llms.txt/llms-full.txt