AI Token Cost Calculator
Calculate and compare LLM API costs for any provider, model, and workload.
Step 1 — Provider
Step 2 — Model
Latest flagship with 1M context window and strong coding/instruction following
Step 3 — Tokens per request
Step 4 — Daily volume
💰 Estimated Cost
Real-time estimate · Updates as you type
Per request
$0.006000
Daily
$60.00
Monthly
$1,800.00
per month · 30-day estimate
Yearly
$21,900.00
Model Pricing
ModelGPT-4.1
Input price$2.00 / 1M tokens
Output price$8.00 / 1M tokens
Context window1M tokens
Common use cases
Click a preset to auto-fill the calculator above.
How pricing works
LLM APIs charge per token — roughly 4 characters of text. Pricing is split between input (prompt) and output (completion) tokens, and varies by model and provider.
Formula
cost = (
input_tokens × input_price
+ output_tokens × output_price
) / 1,000,000 × requests