NeoAI
Menu

NeoAI / Guide

Cut LLM costs in seven moves, in this order, without lowering quality.

Reduce LLM costs by measuring cost per accepted task first, then cutting retries, matching each step to the cheapest model that passes your quality bar, trimming context, caching repeated prefixes, batching work that can wait, and gating quality with automatic escalation. Retries and model choice are usually the largest levers.

Last updated 25 Oct 2026 · By NeoAI

Scroll

Measure cost per accepted task first.

cost per accepted task = ( model spend + rework time ) ÷ accepted outputs

Without it, a cheaper model can look like a win while the true cost rises. Start with your top three workflows by spend. How the metric works

Workflow ledger, one weekSample data
WorkflowAcceptedAttemptsModel spendRework hoursCost per accepted
Resume screening100380$19025$16.90
Support triage400520$526$1.03
Code review150610$30540$18.03

Invented sample numbers to show the ledger. Rework time is sampled and valued at a loaded hourly rate. Sample data

Pull seven levers, in this order.

Measure cost per accepted task

Model spend plus rework time, divided by outputs that passed your acceptance criteria. Every other lever is a guess without it.

$16.90per accepted task in the worked example Worked example
How the metric works

Cut retries before you touch models.

Retries come from inconsistent prompts, missing context and no shared definition of done. Capture how your best people get a task accepted first time, then reuse it. That is what distilled recipes do.

One task, by attemptsIllustrative
Model spend $4.50Rework $24.00
Cost to get one accepted output$28.50

Assumes $0.90 per attempt, and 6 minutes of fixing per failed attempt at $60 an hour. Illustrative assumptions, not measured. Illustrative

Parse on a small model. Judge on a frontier one.

Small

Routine steps

Parsing, extraction, classification, routine drafting.

Haiku 5.5$0.10
Mid

Structured reasoning

Scoring against a rubric, moderate analysis, summaries.

Sonnet 5.5$2.00
Frontier

Judgment steps

Calibration, bias checks, final review, hard edge cases.

Fable 5.1$10.00

Input price per million tokens. Anthropic pricing, read 25 Oct 2026. Public list prices Decide per step, not per application, and test each choice against your acceptance criteria. The dated price table

Three quick levers with numbers you can check.

Trim context

Fewer tokens per task, simulated. Research brief task:

Baseline95,718
Trimmed26,914
Simulated

Cache the prefix

Cache reads cost a fraction of base input. Claude Haiku 5.5, per MTok:

Base$0.10
Cache read$0.01
Public list prices

Batch what can wait

Half price, input and output. Claude Sonnet 5.5 input, per MTok:

Standard$2.00
Batch$1.00
Public list prices

Method for the simulated figure: simulated replay. Prices: Anthropic pricing, read 25 Oct 2026.

Five mistakes that make cost-cutting backfire.

Switching everything to the cheapest model

Retries and rework can cost more than the tokens saved.

Judging by an average benchmark

Your tasks and your acceptance criteria are what count.

Measuring spend, not outcomes

Falling spend with falling acceptance is not a saving.

Ignoring staff time

Hours spent fixing outputs are part of the cost.

Optimising once

Models and prices change, so re-tune on a schedule.

Where a tool helps. You can run levers 1, 4, 5 and 6 yourself. Levers 2, 3 and 7 are the hard ones by hand: they need recipes learned from your accepted work and a per-step decision with automatic escalation. A free audit sizes what they are worth on your data. Pricing is gainshare: no measured savings, no fee.

Questions buyers ask before they book.

What is the fastest way to reduce LLM costs?

Move work that can wait to batch processing and cache repeated prompt prefixes. Both are quick, and on Anthropic list prices batch is a 50 percent discount and cache reads cost a fraction of base input.

Will switching to a cheaper model lower my bill?

Only if the cheaper model still passes your quality bar. If it needs more retries, cost per accepted task can rise even though price per token falls.

What is the biggest hidden cost in LLM spend?

Retries and staff rework. Several attempts per task, and hours spent fixing and re-asking, often cost more than the token price difference between models.

Prefer to read it? The full page is here.

Every table, definition and source from this page, as plain text.

Read the full page

Start with the right equation

AI cost per task is people time plus attempts multiplied by cost per attempt. Most cost-cutting work only attacks cost per attempt, by switching to a cheaper model. That can raise the bill if the cheaper model needs more retries, because every retry costs tokens and staff time. Work through the levers below in order, and measure the result as cost per accepted task, not price per token.

1. Measure cost per accepted task

Count, for each workflow, the model spend plus the staff time spent fixing and re-asking, divided by the outputs that passed your acceptance criteria. Without this number every other lever is a guess, and a cheaper model can look like a win while the true cost rises. Start with your top three workflows by spend.

2. Cut retries before you touch models

If a task takes four or five attempts, the cheapest saving is the attempts you remove. Retries come from inconsistent prompts, missing context and no shared definition of “done”. Capture how your best people get a task accepted first time, then reuse it for everyone. That is the idea behind NeoAI's distilled recipes. You can start by hand: write down the steps, context and checks for your five most repeated tasks.

3. Match each step to the cheapest model that passes

Use a small model for routine steps such as parsing, extraction and drafting, and keep the frontier model for steps that need judgment. The prize is large: on list prices read on 25 Oct 2026, a mid-priced model costs about 20x a small model in the same family Public list prices. See the dated price table. Decide per step, not per application, and test each choice against your acceptance criteria, not an average benchmark.

4. Trim context

Input tokens are billed on every call, and agents resend their whole history on each step. Send only the sections a step needs, summarise tool outputs before they enter the running history, and cap loops. In our simulated replay, shortening what the frontier model sees was a main reason token use fell 65–72% Simulated. That is a simulation, not a promised result.

5. Cache repeated prefixes

System prompts, tool schemas and shared instructions repeat on every call, and providers bill cache reads at a fraction of base input. On Anthropic's list, Claude Haiku 5.5 cache reads are $0.01 per million tokens against $0.10 base, and Claude Opus 5.5 is $0.20 against $4.00 Public list prices. Keep stable content at the start of the prompt and variable content at the end so the prefix can be reused.

6. Batch work that can wait

Anthropic's Batch API gives a 50 percent discount on both input and output tokens for asynchronous work Public list prices. Overnight classification, back-fills and evaluation runs rarely need a live answer. Move them to batch before optimising anything else on those workflows.

7. Gate quality, and escalate instead of failing

Every saving above is only a saving if quality holds. Define acceptance criteria per task, run a fixed evaluation set before and after each change, and add a confidence or quality check on cheaper steps. When a cheap model is unsure, move that step up a tier automatically rather than returning an error or a poor answer. This is how NeoAI's smart delegation works.

Common mistakes

  • Switching everything to the cheapest model. Retries and rework can cost more than the tokens saved.
  • Judging by an average benchmark. Your tasks and your acceptance criteria are what count.
  • Measuring spend, not outcomes. Falling spend with falling acceptance is not a saving.
  • Ignoring staff time. Hours spent fixing outputs are part of the cost.
  • Optimising once. Models and prices change, so re-tune on a schedule.

Where a tool helps

You can run levers 1, 4, 5 and 6 yourself. Levers 2, 3 and 7 are where it is hardest to do by hand, because they need recipes learned from your accepted work and a per-step decision with automatic escalation. If you spend $20k a month or more on LLMs, a free audit sizes what those levers are worth on your data. Pricing is gainshare: no measured savings, no fee.