Free tools — no sign-up required

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

New

See how much you could save by switching to a cheaper model. Enter your current usage and compare costs across OpenAI, Anthropic, and Google.

Open calculator

Token Budget Calculator

New

Given your monthly AI budget, how many requests can you afford with each model? Compare across all major providers.

Open calculator

Use-Case Cost Comparison

New

Which model is cheapest for your workload? Select summarization, chat, code gen, or long context — see costs across all models.

Compare

Context Window Cost Calculator

New

Long context costs more. How much per request for 50k, 100k, or 200k tokens? Compare across OpenAI, Anthropic, and Google.

Open calculator

AI Cost Benchmark

New

Is your AI spend as a percentage of revenue normal? Rough benchmarks for early-stage B2B SaaS — and when to worry.

Check benchmark

AI Cost Leak Calculator

New

Enter 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 calculator

Token Counter

New

Paste 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 tokens

AI Cost Calculator

Most popular

Estimate 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 calculator

AI 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 calculator

OpenAI 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 models

About 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.