Skip to content
A hand-cranked mechanical calculator with its brass gears exposed.

LLM Cost Optimisation

You set the cost per answer

Most AI bills grow with context length. So you choose the length, and the bill follows.

  • Model routed by task class
  • Context kept lean, one task per session
  • A cap on each session, a weekly baseline for trends
  • Stable prompt openings, served from the cache

Example record

Where your tokens went this week

Spend per task class, against last week.

A looping session stops at its cap, so the baseline only shows trends.

spend · weekly baselineSample log
  • Classification on a small model

    within the baseline

    Normal
  • Architectural questions via the index

    answered from the index

    Normal
  • A session looping on one test

    stopped at its spend cap

    Stopped
  • A repository sweep

    25,000 to 50,000 tokens

    Refused

Where the money goes

Everything in the context window is re-sent on each turn. Cost grows with session length.

  • The largest model used for classification work

  • Whole repositories loaded to answer one question

  • Sessions that run long and loop

  • Spend nobody reads until the invoice

Capabilities

What moves your bill

Measured on our own delivery work, then applied to yours.

01Routing by task classSmall models for extraction and classification. The large one where reasoning pays for itself.
02Navigation over ingestionAn index answers an architectural question in 400 tokens instead of 10,000. A sweep at 25,000 to 50,000 is not allowed.
03Cache what repeatsStable instructions and context go first and stay unchanged, so the provider serves them from its cache.
04A weekly baselineSpend per task class tracked each week. A looping session never reaches it: the session cap stops it first.

Model

What we fix, and what you decide

What we fix

  1. F1Spend measured per task class
  2. F2A turn and spend cap on each session
  3. F3A weekly baseline
  4. F4One task per session

What you decide

  1. C1Models and providers
  2. C2The budget and its alert threshold
  3. C3Which tasks get the large model

Next step

Send us last month’s invoice.

We break it down by task class. You take a costed breakdown to your next budget review.