wzlxp.top builder tools

LLM token calculator

Estimate prompt tokens before the API bill arrives.

Compare providers from one wide workspace: OpenAI, Claude, Gemini, DeepSeek, Mistral, and Grok. Use it for planning, then verify production counts with provider token-counting or usage APIs.

Prompt shape

Input tokens include system prompt, prompt text, and user message. Output tokens use the assistant response box.

Result
81estimated total tokens per request
Input tokens53
Output tokens28
Cost / request<$0.01
Monthly requests30,000
Input<$0.01
Cached input$0.00
Output<$0.01
Daily cost$1.11
Monthly cost$33.15

Planning estimate: provider tokenizers differ, so verify production counts with each provider's token counting or usage APIs.

Pricing checked 2026-05-09. GPT-5.5: input $5/1M, cached input $0.5/1M, output $30/1M tokens.

References

Built as a planning tool, not a fake exact tokenizer.

OpenAI Tokenizer OpenAI Cookbook token counting Claude Token Counting API Gemini Count Tokens API DeepSeek API pricing Mistral pricing xAI Grok model pricing

Token estimates use a transparent character-per-token heuristic for speed and privacy. No prompt text leaves the browser, no API key is requested, and exact provider tokenizer behavior should be checked before committing a production budget.