Home · Work · Case study
Case Study

90% Fewer Tokens, Same Accuracy

A production AI agent’s usage was growing — and so was its token bill, faster. The system worked; its economics didn’t scale. Our brief: cut the cost without touching the accuracy users had learned to trust.

IndustryEnterprise services
ServicesAI Operations (LLMOps)
EngagementOperations review, then optimization
90%reduction in token consumption
Heldevaluation accuracy through the change
Per-querycost visibility, by use case
Overview

The situation.

The agent (the subject of our flagship case) had been designed with cost controls, but production reality had outgrown them: longer documents, longer conversations, more retrieved context per answer than answers needed. Token spend per query had crept up month over month, and finance’s question — ‘what happens to this bill at ten times the users?’ — had an uncomfortable answer.

Result

Where it landed.

Token consumption fell 90% with evaluation accuracy intact — and the client’s growth question got a new answer: the same budget now supports roughly ten times the usage. The per-query cost instrumentation stayed, folded into the monthly AI operations scorecard, so the next creep gets caught at 10%, not 900%.

Our Solution

What we built.

  1. Instrument first

    Per-query cost tracking by use case and conversation pattern — the map of where tokens actually went.

  2. Caching & compaction

    Repeated context cached; conversation history compacted to what the current answer needs instead of the whole transcript.

  3. Model routing

    Questions classified by difficulty; simple lookups routed to cheaper models, hard reasoning kept on the frontier — routing rules tuned against the evaluation set.

  4. Retrieval discipline

    Retrieved content trimmed to the passages the answer uses, with citation quality checked after the cut.

  5. Prove it on the eval suite

    Every change gated by the golden-question evaluation set: accuracy had to hold before the saving shipped. It did.

Key Achievements

The numbers.

90%lower token consumption
Heldaccuracy on the evaluation suite
10xheadroom for user growth at the same budget
Monthlycost scorecard continues

Start with a fit call.

Thirty minutes. Bring the problem as it actually is — the stalled pilot, the bill, the spreadsheet everyone quietly maintains. We’ll tell you honestly whether we’re the right builder for it.

You leave with a straight answer on fit — and if it fits, a free Blueprint to follow.