Free AI
token counter

Count tokens and calculate costs for GPT-5.4, Claude, Gemini, Grok, DeepSeek and 29+ more AI models. Optimize your prompts, compare pricing, and ship — tokenization runs 100% in your browser, so your prompt content never touches our servers.

34 models8 providers100% private$0 free forever
0 / 400,000 · estimate
Input tokens00 words · 0 chars · estimate
GPT-5.4$0.00in $0.0000 · out $0.0000 · 1:3
Context fill--400,000 window

Also in Fluxkit

Same weighing stack — catalog prompts and API shutdown tracker.

API price list

Filter models →

Input price, output price, and context window for 34 models. Open a row for the full rate card.

ModelProviderInput / 1MOutput / 1MContext
GPT-5.4OpenAI$2.5$15400k context
GPT-5.4 miniOpenAI$0.75$4.5400k context
GPT-5OpenAI$1.25$10400k context
GPT-5 ProOpenAI$15$120400k context
o3OpenAI$10$40200k context
o4-miniOpenAI$1.1$4.4200k context
GPT-4.1OpenAI$2$81.05M context
GPT-4.1 miniOpenAI$0.4$1.61.05M context
GPT-4oOpenAI$2.5$10128k context
GPT-4o miniOpenAI$0.15$0.6128k context
Claude Opus 4.7Anthropic$5$251M context
Claude Opus 4.6Anthropic$5$251M context
Claude Sonnet 4.6Anthropic$3$151M context
Claude Sonnet 4.5Anthropic$3$15200k context
Claude Sonnet 5Anthropic$2$101M context
Claude Haiku 4.5Anthropic$1$5200k context
Gemini 3.1 ProGoogle$2$121.05M context
Gemini 3.1 Flash-LiteGoogle$0.25$1.51.05M context
Gemini 2.5 ProGoogle$1.25$101M context
Gemini 2.5 FlashGoogle$0.15$0.61M context
Gemini 2.0 FlashGoogle$0.1$0.41M context
Grok 4.6xAI$2$6500k context
Grok 4.20xAI$1.25$2.51M context
Grok 4.3xAI$1.25$2.51M context
Grok 4.1 FastxAI$0.2$0.52M context
DeepSeek V4 ProDeepSeek$0.435$0.871M context
DeepSeek V4 FlashDeepSeek$0.14$0.281M context
DeepSeek R1DeepSeek$0.55$2.19128k context
Mistral LargeMistral$2$6128k context
Mistral SmallMistral$0.1$0.3128k context
Llama 4 MaverickMeta$0.27$0.851M context
Llama 3.3 70BMeta$0.59$0.79128k context
Qwen3 235BAlibaba$0.2$0.6262k context
Qwen 2.5 72BAlibaba$0.35$0.4131k context

How the counter works

Three steps from raw text to a planning cost estimate.

1. Paste your prompt

Single prompt or conversation. Variables like {{name}} resolve before counting.

2. Pick your model

34 models · 8 providers. Exact browser counts for GPT-family; estimates elsewhere.

3. Read the weight

Tokens, dollars, and fill update live. Optimize, compare, then export.

Learn how AI costs really work

All guides →

FAQ

Is Fluxkit free?

Yes. No signup, no API key for counting and planning estimates.

Do you store prompts on a server?

No. Work stays in the browser. Share links use the URL hash only.

How do I count tokens?

Paste text into the token counter. GPT-family models are counted in the browser. Other models are labeled estimates.

Is there an AI cost calculator?

Yes. The same prompt is priced across models. Open the model directory for input and output rates.

Where do prices come from?

Planning defaults. Confirm live rates on vendor pages — see model compare.