Back to Models

GPT-5 Nano

openaiopenai/gpt-5-nano

Fastest, most cost-efficient version of GPT-5. Great for summarization and classification tasks with reasoning token support. Features a 400K context window and 128K max output.

GPT-5 Nano is OpenAI's smallest, fastest, and most cost-efficient GPT-5 variant, optimized for well-defined tasks where speed-to-cost ratio matters more than ceiling intelligence. Launched alongside the GPT-5 family on August 7, 2025, it shares the same 400K context window and 128K max output tokens as its larger siblings β€” at roughly one-tenth the cost of GPT-5 Mini and one-fiftieth the cost of GPT-5. On TheRouter, openai/gpt-5-nano is priced at $0.05 per 1M input tokens and $0.40 per 1M output tokens, making it one of the most affordable reasoning-capable models with long context support.

Despite its small size, GPT-5 Nano supports the full GPT-5 parameter suite: reasoning_effort (minimal through high), verbosity control (low/medium/high), tool calling with parallel execution, response_format for structured JSON output, and image understanding with text-only output. Its low latency profile β€” combined with the 90% cache-read discount ($0.005/1M cached input tokens) β€” makes it ideal for high-volume production workloads where quick, accurate classification or extraction is the primary goal.

Best for
  • β€’ High-volume sentiment classification β€” sub-cent classification at $0.40/M output tokens
  • β€’ Summarization at scale β€” 400K context for document-length inputs at budget pricing
  • β€’ Structured data extraction β€” fast JSON output with response_format and minimal reasoning_effort
  • β€’ Cost-sensitive tool orchestration β€” full tool calling at the lowest GPT-5 tier
  • β€’ Cache-friendly iterative workflows β€” 90% discount on cached input makes batch processing extremely economical
Reach for something else if
  • β€’ Complex multi-step reasoning β€” use GPT-5 Mini or GPT-5 for deeper agent chains and advanced math
  • β€’ Frontend or production code generation β€” internal tests show GPT-5 Mini outperforms GPT-5 Nano for complex code generation tasks
  • β€’ Image or audio generation β€” text-only output; use gpt-image-2 or gpt-realtime-2 for media generation
  • β€’ Real-time voice interactions β€” use gpt-realtime-1.5 or gpt-realtime-2 for sub-300ms voice applications
Context Length
400K
Max Output
128K
Input Priceper 1M tokens
$0.054/ 1M tokens
Output Priceper 1M tokens
$0.432/ 1M tokens

Modalities

textimage→text

Capabilities

Vision

Pricing Breakdown

TypeRate
Input$0.054 / 1M tokens
Output$0.432 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatreasoningstop

Specifications

Release date2025-08-07openai.com β†—verified
Knowledge cutoffMay 2024openrouter.ai β†—to verify
OpenAI model idgpt-5-nano-2025-08-07platform.openai.com β†—to verify
LicenseOpenAI Terms of Use (proprietary, API-only)verified

Benchmarks

BenchmarkDistributionScoreSource
SWE-bench Verified
As the smallest GPT-5 variant, GPT-5 Nano scores below GPT-5 (74.9%) on SWE-bench. OpenAI has not published variant-level breakdowns. GPT-5 Nano is designed for classification and extraction, not code generation.
Not publicly disclosedopenai.com β†—
AIME 2025
GPT-5 family SOTA on AIME 2025: 94.6% (GPT-5, high reasoning). GPT-5 Nano variant-level score not published by OpenAI.
Not publicly disclosedopenai.com β†—
MMMU (Multimodal)
GPT-5 overall: 84.2%. GPT-5 Nano variant-level MMMU not separately published.
Parent: 84.2%openai.com β†—

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "openai/gpt-5-nano",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'

Chat completion

GPT-5 Nano is called via the standard chat completions endpoint through TheRouter, exactly like any OpenAI-compatible model. All GPT-5 parameters are supported.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5-nano",
    "messages": [
      {"role": "user", "content": "Classify this text as positive, negative, or neutral: \"The service was okay but nothing special.\""}
    ],
    "reasoning_effort": "minimal",
    "response_format": { "type": "json_object" }
  }'

More from openai

Similar models

Cross-provider sibling models

News & changes

2025-08-07

GPT-5 family launch β€” GPT-5, Mini, and Nano

OpenAI released three GPT-5 variants β€” GPT-5 (flagship), GPT-5 Mini (mid-tier), and GPT-5 Nano (budget). All variants share 400K context and 128K max output. The Nano tier starts at $0.05/$0.40 per 1M tokens with support for reasoning_effort, verbosity, tool calling, and vision.

re-authored by TheRouteropenai.com β†—

Frequently asked

How does GPT-5 Nano compare to GPT-5 Mini?

GPT-5 Nano is the smallest, cheapest GPT-5 variant ($0.05/$0.40 per 1M tokens vs GPT-5 Mini's $0.25/$2). It is optimized for high-volume classification, summarization, and extraction tasks where raw intelligence matters less than speed and cost. GPT-5 Mini handles deeper reasoning, multi-step agents, and code generation better, but costs 5Γ— more.

Does GPT-5 Nano support vision?

Yes. GPT-5 Nano accepts image inputs (text and image modalities) and produces text-only output. It can read charts, diagrams, screenshots, and documents. It does not generate images β€” use gpt-image-2 for that.

re-authored by TheRouterplatform.openai.com β†—
Is GPT-5 Nano still available after GPT-5.4 Nano was released?

Yes. GPT-5 Nano remains available on TheRouter and is still actively served by OpenAI via the API platform. However, new projects should evaluate GPT-5.4 Nano (openai/gpt-5.4-nano) as the recommended successor with improved lightweight reasoning capabilities.

re-authored by TheRouterplatform.openai.com β†—
What are the cache-read pricing benefits?

GPT-5 Nano enjoys the same 90% cache-read discount as the rest of the GPT-5 family β€” cached input tokens cost $0.005 per 1M instead of $0.05. This makes iterative prompting patterns (e.g., few-shot classification with shared system prompts) extremely economical for production workloads.

Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release dateopenai.com β†—2026-05-29verified
Knowledge cutoffopenrouter.ai β†—2026-05-29to verify
OpenAI model idplatform.openai.com β†—2026-05-29to verify
Licenseβ€”β€”verified
SWE-bench Verifiedopenai.com β†—2026-05-29to verify
AIME 2025openai.com β†—2026-05-29to verify
MMMU (Multimodal)openai.com β†—2026-05-29to verify
GPT-5 family launch β€” GPT-5, Mini, and Nanoopenai.com β†—2026-05-29verified
How does GPT-5 Nano compare to GPT-5 Mini?openai.com β†—2026-05-29to verify
Does GPT-5 Nano support vision?platform.openai.com β†—2026-05-29to verify
Is GPT-5 Nano still available after GPT-5.4 Nano was released?platform.openai.com β†—2026-05-29to verify
What are the cache-read pricing benefits?platform.openai.com β†—2026-05-29to verify
Help & contact