AI · Cost Estimation

LLM API Token & Cost Calculator

Paste sample text or enter expected daily call volumes to estimate exact API costs and prompt cache savings across major models.

0 chars · ~0 tokens

Side-by-Side Model Breakdown (USD / 30 days)

Model In / 1M Out / 1M Per Req Monthly (30d)
How are tokens estimated from pasted text?

English text averages ~4 characters per token, while CJK characters average ~1.5 tokens per character. Our local estimator separates ASCII and CJK ranges for practical budgeting.

How does prompt caching reduce monthly bills?

Cached input prefixes are typically discounted by 50%–90%. Adjusting the cache hit rate slider immediately reflects savings for agentic workflows and long-context apps.