gpt-5-nano

On this page
  1. Standard price history
  2. Flex price history

OpenAI model gpt-5-nano. Prices are in US dollars per million tokens. Current price, since 2025-08-07: input $0.05, output $0.40, cached input $0.005. Matches OpenAI's pricing page, checked 2026-10-22 21:28 UTC. Price a request with this model.

Standard price history#

FromInputCached inputCache writeOutputLonger promptsDated bySource
2025-08-07$0.05$0.005$0.40documentedlink
2025-08-07, first record$0.05$0.40models.dev commitlink

Flex price history#

FromInputCached inputCache writeOutputLonger promptsDated bySource
2026-10-01$0.025$0.0025$0.20models.dev commitlink
first recordnot sold

A blank cache price is charged at the input price. Longer prompts list the prices for requests whose whole prompt exceeds the size given.

import model_prices

model_prices.rates("gpt-5-nano", provider="openai")