OpenAI API Cost Calculator

OpenAI charges for API requests per 1 million tokens. Standard pricing for GPT-5.5 is $5.00 per 1M input tokens and $30.00 per 1M output tokens. GPT-4o costs $2.50 per 1M input and $10.00 per 1M output, while GPT-5.4 mini costs $0.75 per 1M input and $4.50 per 1M output.

API Cost Estimation Calculator

Comparative API Execution Cost Table

Comparison of API prompt costs for 100,000 input tokens and 20,000 output tokens across models.

ModelInput Cost / 1MOutput Cost / 1MSingle Run Cost
GPT-5.5$5.00$30.00$1.10
GPT-5.5 Pro$30.00$180.00$6.60
GPT-5.4 mini$0.75$4.50$0.17
GPT-5.4 nano$0.20$1.25$0.05
GPT-4o$2.50$10.00$0.45
GPT-4o mini$0.15$0.60$0.03
o3$2.00$8.00$0.36
o4-mini$1.10$4.40$0.20
GPT-4$30.00$60.00$4.20
GPT-3.5 Turbo$0.50$1.50$0.08