LLM Token & Cost Calculator

Compare pricing across 200+ LLM models. Paste your text to count tokens and calculate exact costs, or compare costs per million tokens.

gpt-5

Cost Comparison

$0$0$1$1$1gpt-5

Input cost per 1M tokens (sorted by price)

Detailed Pricing

ModelProviderInput / 1MOutput / 1M
gpt-5openai$1.25$10.00

Cheapest option highlighted. Prices shown per 1 million tokens.

Frequently Asked Questions

Tokens are pieces of text that language models process. A token can be a word, part of a word, or punctuation. On average, 1 token equals about 4 characters in English. Different models use different tokenizers, so the exact count may vary slightly between providers like OpenAI, Anthropic, and Google.
LLM pricing reflects the computational resources needed and the model capabilities. Larger, more capable models like GPT-4 and Claude Opus cost more because they require more processing power. Smaller models like GPT-4o-mini or Claude Haiku are cheaper but may be less capable for complex tasks. Choose based on your use case—simple tasks often work great with cheaper models.
Input tokens are the text you send to the model (your prompt). Output tokens are the text the model generates in response. Most providers charge different rates for each—output tokens are typically more expensive because they require more computation. When estimating costs, consider that responses can sometimes be longer than prompts.