AI Token CostGPT-4 PricingClaude APIGeminiCost Per TokenFree CalculatorAI Token CostGPT-4 PricingClaude APIGeminiCost Per TokenFree Calculator

AI Token
Cost

Multi-Model · Cost Per Request · Monthly Estimate

Your Usage

0
Est. Input Tokens
0
Words

2025 AI API Pricing (per 1M tokens)

ModelInputOutputContext
GPT-4o$2.50$10.00128K
GPT-4o-mini$0.15$0.60128K
GPT-4 Turbo$10.00$30.00128K
Claude 3.5 Sonnet$3.00$15.00200K
Claude 3 Haiku$0.25$1.25200K
Gemini 1.5 Pro$1.25$5.002M
Gemini 1.5 Flash$0.075$0.301M
Llama 3.1 70B*$0.35$0.40128K

*Via providers like Together, Fireworks, Groq. Prices as of early 2025 — check providers for current rates.

Token Estimation Rules

LanguageTokens per WordTokens per Page
English~1.3~800
Spanish~1.5~900
Code~2.5~1,500
Chinese/Japanese~2.0~1,200

1 token ≈ 4 characters or ¾ of a word in English.

Cost Optimization Tips

StrategySavings
Use smaller models for simple tasks80-95% cheaper
Prompt caching (same prefix)50% on input
Batch API (non-real-time)50% discount
Limit output with max_tokens20-50% on output
Fine-tune for repetitive tasksFewer tokens needed