Free tool

AI Token Counter

Estimate tokens for Claude, GPT-6 and Muse models in your browser.

Model

Anthropic

DeepSeek

Meta

MiniMax

OpenAI

Only models with verified prices are listed. A model is added after we check the vendor’s price page.

TXT, MD, JSON or CSV · up to 10 MB · read in your browser

What’s counted: only the text in this box. Your system prompt, earlier messages and tool definitions add tokens too — paste them in to include them. A token count is not a full API bill.

01 — How it works

How this counter works

All counts are estimates

We divide the number of characters by four and round up. No local tokenizer is verified here yet. This rough English-text heuristic can undercount non-English text and code, so use your provider’s usage data for billing.

Model selection changes the price

This tool uses the same estimate for every model. Selecting a model changes its price and context limit. Actual token counts depend on the model’s tokenizer; equal token counts in a comparison are a price scenario.

What a count leaves out

An API call also bills your system prompt, conversation history, tool definitions and the output, including reasoning tokens. Use the cost calculator to price the whole call.

Supported models

ModelInput / 1MOutput / 1MContext window
Claude Opus 5.5$4.00$20.001,000,000
Claude Sonnet 5.5$2.00$10.001,000,000
Claude Haiku 5.5$0.10$0.501,000,000
Muse Wonder$4.00$20.001,048,576
Muse Spark 1.3$1.25$4.251,048,576
GPT-6.1 Sol$2.00$10.001,050,000
GPT-6 Astra$10.00$50.001,050,000
GPT-6 Luna$0.10$0.501,050,000
DeepSeek V4.1 Flash$0.30$1.201,048,576
MiniMax M3.1 Flash$0.15$0.601,000,000
MiniMax M3$0.30$1.201,000,000

Models appear here once their price is verified. Prices are per 1M tokens on each vendor’s own API, standard tier.

03 — How we price

Every number says where it came from

  1. 01

    Verified, versioned prices

    Each price is checked against the vendor’s own page. Results carry the check date, price version and links to the official sources so you can check the rates.

  2. 02

    Token estimates, clearly labeled

    Every text count currently uses characters ÷ 4. No exact local tokenizer is verified here yet, and non-English text and code may be undercounted.

    Estimated
  3. 03

    Unverified prices stay blank

    If a price or rule isn’t verified, the cell stays blank and says why. A blank never means free.

    Unverified
  4. 04

    Priced the way you’re billed

    Uncached input, cache reads, cache writes and output are separate lines — and long and short requests are tiered one by one, never averaged.

04 — Pilot

Already paying an LLM API bill?

We’re building project cost reviews for small teams: bring last period’s usage, see where the money went, set a budget, and check again next period.

  1. Import usage from a CSV template. No API keys, no proxy, no prompts — just models, token counts, dates and call counts.
  2. See cost by model, input, cache and output, with what’s covered and what isn’t.
  3. Set a budget from your real daily average and a growth assumption you choose.
  4. Compare up to two alternatives — another model or a different cache split — with every assumption written down.

Pilot · Step 1 of 2

Join the pilot

We’re testing project cost reviews with developers who already pay an LLM API bill. Two quick questions first.

Do you have an AI app live in production or in steady trial?

Do you pay an LLM API bill every month?

We only ask for your email if the pilot fits you.