Xgenious
developer

AI Token Cost Calculator — Compare API Pricing for GPT, Claude & Gemini

AI API costs are charged per token — roughly 4 characters or 0.75 words. Pricing varies by a factor of 1,000× across models: Gemini 1.5 Flash costs $0.075 per million input tokens while Claude Opus 4 costs $15/M. This calculator computes exact per-request, daily, and monthly costs for 13 major models including GPT-4o, Claude, Gemini, Llama, and Mistral.

Free — No SignupRuns in BrowserData Never UploadedPopular tool
How It Works

How to use AI Token Cost Calculator

01

Select a model

Choose your AI model from the grouped list. Models are organized by provider — OpenAI, Anthropic, Google, Meta, and Mistral.

02

Enter token counts

Input the average number of input tokens (your prompt) and output tokens (the model's response) per API request.

03

Set daily request volume

Enter how many API calls you expect per day. The tool calculates per-request, daily, and 30-day monthly costs automatically.

Format Comparison

AI Model Pricing Comparison (per 1M tokens, May 2026)

ModelProviderInput $/1MOutput $/1MBest For
GPT-5.5OpenAI$5.00$30.00Current OpenAI flagship
GPT-5OpenAI$1.25$10.00Best value in GPT-5 family
GPT-5 miniOpenAI$0.25$2.00Affordable GPT-5 tier
GPT-5 nanoOpenAI$0.05$0.40Ultra-cheap, high-volume tasks
GPT-4oOpenAI$2.50$10.00Multimodal, proven general-purpose
Claude Sonnet 4Anthropic$3.00$15.00Code, long-context reasoning
Claude Haiku 4Anthropic$0.80$4.00Fast, affordable Anthropic tier
Gemini 3.5 FlashGoogle$1.50$9.00Latest Gemini, balanced perf
Gemini 3.1 LiteGoogle$0.25$1.50Cheapest Gemini 3 tier
DeepSeek V4 ProDeepSeek$1.74$3.48Strong reasoning, low output cost
DeepSeek V4 FlashDeepSeek$0.14$0.28Ultra-cheap, fast inference
Llama 3.3 70BMeta/Groq$0.59$0.79Open-weight, self-hostable
FAQ

Frequently asked questions

A token is the basic unit of text that AI language models process. In English, one token is approximately 4 characters or 0.75 words. "Hello world" is 2 tokens; a typical paragraph of 100 words is about 130 tokens. Different tokenizers vary slightly — OpenAI uses cl100k_base for GPT-4o and Anthropic uses its own tokenizer. Both providers offer free tokenizer tools to count exact tokens for your specific text before committing to API costs at scale.

References

Further reading

Authority documentation and specifications behind this tool.

Have a project in mind?

We turn ideas into production-ready software — SaaS, web apps, mobile, and AI agents. Fixed price. Committed timeline. No surprises.

Let's talk