Reducing your costs

The ten reflexes that bring down the bill of an AI application without degrading the result, ranked from most profitable to finest.

1. Pick the right model tier

The price gap between two tiers can exceed a factor of 10. For the same coding session, here is the order of magnitude (see Choosing a model for the method):

Table
ModelTierCost (200K input tokens, 30K output)
Claude Opus 5.5
claude-opus-5-5
Flagship$1.40
GPT-6 Sol
gpt-6-sol
Frontier$0.70
Claude Sonnet 5.5
claude-sonnet-5-5
Balanced$0.70
DeepSeek V4 Pro
deepseek-v4-pro
Frontier$0.38
Gemini 3.6 Flash
gemini-3.6-flash
Fast$0.26
DeepSeek V4 Flash
deepseek-v4-flash
Fast$0.10
GPT-6 Luna
gpt-6-luna
Efficient$0.04

2. Turn on prompt caching

A repeated prefix costs about 8 times less after a few requests. See Prompt caching.

3. Send less

  • Remove old or useless messages from the history, or summarize them.
  • Send only the relevant excerpts of documents rather than the whole document.
  • Shorten system instructions: they are sent again with every request.

4. Cap the output

Set max_tokens to a value that fits the task. The output price is generally 5 times the input price: an overly chatty answer is expensive.

5. Ask for short, structured answers

“Answer with a three-field JSON” or “Answer in one sentence” costs less than free text, and is easier to process.

6. Route by difficulty

Send simple cases (classification, extraction) to a fast-tier model and keep the top-tier model for hard cases. A cheap first call can also decide whether a more expensive second call is needed.

7. Split long tasks

Several targeted requests, each with the right model, often cost less than a single giant request on the biggest model.

8. Avoid pointless replays

Cache answers to identical questions on your side, and do not rerun a failed request without understanding why (see Error codes).

9. Use streaming for long answers

Streaming lets you stop a generation that is going in the wrong direction: you only pay for the tokens actually produced.

10. Measure

  • Every response contains the usage field: record it in your logs.
  • The dashboard shows cost and tokens per model and per day.
  • Compare the consumption of two models on the same cases before generalizing a choice.
The credit itself costs less when you top up more
The credit multiplier grows with the amount paid (from ×2 up to ×5). See the Pricing page to work out the best tier for your usage.

Going further

Last updated: October 4, 2026Found a bug? admin@minedom-france.fr