Case studies

AI testing 86% cheaper per round

AI testing

Abstract

Testing an AI workflow properly is slow and costly, so teams skip it or test rarely. We run this ourselves: a small set of the hardest questions runs on every change, the full set is kept as a final check, and repeated prompts are cached. Each test round is now 86% cheaper, so we can run 8 to 10 rounds a day.

Key results

  • Cheaper per test round

    86%

  • Of prompt content served from cache

    67% to 78%

  • Test rounds a day

    8 to 10

The problem

Every change to an AI workflow can make some answers better and others worse, so every change should be tested. Testing properly means running a set of questions through the model and checking the answers, and each round costs money and time in model usage.

When a round is expensive, teams respond in predictable ways: they test rarely, they batch many changes into one test so they cannot tell which change did what, or they skip testing altogether. All three mean problems reach the people relying on the workflow before anyone has caught them. At what a round cost us before, frequent testing was a real cost we wanted to remove.

Methodology

We split testing into two tiers. A small set of the hardest questions runs on every change. Hard questions are where a regression is most likely to show, so a small set of them gives most of the signal for a fraction of the cost. The full set is kept as a final check before a change is relied on.

The second lever is caching. Much of each test prompt repeats from one run to the next. With prompt caching, the part of a prompt that repeats exactly is reused instead of processed again, which costs less. We measure the share served from cache on every round.

What we built

The test harness runs the hard set on every change and the full set as the final check. Repeated prompts are cached, and between 67% and 78% of prompt content is now served from cache.

Together, the two changes made each test round 86% cheaper. That is what makes 8 to 10 rounds a day affordable.

For a technical reader, the trade-off is coverage per round against rounds per day. The small set of the hardest questions is there to surface problems early and cheaply. The full set remains the final check.

Results

  • Cheaper per test round

    86%

    Measured.

  • Of prompt content served from cache

    67% to 78%

    Measured. The share of each prompt that is reused from cache instead of processed again.

  • Test rounds a day

    8 to 10

    Measured. Affordable because each round is 86% cheaper.

Each test round is now 86% cheaper, so 8 to 10 rounds a day is affordable, and 67% to 78% of prompt content is served from cache. The full test set still runs as the final check, so the savings come from running it less often, not from testing less carefully.

Start with a free 20‑minute call.

Tell us where your week goes. We will tell you plainly whether we can help.

Book a call