← All tools
ARTIFICIAL INTELLIGENCE · COST PLANNING
AI API Cost Calculator
Model the cost of a real workload—not just the headline token price. Compare two models, caching, batch discounts, fixed costs and workload growth.
🔒 Browser-only. No API key required. Enter current provider prices yourself; rates are not hard-coded and your inputs stay in this page.
Method and limitations
Cache discounts apply only to the percentage of input tokens entered as cached. Batch discounts apply to the eligible percentage of token charges. Estimates exclude taxes, retries, tool calls, embeddings, image/audio tokens, reasoning-token billing and provider-specific rules unless represented in fixed costs. Verify current pricing and discount eligibility before budgeting.