Token Cost Calculator
Compare current LLM prices across providers with cache, batch, traffic and overhead — tokenized in your browser; only the public model catalog is refreshed.
Scenario
Token usage, traffic and the models to compare
Cache, reasoning, batch & overhead
Custom models (stored on this device only)
About this tool
Estimate and compare LLM API costs across models with prompt caching, batch, traffic simulation and a real tokenizer. Export CSV/JSON. Free, client-side. Token Cost Calculator runs in the browser on DevTools. There is no signup, and your input stays on this device unless the tool explicitly performs a live network lookup.
What this tool does not do
- Token Cost Calculator is a free in-browser utility, not a hosted API. It does not keep server-side history and is not a substitute for production verification in your own stack.
How do I use this tool?
How do I use Token Cost Calculator?
Open Token Cost Calculator, enter or paste your input, and copy the result. The page works without an account.
Related guides
Understanding LLM API Token Costs (and How to Estimate Your Bill)
How LLM APIs bill per token, why input and output rates differ, what actually drives your bill, and how to estimate costs before you ship.
Comparing LLM API Prices: How to Think About OpenAI vs Anthropic vs Google
Why a per-token price tag doesn't tell the whole story, how to compare models on your actual workload, and how to run an apples-to-apples cost estimate.
Related tools
Agent Tool Flowchart Builder
Design agentic tool-call DAGs with decision branches and bounded loops. Validates reachability, cycle handling, and emits clean Mermaid flowcharts — fully in your browser.
AI Agent Memory & Buffer Simulator
Compare sliding window, summary buffer, and vector memory strategies
AI API Client SDK Generator
Generate typed API client SDK files from OpenAPI specifications or cURL requests
AI Code Explainer
Explain code snippets with grounded cloud AI
AI Code Security Auditor
Scan source code for high-confidence OWASP Top 10 vulnerabilities
AI Code Translator
Translate code into idiomatic implementations in another language