LLM API Cost Calculator
Drag the sliders to size a request, then compare the cost across 18 models from Claude, GPT, Gemini, Grok, DeepSeek, and Mistral — per request and per month, with Batch API and prompt-caching discounts.
Cost comparison — 18 models
Loading pricing…
Token counter (estimate)
Paste text for a quick token estimate, then push it into the calculator.
0 est. tokens
0 characters
Rough heuristic (~4 chars/token). Real tokenization is model-specific — for exact Claude counts use the count_tokens API; OpenAI and Google have their own tokenizers.