Cost Optimization

What are the highest-leverage LLM cost optimizations?

In order of typical impact: (1) prompt caching for reused prefixes — cached input is billed at 2.5-10% of the normal input rate on most current frontier and mid-tier models; (2) model routing (cheap model for easy, premium for hard) — list input prices within one vendor range from $0.10 (Claude Haiku 5.5) to $8 (Claude Fable 5.2) per million tokens; (3) prompt compression / summarization of long histories; (4) batch APIs for asynchronous workloads at 50% off. Measure quality on your own evals before and after each change. See [how to cut LLM inference costs](/blog/cut-llm-inference-costs).

Last reviewed:

More on Cost Optimization

Browse the full FAQ for 168 answers, or start a free GenAI maturity assessment to see where your organisation stands.