LowercaseOnline β€” Free Online Text Tools

πŸ€– AI Token Calculator

Compare LLM API costs across OpenAI, Anthropic, Google, Meta, and Mistral. Paste text to estimate tokens or enter counts manually.

Estimate from text
Or enter token counts manually
tokens
tokens
Monthly volume
Cost Comparison
Filter:
ProviderModelInput/1M Output/1M ContextPer Request Monthly

* Prices as of March 2026. Input/output rates are per 1M tokens. Monthly estimate based on requests/day Γ— 30. Batch discount (50%) applies where supported. Token estimates use ~4 chars/token approximation. Always verify current pricing with the provider.

What is a token?

Tokens are chunks of text that LLMs process. One token is roughly 4 characters or ΒΎ of a word in English. The sentence "Hello, how are you?" is about 6 tokens. Most LLM APIs bill separately for input tokens (your prompt + context) and output tokens (the model's response).

How to reduce costs

Use smaller models for simple tasks β€” GPT-4o mini or Gemini Flash cost 10–20Γ— less than flagship models with comparable quality on routine tasks. Batch API offers 50% off for non-realtime workloads. Prompt caching (Anthropic, Google) can cut costs by 90% when you reuse large system prompts. Reduce output tokens β€” instruct the model to be concise; output tokens typically cost 3–5Γ— more than input tokens.