Guide · 2026-04-10 · 8 min read

5 Tactics That Cut Our LLM Costs by 50%

Prompt caching, tiered routing, batching — here are the concrete steps we used to halve token spend without sacrificing quality.

Why LLM Costs Spiral Out of Control

Most teams start with a single model for everything. That's fine at prototype scale, but once you hit production traffic, costs grow linearly — and sometimes super-linearly if prompts aren't optimized. Here are five concrete tactics we used to cut our monthly LLM bill from $12,000 to under $6,000.

1. Prompt Caching

Many providers now support prompt caching, where repeated system prompts or prefixes are stored and reused at a discount. OpenAI offers cached input tokens at 50% off, and Anthropic offers up to 90% off for cached prompts.

Impact: If your system prompt is 2,000 tokens and you make 500K requests/month, caching saves you roughly $1,250/month on GPT-5 alone.

How to implement: Structure your prompts so the static portion (system instructions, few-shot examples) comes first. Most providers cache automatically based on prefix matching.

2. Tiered Model Routing

Not every request needs your most powerful model. We built a simple classifier that routes requests to different tiers:

  • Simple queries (FAQ, classification) → GPT-5 Nano ($0.10/M input)
  • Standard tasks (summarization, extraction) → GPT-5 Mini ($0.40/M input)
  • Complex reasoning (analysis, code generation) → GPT-5 ($2.50/M input)

Impact: 60% of our traffic turned out to be "simple" — routing those to Nano saved us $3,200/month.

3. Batching API Calls

Most providers offer 50% discounts on batch API calls that don't need real-time responses. If you're processing documents, generating reports, or running evaluations, batch endpoints are free money.

Impact: We moved our nightly content generation pipeline to batch, saving $800/month.

4. Output Length Control

The most expensive tokens are output tokens — they cost 2-4× more than input tokens. We added strict `max_tokens` limits and restructured prompts to request concise responses.

Before: "Analyze this data and provide a comprehensive report..."

After: "Analyze this data. Return: 1) Key finding (1 sentence) 2) Recommendation (1 sentence) 3) Risk level (low/medium/high)"

Impact: Average output dropped from 450 tokens to 120 tokens, saving $1,800/month.

5. Response Caching

For deterministic queries (same input → same output), we added a Redis cache layer. Product descriptions, FAQ answers, and classification tasks often repeat.

Impact: Cache hit rate of 35% on our classification endpoint alone saved $400/month.

The Compound Effect

None of these tactics alone is revolutionary. But combined, they reduced our bill by 52%. The key insight: treat tokens like any other cloud resource — measure, optimize, and right-size.

Use our Calculator to model how these optimizations would impact your specific workload.

Related Reading

Last updated: · Source: Pricing dataset · Methodology

Frequently asked questions

How are token costs calculated?

Multiply input tokens by the input rate and output tokens by the output rate, add the two amounts and divide by 1,000,000. A standard request example uses 1,000 input and 500 output tokens. Monthly budgets multiply the result by request volume; taxes, hidden reasoning tokens, tools and tier surcharges can add costs.

Which recorded model has the lowest request cost?

LFM 2.2 6b by Liquid AI costs $0.00002 for the standard request, with $0.01 input and $0.02 output per million tokens. This price ranking does not establish quality equivalence; verify task success and context requirements.

Can cached and batch discounts be combined?

Only recorded rates are used. Cached input can have cache-write or storage charges, while batch rates apply only to eligible asynchronous jobs. We do not automatically stack the discounts or treat an absent rate as zero. Check the linked provider source before budgeting.

How current is the public dataset?

The live pricing table synchronizes stored model records daily; public file snapshots update when the site is rebuilt. Synchronization is not independent provider verification. It contains 1,026 priced models across 124 providers, last updated 2026-10-31. Directory entries are counted separately. A synchronization date is not proof of independent verification.