AI Dev & Self-Hosting Math

LLM Token Counter & AI Cost Comparison

Paste any prompt, diff, or document to estimate token count, check context-window fit, and compare monthly spend across frontier cloud APIs vs local self-hosted models.

Est. Input Tokens
48
Words / Chars
29 / 190
ModelContextIn / Out ($/1M)Per RequestMonthly (3,000 calls)
Claude Sonnet 4.5
Anthropic
200K (0.4%)$3 / $15$0.012$36.43/mo
Claude Opus 4.5
Anthropic
200K (0.4%)$15 / $75$0.061$182.16/mo
Claude Haiku 4.5
Anthropic
200K (0.4%)$0.8 / $4$0.00324$9.72/mo
GPT-5
OpenAI
256K (0.3%)$2.5 / $10$0.00812$24.36/mo
GPT-5 Mini
OpenAI
256K (0.3%)$0.25 / $2$0.00161$4.84/mo
Gemini 2.5 Pro
Google
1000K (0.1%)$1.25 / $10$0.00806$24.18/mo
Gemini 2.5 Flash
Google
1000K (0.1%)$0.15 / $0.6$0.00049$1.46/mo
DeepSeek V3 / R1 API
DeepSeek
128K (0.7%)$0.27 / $1.1$0.00089$2.68/mo
Local Ollama / llama.cpp (32B Q4)
Self-Hosted GPU/Mac
32K (2.6%)$0 / $0$0.00$0.00/mo

Tinkerer Club · 1,390+ paying members

Build with people running the exact same stack.

Private chronological feed, 42 focused topics (AI coding agents, homelabs, local LLMs, self-hosting, hardware), live lock-in rooms, member perks, and zero ads. Pay once, lifetime access.