AI & LLM ENGINEERING · FINOPS

AI LLM Token Counter & Cost Estimator

Estimate prompt tokens, context window usage and monthly USD/BRL costs (with Context Caching) across flagship models.

Input Tokens
42
27 words · 184 chars
Total Tokens / Req
642
Output: 600 · Cache 30%
Cheapest / Month
$2.43
Gemini 2.5 Flash-Lite (R$ 13,99)
Top Flagship / Month
$90.92
Claude 3.7 Sonnet (R$ 522,79)
Prompt / Context Text
Scale & FinOps Parameters
Context Caching Hit %30%
Estimated monthly volume: 6.42M tokens
Cost & Context Window Comparison (sorted by lowest monthly cost)
USD / 1M tokens
ModelContextIn / Out (1M)Cost / ReqMonthly (USD)Monthly (BRL)
Gemini 2.5 Flash-Lite★ menor custo
Google · Economy
1.000K
0.064%
$0.10 / $0.40$0.00024$2.43R$ 13,99
GPT-4o mini
OpenAI · Economy
128K
0.502%
$0.15 / $0.60$0.00037$3.65R$ 21,01
DeepSeek V3
DeepSeek · Economy
128K
0.502%
$0.27 / $1.10$0.00067$6.69R$ 38,46
DeepSeek R1
DeepSeek · Reasoning
128K
0.502%
$0.55 / $2.19$0.00133$13.32R$ 76,59
Gemini 2.5 Flash
Google · Balanced
1.000K
0.064%
$0.30 / $2.50$0.00151$15.10R$ 86,81
Claude 3.5 Haiku
Anthropic · Economy
200K
0.321%
$0.80 / $4.00$0.00242$24.25R$ 139,41
o3-mini
OpenAI · Reasoning
200K
0.321%
$1.10 / $4.40$0.00268$26.79R$ 154,06
Gemini 2.5 Pro
Google · Flagship
1.000K
0.064%
$1.25 / $10.00$0.00604$60.41R$ 347,34
GPT-4o
OpenAI · Flagship
128K
0.502%
$2.50 / $10.00$0.00609$60.89R$ 350,13
Claude 3.7 Sonnet
Anthropic · Flagship
200K
0.321%
$3.00 / $15.00$0.00909$90.92R$ 522,79
Technical Reference & Methodology·Tool functional reference

LLM Token & Cost Calculator

Count prompt tokens in real time, visualize context window usage, and compare USD/BRL API costs across Gemini 2.5, GPT-4o, Claude, and DeepSeek.

Principles & Rules

  • Provide the requested inputs and review the result shown on screen.
  • Results are assistive: validate assumptions, source data, and your environment requirements.

Worked Example

Use the result to support analysis and confirm parameters before applying it in production.

Frequently Asked Questions

Does the result replace technical validation?

No. Confirm inputs and the conditions specific to your environment.