Skip to main content
tokenmath
Menu

LLM Token & Cost Calculator

Paste a prompt. See the token count and API cost across Claude, Gemini, and OpenAI. Runs entirely in your browser.

Client-side. Never uploaded.
0 / 1,000,000 charactersContext window: 200,000 tokens
Tokens±2% approx
0
Input cost
$0.00
Output cost (est.)
$0.015
@ 1,024 response tokens
Total
$0.015

OpenAI counts are exact; Claude and Gemini are approximate (±2–3%) — neither vendor publishes a current client tokenizer. Pricing reflects published rates as of 2026-05-09.