gpt-4

On this page
  1. Standard price history

OpenAI model gpt-4. Prices are in US dollars per million tokens. Current price, since 2025-06-11: input $30.00, output $60.00. OpenAI's pricing page does not list this model under this id. Price a request with this model.

Standard price history#

FromInputCached inputCache writeOutputLonger promptsDated bySource
2025-06-11$30.00$60.00documentedlink
2025-06-11, first record$10.00$30.00models.dev commitlink

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-4", provider="openai")