Skip to content

About tokencalc

Who runs it, how the numbers are made, and whose work it builds on.

Who runs it

tokencalc is built and run by AIR-Optic Solutions s.r.o., an internet provider in eastern Slovakia that also sets up local AI for companies. We built it because we needed honest numbers for our own agents. Contact and company details are on the legal notice.

How the counts are made

Counts are for the text itself. Chat formatting adds a few tokens per message, and images, files and tools are counted separately by each vendor.

Where the prices come from

Prices are read from the open LiteLLM price list (MIT licence), which records the vendor page for each model. The date of the last check is in the footer of every page. Announced price changes are added by hand from the vendor’s page. Euro amounts use the European Central Bank reference rate of 2026-11-11. Prices can change without notice: confirm on the vendor’s page before you commit a budget.

Tokenizers and their licences

TokenizerSourceLicenceDownload
OpenAI o200k, cl100kgpt-tokenizer (npm)MITbuilt in
Llama 3.xunsloth/Llama-3.3-70B-InstructLlama 3.3 Community License1.6 MB
Qwen3.8Qwen/Qwen3.8-27BApache-2.02.5 MB
Qwen3Qwen/Qwen3-8BApache-2.01.4 MB
DeepSeek V4deepseek-ai/DeepSeek-V4-FlashMIT1.3 MB
Gemma 4google/gemma-4-12b-itApache-2.03.2 MB
Mistral Small 4 (Tekken)mistralai/Mistral-Small-4-119B-2603Apache-2.01.7 MB
Phi-4microsoft/phi-4MIT0.9 MB
nomic-embed-text v1.5nomic-ai/nomic-embed-text-v1.5Apache-2.00.1 MB
GLM-5.3zai-org/GLM-5.3GLM-5.3 licence (custom)from Hugging Face
MiniMax M3MiniMaxAI/MiniMax-M3MiniMax community licence (custom)from Hugging Face
Mistral Large 4mistralai/Mistral-Large-4-1T-A52BMistral licence (custom, 'other' on the Hub)from Hugging Face

Tokenizers under a custom licence are not hosted here. When you ask for an exact count with one of them, your browser loads it directly from Hugging Face.

Built with Llama. The Llama 3 tokenizer is distributed under the Llama 3.3 Community License, copyright Meta Platforms, Inc.

Software we build on

gpt-tokenizer (MIT), Hugging Face tokenizers.js (Apache-2.0), the Model Context Protocol TypeScript SDK (MIT), TOON (MIT), yaml (ISC), Astro (MIT) and Hono (MIT). The language comparison uses the Universal Declaration of Human Rights in the UDHR in Unicode text files.

Estimate factors in use

For open tokenizers that are not loaded yet, estimates use the ratio measured on our 14 reference texts, for example 1.016 for Llama 3 and 1.069 for Qwen3.8 against the OpenAI tokenizer.