Your files stay on your device LLM API cost calculator Estimate monthly LLM API spend from traffic and token shape with cache hit, cache write and batch discounts applied from a dated, editable price table. Enter your traffic to price a month. The projection averages your token shape over a month of traffic, so it cannot see bursts, retries, failed requests, or tier switches at a context boundary. Regional surcharges, priority modes, and image or audio pricing are out of scope. Cache economics are only as good as your hit-rate guess: on Anthropic models a 5-minute cache write costs 1.25 times the input price, so a low hit rate can make caching cost more than sending everything at list price, and the savings figure below goes negative to say so. Options More AI tools - API cost estimator (/ai/cost-estimator) - Model comparison (/ai/model-comparison) - Vision token cost (/ai/vision-cost) All AI tools (/ai) Was this tool useful? YesNo Canonical HTML: https://nutter.tools/ai/llm-api-cost-calculator Markdown version: https://nutter.tools/ai/llm-api-cost-calculator.md Plain-text version: https://nutter.tools/ai/llm-api-cost-calculator.txt Agent index: https://nutter.tools/llms.txt