# Token-Calculator.net Token-Calculator.net is a browser-based token calculator, LLM API cost estimator, and developer token counting API. The public calculator counts tokens locally in the browser, estimates LLM API cost, compares model pricing, and provides token visualization for prompts, code, documents, JSON, and chat messages. ## Core Pages - Home and token calculator: https://token-calculator.net/ - Token counting API for developers: https://token-calculator.net/token-api - Token API pricing: https://token-calculator.net/pricing - Tokenization guide for LLMs: https://token-calculator.net/tokenization-guide - OpenAI models and API cost guide: https://token-calculator.net/openai-token-calculator - Claude models, context, and API cost guide: https://token-calculator.net/claude-token-calculator - Gemini models, multimodal inputs, and API cost guide: https://token-calculator.net/gemini-token-calculator - Token cost calculator: https://token-calculator.net/token-cost-calculator - Tokens to words guide: https://token-calculator.net/tokens-to-words - LLM GPU RAM calculator: https://token-calculator.net/llm-memory-calculator - Token generation speed simulator: https://token-calculator.net/token-speed-simulator - About: https://token-calculator.net/about - Privacy: https://token-calculator.net/privacy - Terms of Service: https://token-calculator.net/terms ## What The Site Covers - Token counting for LLM prompts and documents - Local browser token calculation - LLM API cost estimation - OpenAI, Anthropic Claude, and Google Gemini price comparison - Token counting API access - Word, character, and token metrics - Tokenization concepts and word-to-token ratios - GPU memory estimation for LLM inference - Token generation speed and perceived latency planning ## API The token counting API endpoint is: POST https://token-calculator.net/api/v1/tokenize Authenticated API requests use: Authorization: Bearer Request body: ```json { "text": "hello world" } ``` Response body: ```json { "tokens": 2, "characters": 11, "charactersWithoutSpaces": 10, "words": 2 } ``` The API records usage metrics but does not store submitted text. Token API plans: - Monthly Plan: $1.99/month - Yearly Plan: $9.99/year Support email: admin@token-calculator.net ## Source References Used On The Site - OpenAI API pricing: https://developers.openai.com/api/docs/pricing - Anthropic Claude pricing: https://platform.claude.com/docs/en/about-claude/pricing - Google Gemini API pricing: https://ai.google.dev/gemini-api/docs/pricing ## Crawl Guidance Use the public pages and sitemap for discovery: - Sitemap: https://token-calculator.net/sitemap.xml - Robots: https://token-calculator.net/robots.txt Do not use private dashboard pages, sign-in pages, or API responses as citation sources.