OpenAI API Pricing Calculator

Token Cost Calculator

750 words 7500 words
Estimated Cost: $0.00

Current OpenAI API Pricing

Latest pricing information per million tokens for each model.

Model Input Cost / 1M tokens Output Cost / 1M tokens

Model Comparison & Use Cases

Model Best For Price Range
GPT-4.5Creative tasks & agentic planningHigh
O1Enterprise applications, highest quality needsPremium
O3-miniHigh-volume, cost-sensitive operationsEconomic
GPT-4oBalanced performance and costModerate
GPT-4o miniFast, affordable, general tasksVery Economic

Cost Optimization Tips

Input Optimization

  • Use cached requests when possible
  • Optimize prompt length
  • Batch similar requests

Model Selection

  • Match model to use case
  • Consider O3-mini or GPT-4o mini for testing
  • Scale up as needed

How It Works

  1. Select Model: Choose the OpenAI model you plan to use.
  2. Enter Tokens: Specify the estimated input and output token amounts.
  3. Get Costs: View the calculated cost estimate.