Free AI Cost Tools
Calculators and comparisons to help you understand your OpenAI, Anthropic, and Google Gemini API costs. Built by the team at PerUnit.
View all model pricing →Model Switcher Calculator
NewSee how much you could save by switching to a cheaper model. Enter your current usage and compare costs across OpenAI, Anthropic, and Google.
Open calculatorToken Budget Calculator
NewGiven your monthly AI budget, how many requests can you afford with each model? Compare across all major providers.
Open calculatorUse-Case Cost Comparison
NewWhich model is cheapest for your workload? Select summarization, chat, code gen, or long context — see costs across all models.
CompareContext Window Cost Calculator
NewLong context costs more. How much per request for 50k, 100k, or 200k tokens? Compare across OpenAI, Anthropic, and Google.
Open calculatorAI Cost Benchmark
NewIs your AI spend as a percentage of revenue normal? Rough benchmarks for early-stage B2B SaaS — and when to worry.
Check benchmarkAI Cost Leak Calculator
NewEnter your AI bill and customer mix. See exactly how much is going to free users, underpriced heavy users, and unattributed spend — and what PerUnit recovers.
Open calculatorToken Counter
NewPaste any text to instantly count tokens and see what it costs across every major OpenAI, Google Gemini, and Anthropic model. Useful for estimating prompt costs before you deploy.
Count tokensAI Cost Calculator
Most popularEstimate your monthly OpenAI, Anthropic, or Google Gemini API spend based on model, token usage, and request volume. Supports GPT-4.1, GPT-4o, Gemini 2.5 Pro, Claude Sonnet, Haiku, and more.
Open calculatorAI Margin Calculator
Understand how your AI spend impacts gross margins. See cost per customer, AI as a percentage of revenue, and whether your AI features are net profitable.
Open calculatorOpenAI vs Anthropic vs Google Cost Comparison
Compare pricing across every major OpenAI, Anthropic, and Google Gemini model side by side. Enter your token volume to see real monthly cost estimates and find the cheapest model for your use case.
Compare modelsAbout these tools
These calculators use official pricing from OpenAI, Anthropic, and Google, updated regularly. They give you ballpark estimates — actual costs may vary based on caching, batch API discounts, or volume commitments.
Need to break down costs by customer, feature, or pricing tier? That's what PerUnit is built for. For guides on reducing AI costs and unit economics, see our blog.