OpenAI GPT-4o & O3-Mini API Cost Estimator
OPENAI MODEL & TOKEN USAGE
OpenAI API Pricing & Cost Optimization Guide
Estimating API costs for OpenAI models is critical when deploying AI features at scale. Rates vary dramatically depending on whether you use flagship models (GPT-4o), lightweight models (GPT-4o-mini), or reasoning models (O1 / O3-mini).
OpenAI Official Pricing Rates (per 1,000,000 Tokens)
- GPT-4o: $2.50 Input / $1.25 Cached Input / $10.00 Output
- GPT-4o-mini: $0.15 Input / $0.075 Cached Input / $0.60 Output
- O3-mini: $1.10 Input / $0.55 Cached Input / $4.40 Output
- O1: $15.00 Input / $7.50 Cached Input / $60.00 Output
Related AI Developer Tools
Compare AI provider pricing with our OpenAI Cost Estimator, count BPE tokens with the LLM BPE Tokenizer, or calculate batch inference discounts with the Batch Inference Estimator.
Frequently Asked Questions
Common questions about this tool.
What are the current pricing rates for OpenAI GPT-4o? ▼
GPT-4o costs $2.50 per 1M input tokens ($1.25 per 1M cached input tokens) and $10.00 per 1M output tokens.
How much cheaper is GPT-4o-mini compared to GPT-4o? ▼
GPT-4o-mini is 16x cheaper for input tokens ($0.15 per 1M input) and 17x cheaper for output tokens ($0.60 per 1M output).
What is Prompt Caching in OpenAI APIs? ▼
Prompt caching automatically provides a 50% discount on input tokens for prompts longer than 1,024 tokens that reuse identical static prefix contexts.
How do reasoning models (O1, O3-mini) handle output tokens? ▼
Reasoning models generate internal "reasoning tokens" that count towards output token billing before outputting the final response.
How do batch API discounts work? ▼
OpenAI Batch API provides a 50% flat discount on input and output tokens for asynchronous workloads completed within 24 hours.
Related Free Utilities
View all tools →ChatGPT Ad Blocker
Block ChatGPT upgrade banners, upsell promo cards, and partner app ads with a lightweight, privacy-first Manifest V3 Chrome extension.
JSON diff
JSON diff. Use this privacy-first json diff directly in your browser.
Base64 encoder
Base64 encoder. Use this privacy-first base64 encoder directly in your browser.
URL parser
URL parser. Use this privacy-first url parser directly in your browser.