Free modelsExplainedDaily archiveLive dashboard
LLM API guide

How to Reduce LLM API Costs: 8 Ways, With Real Numbers

Eight ways to pay less for Claude, OpenAI, Gemini and other LLM APIs, from picking a smaller model to batching and caching, each with today's real price difference so you can see what it's worth.

1. Use the smallest model that does the job

The gap inside one lab is huge. For 1,000 support replies:

LabNewest modelCheapest modelDifference
ClaudeClaude Fable 5.2: $32.00Claude Haiku 5.5: $0.4080×
OpenAIGPT-6.2 Astra Pro: $32.00gpt-oss-20b: $0.11286×
GeminiGemini 4 Neon: $12.00Gemma 3 4B: $0.10120×
DeepSeekDeepSeek V4.1 Flash 1017: $1.08DeepSeek V4.1 Flash: $0.186×
GrokGrok 4.7: $6.40Grok 4.3: $3.502×

Try the small model first and move up only for the requests it gets wrong.

2. Batch anything that can wait

Anthropic, OpenAI and Google all charge 50% for batch requests that return within 24 hours. On OpenRouter today: Claude Fable 5.2 $40 → $20 per million output tokens; GPT-6.2 Astra Pro $40 → $20 per million output tokens; Gemini 4 Neon $15 → $7.5 per million output tokens; DeepSeek V4.1 Flash 1017 $1.2 → $0.149 per million output tokens; Grok 4.7 $6 → $4.8 per million output tokens.

3. Cache the parts you repeat

Put your fixed instructions and documents at the start of every prompt so they can be cached; reads cost about 10% of the normal price. See prompt caching explained for the rules and a worked example.

4. Cap and shorten the output

Output costs 3 to 5 times more than input on the big labs' newest models. Ask for short answers, set max_tokens (or max_output_tokens), and remember reasoning models bill their hidden thinking as output.

5. Send fewer input tokens

Trim old chat history, summarise long threads, and send only the parts of a document that matter. Count before you send: OpenAI's input-token counting endpoint is free.

6. Use off-peak hours where they exist

DeepSeek charges half price off-peak when you buy direct. Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays; everything else, including weekends, is off-peak.

7. Use free tiers for testing

Build and test on free models, then switch to paid for production. The free LLM API guide lists what's free today, with limits.

8. Compare prices regularly

New models often launch cheaper than the ones they replace. The cheapest LLM API list updates every 30 minutes; right now the cheapest is inclusionAI: Ling 3.0 Tiny at $0.015 in and $0.045 out per million tokens.

Provider rules checked 22 November 2026; prices from OpenRouter, Mon, 23 Nov 2026 10:01 UTC.

Next: compare prices

Ready to pick a model? See the LLM API pricing table for all 360 models, the cheapest LLM APIs, and the cost calculator. By lab: Claude, OpenAI, Gemini, DeepSeek, Grok, Mistral, Qwen, Kimi, Meta Llama.

Questions

What is the easiest way to cut LLM API costs?

Switch the requests that don't need the top model to a smaller one. Within one lab, the newest and cheapest models can differ in price by 10 times or more.

Does the batch API really halve the price?

Yes, at Anthropic, OpenAI and Google: batch requests cost 50% of the normal price, in exchange for waiting up to 24 hours.

Is OpenRouter more expensive than going direct?

Per token it's the same price, since OpenRouter passes provider prices through, but it adds a 5.5% fee (minimum $0.80) when you buy credits.

How do I estimate my monthly LLM API bill?

Multiply your tokens per request by the price, then by requests per month. The LLM API cost calculator does it for any model.

Get this in your inbox at 7am

One free email each morning with the AI repos, models and stories that are picking up speed, including new free models. Your own time zone, no spam.

See today's email