AI API Cost Calculator
Estimate monthly token spend across OpenAI, Anthropic, Google Gemini, DeepSeek, and xAI. Every rate below comes directly from the provider's official pricing page, checked on 2026-11-25.
1. Configure your workload
Estimated Monthly Spend
Estimate uses standard list rates (plus cache read rate when cached share > 0%). Excludes batch discounts, cache write fees, tool calls, and long-context tier surcharges.
2. Same workload across all models
Estimated monthly cost updates live as you adjust tokens and volume above. Click a row to select it.| Model | Provider | Input / 1M | Output / 1M | Cached / 1M | Est. Monthly Cost | Notes | Source |
|---|
Access many of these models through one OpenAI-compatible API — try Ofox
Open Ofox to review the live model catalog and create an API key. Confirm the official rate and whether the API fits your client before you add credit.
Affiliate link: the operator of this site may earn a commission.Official pricing sources (checked 2026-11-25)
All figures on this page are transcribed from each lab's official pricing documentation on November 25, 2026. Reasoning models (such as Gemini thinking tokens or reasoning tokens) bill thinking tokens at output rates. Always verify your exact prompt-length tier, region, and billing currency on the provider's official page before deploying production workloads.