OpenAI ChatGPT API pricing

OpenAI API prices for all 23 ChatGPT models, per million tokens. The cheapest is gpt-5-nano at $0.05 input and $0.4 output; the most expensive is gpt-6-astra at $10 input and $50 output.

Prices updated October 28, 2026

OpenAI model prices

ModelInput / 1MCached input / 1MOutput / 1MTypical request
gpt-5-nano$0.05$0.005$0.4$0.00025
gpt-6-luna$0.1$0.01$0.5$0.00035
gpt-4o-mini$0.15$0.075$0.6$0.00045
gpt-5.6-luna$0.2$0.02$1.2$0.0008
gpt-5.4-nano$0.2$0.02$1.25$0.000825
gpt-4.1-mini$0.4$0.1$1.6$0.0012
gpt-5-mini$0.25$0.025$2$0.00125
gpt-5.4-mini$0.75$0.075$4.5$0.003
gpt-6.1-terra$1$0.05$5$0.0035
gpt-4.1$2$0.5$8$0.006
o3$2$0.5$8$0.006
gpt-5$1.25$0.125$10$0.00625
gpt-5.1$1.25$0.125$10$0.00625
gpt-6-sol$2$0.2$10$0.007
gpt-6.1-sol$2$0.1$10$0.007
gpt-4o$2.5$1.25$10$0.0075
gpt-5.6-terra$2$0.2$12$0.008
gpt-5.2$1.75$0.175$14$0.00875
gpt-5.4$2.5$0.25$15$0.01
gpt-5.6$4$0.4$20$0.014
gpt-5.6-sol$4$0.4$20$0.014
gpt-5.5$5$0.5$30$0.02
gpt-6-astra$10$1$50$0.035

Sorted by the cost of a typical request of 1,000 input and 500 output tokens. Open a model for batch prices, context window and example costs.

Calculate the cost of your own prompt →