Skip to content
Panshi
EN / /
← Services

LLM Token Calculator

Paste any text → exact token count + cost across GPT / Claude / Gemini / DeepSeek / Qwen. 100% in-browser — your text is never uploaded.

Tokens (o200k / GPT-4o)
0
Characters
0
Words
0

Cost for this text as input (and same length as output)

ModelInput $Output $$/1M in·out

Token count uses the o200k_base tokenizer (GPT-4o / o-series); Claude / Gemini / DeepSeek / Qwen tokenize slightly differently so their counts are a close approximation. Prices are reference values (≈ 2026-06, USD per 1M tokens) — verify against each vendor's official pricing. Output cost assumes the output is the same length as your input.

More free LLM tools + price-drop alerts

We ship dev tools like this and the relay model check. Drop your email for new tools + when major model prices change.

Related tools

API Key Leak Scanner

Paste code or config and instantly find hardcoded secrets — OpenAI/AWS/GitHub/Stripe/Google keys, private keys, JWTs. 100% in-browser.

Text to SQL

Turn plain English into correct SQL for Postgres, MySQL, SQLite, BigQuery or Snowflake — schema-aware.

Code Review

Paste a diff or file and get a ranked review — bugs, logic, security, performance — with fixes.

Excel Formula

Describe what you need and get the exact Excel / Google Sheets formula — with a plain-language explanation.