gpt-5-nano API pricing

OpenAI charges $0.05 per million input tokens and $0.4 per million output tokens for gpt-5-nano, and $0.005 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.00025, or $0.000125 through the batch API.

Prices updated October 28, 2026
Input / 1M tokens
$0.05
Output / 1M tokens
$0.4
Cached input / 1M tokens
$0.005
Typical request
$0.00025
Calculate the cost of your prompt →

gpt-5-nano price per million tokens

Token typeStandardBatch API
Input$0.05$0.025
Cached input$0.005$0.0025
Output$0.4$0.2

gpt-5-nano supports a 272K-token context window, up to 128K output tokens, image input, tool calling and reasoning.

What gpt-5-nano costs per request

Request1 request1,000 requests1M requests
Short chat message (300 in, 200 out)$0.000095$0.095$95.00
Typical request (1K in, 500 out)$0.00025$0.25$250.00
Long document summary (20K in, 1K out)$0.0014$1.40$1,400.00
Coding agent step (50K in, 2K out)$0.0033$3.30$3,300.00

At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words.

Models with a similar price

ModelProviderInput / 1MCached input / 1MOutput / 1MTypical request
ministral-3-8b-2512Mistral$0.15$0.015$0.15$0.000225
ministral-8b-2512Mistral$0.15$0.015$0.15$0.000225
mistral-smallMistral$0.1$0.01$0.3$0.00025
deepseek-coderDeepSeek$0.14$0.014$0.28$0.00028
gemini-2.5-flash-liteGoogle Gemini$0.1$0.01$0.4$0.0003
ministral-3-14b-2512Mistral$0.2$0.02$0.2$0.0003
ministral-14b-2512Mistral$0.2$0.02$0.2$0.0003
gpt-6-lunaOpenAI$0.1$0.01$0.5$0.00035

Other OpenAI models

Source: OpenAI pricing.