API Pricing
OpenAI API Cost Calculator
Estimate your OpenAI API spend by model, tokens and request volume.
Advertisement
Advertisement
OpenAI API Pricing Explained
OpenAI charges separately for input tokens (your prompt) and output tokens (the response). One token is roughly 4 characters or ยพ of a word. GPT-4o mini at $0.15/1M input tokens is the most cost-effective for most production apps. Use o1 only when complex reasoning is required, as it costs 100ร more than GPT-4o mini.
