AI Cost Comparator
Caja de Herramientas IAEverything runs locally in your browser, your prompt is never sent anywhere, not even to check its cost.
Input Tokens (exact)
0
How to use this AI cost comparator
- Paste the prompt you're planning to send.
- Adjust the expected output length if you have a rough idea.
- See every model's estimated cost for that exact prompt, cheapest first.
Why compare instead of just picking one model?
Per-token prices vary by more than 100x between the cheapest and most expensive mainstream models, and the cheapest option for a short factual question is often not the cheapest for a long creative-writing request, since input and output are priced separately. Comparing your actual prompt against every model at once, instead of assuming a fixed "cheap model," catches cases where a slightly pricier-looking model is actually cheaper for that specific request.
Is the token count exact for every provider?
It's exact for OpenAI's own models (using the o200k_base tokenizer) and a reasonable approximation for Claude and Gemini, since those providers use their own distinct tokenizers not available as a public client-side library.
Why does the cheapest model change depending on my prompt?
Because input and output tokens are usually priced very differently, a short prompt expecting a long answer and a long prompt expecting a short answer can have different cheapest options, this tool recalculates the full ranking for your specific numbers, not a fixed list.