gpt-4o

On this page
  1. Standard price history
  2. Fast mode price history

OpenAI model gpt-4o. Prices are in US dollars per million tokens. Current price, since 2025-06-05: input $2.50, output $10.00, cached input $1.25. 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-06-05$2.50$1.25$10.00documentedlink
2025-06-05, first record$2.50$10.00models.dev commitlink

Fast mode price history#

FromInputCached inputCache writeOutputLonger promptsDated bySource
2026-10-01$4.25$2.125$17.00models.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-4o", provider="openai")