LLM API monthly cost calculator
Estimate monthly text API spending from requests, average tokens, input/output rates and additional calls.
Default rates are illustrative examples, not provider quotes. Enter current rates from your exact model’s official pricing page. All calculations run locally in your browser.
Formula and scope
Monthly cost = base calls × (1 + additional calls percent / 100) × (average input tokens × input rate + average output tokens × output rate) / 1,000,000. Additional calls are assumed to have the same average token counts.
This simplified estimate excludes free allowances, cache writes/storage, tools/search, image/audio, subscriptions, taxes and exchange rates. Calculate cache hits and misses separately, then add them. Use actual billed output tokens.