LLM API cost calculator

Describe your workload once — see what it costs on every model. List prices from 13 providers, including prompt-cache discounts, updated 2026-06-10.

40K-token contexts, 2K-token outputs, heavy caching

Standard per-token API list prices; long-context surcharges, batch discounts and provider minimums not included. Models without published pricing are omitted. Cache savings apply only where the provider offers prompt caching.