All tools
AI toolkit

Token & cost calculator

Paste a prompt, choose a model, and see token counts plus the cost per call, per 1000 calls, and per million calls. Estimates use a character-per-token heuristic that is within ~10% of the real tokenizer for English prose.

Estimated 39 tokens.
Estimated 16 tokens.
$1.25 in / $10.00 out per 1M
Used for monthly projection

Cost for OpenAI · GPT-5

Per call
$0.00021
Per 1,000 calls
$0.2087
Per 1,000,000 calls
$209
Projected monthly
$2.09
Based on 10,000 calls / month

All models, ranked by cost

01GPT-4o miniOpenAI
$0.00002
02DeepSeek V3.2DeepSeek
$0.00002
03Qwen 2.5 72BAlibaba
$0.00003
04GPT-5 miniOpenAI
$0.00004
05Gemini 2.5 FlashGoogle
$0.00005
06Claude Haiku 3.5Anthropic
$0.00010
07Llama 3.1 405BMeta
$0.00016
08Mistral Large 2Mistral
$0.00017
09GPT-5OpenAI
$0.00021
10Gemini 2.5 ProGoogle
$0.00021
11GPT-4oOpenAI
$0.00026
12Grok 4xAI
$0.00036
13Claude Sonnet 4.5Anthropic
$0.00038
14Claude Opus 4.1Anthropic
$0.00189

Token counts are estimated via a character/token heuristic per family. Real tokenizers may differ by 5–15%. Pricing is per provider docs as of late 2025.