LLM Token Calculator

Calculate tokens for your input and output text with precision

Input Text

0 chars
Input Tokens: 0

Output Text

0 chars
Output Tokens: 0

Total Tokens

0

Estimated Cost (GPT-4)

$0.00

Input:Output Ratio

-:-

How It Works

Token Calculation: Approximately 1 token = 4 characters for English text

Model Selection: Choose different LLM models to see varied pricing

Cost Estimation: Based on selected model's input/output token pricing

Context Length: Varies by model (shown in model selection)

LLM Model Pricing Table

Model Input Price (per 1K tokens) Output Price (per 1K tokens) Context Length
Google Gemini-2.5 Pro $2.50 $15.00 1,000k
OpenAI GPT-4o $5.00 $10.00 128k
OpenAI GPT-4.5 $75.00 $150.00 128k
xAI Grok-3 Preview $3.00 $15.00 131k
DeepSeek-V3 $0.27 $1.10 64k
DeepSeek-R1 $0.55 $2.19 64k
Google Gemini-2.0 Flash-001 $0.10 $0.40 1,000k
Cohere Command $15.00 $15.00* 100k+

* Combined price for input and output tokens

Success!