OpenAI Cost Calculator
Estimate OpenAI API costs for GPT models.
What Is a OpenAI Cost Calculator?
The OpenAI Cost Calculator estimates API costs for OpenAI GPT models, including GPT-4o, GPT-4o mini, GPT-4.1, GPT-4 Turbo, GPT-4, GPT-3.5 Turbo, and o3-mini. Enter input and output token counts to see the price at each model's published rates.
How to Use This OpenAI Cost Calculator
- 1Pick an OpenAI modelSelect from the GPT and o-series models.
- 2Enter tokensProvide input and output token counts.
- 3Read the costReview input, output, and total cost.
Frequently Asked Questions
Related AI & LLM Tools Tools
AI Token Counter
Count the estimated tokens in any text or prompt.
LLM Token Cost Calculator
Estimate the cost of LLM token usage across models.
Multilingual Token Counter
Estimate tokens for text in any writing system.
Tokenizer Visualizer
See how text splits into approximate tokens.
Context Window Calculator
Check how much of a model's context window is used.
Prompt Cost Calculator
Estimate the token cost of a single prompt.
More AI & LLM Tools Tools
Claude Cost Calculator
Estimate Anthropic Claude API costs with caching.
Gemini Cost Calculator
Estimate Google Gemini API costs.
Prompt Length Checker
Verify a prompt fits a model's context window.
Token Efficiency Calculator
Measure how many tokens a rewritten prompt saves.
RAG Chunking Calculator
Plan chunk size and overlap for RAG pipelines.
Embedding Cost Calculator
Estimate embedding API costs for your corpus.

