How many tokens is your text?

Paste anything: a prompt, email, or document and see the token count and API cost across 10 AI models instantly.

Paste any text above to see word count, token count, and estimated API cost.

Common questions

How many tokens is 1,000 words?

On average, 1,000 words is approximately 1,333 tokens. This is because one token equals roughly 0.75 words (or 4 characters) in English. Code, non-English text, and special characters may use more tokens per word.

How do you calculate AI API cost?

AI API cost is calculated by multiplying your token count by the model price per million tokens. Most providers charge separately for input tokens (your prompt) and output tokens (the model response). Output tokens are typically 3 to 6 times more expensive than input tokens.

What is the difference between GPT and Claude token pricing?

As of 2026, Claude Haiku 4.5 is one of the most affordable options at $0.80 per million input tokens, while Claude Sonnet 4.6 sits at $3.00. GPT-4.1 Nano starts at just $0.10 per million input tokens, making it a strong choice for high-volume tasks. Use the calculator above to compare costs for your specific text.

How many tokens fit in a context window?

Context windows vary by model. Many modern models support 128,000 tokens or more, which is roughly 96,000 words or about 400 pages of text. Some models like Gemini 1.5 Pro support up to 1 million tokens. The calculator above shows how many tokens your text uses so you can check if it fits your chosen model.