← All articles
AI delivery
Evaluation
Proof Spike

Why an AI prototype tells you less than you think

· 7 minute read · Pivot-al

The prototype worked in the meeting. Someone typed a question, the assistant answered it correctly, and the budget for the full build was approved that week. Six months later the system is in front of real users and it is slower, more expensive and less accurate than anyone expected. The prototype was honest about what it showed, but it answered a different question from the one the budget decision needed.

What a demo proves

A demo proves existence: on at least one input, the approach produced an acceptable output. That is real information, because it rules out "this is impossible."

It is also weak information, because of how demos are made:

  • The inputs were chosen. The person building the demo tried several, kept the ones that worked, and learned which phrasings to avoid. This is how anyone prepares a demo and there is nothing dishonest in it, but it is selection on the outcome.
  • The data was clean. A few well-formatted documents, not the scanned PDFs, duplicated records and half-migrated tables that make up the real corpus.
  • There was one user. No concurrency, no rate limits, no queue.
  • Nobody counted the cost. One call to the largest available model with the whole document pasted in is fine for a demo.
  • A person judged the output by eye. "That looks right" from someone who wanted it to look right.

What it does not measure

Four numbers decide whether an AI feature is viable in production. A prototype usually measures none of them.

Accuracy on a held-out set

Held out means the examples were not used to build or tune the system, and the person who built it has not been iterating against them. Without that separation, a reported accuracy describes how well the system fits the examples its author looked at.

Classic ML has the same failure mode with a different mechanism. In a representative, anonymized teardown of a Series-B B2B SaaS company, a churn prototype scored 0.94 AUC offline and near-random in production. The offline number was a real measurement of the wrong thing. Temporal leakage explains how that happens.

Latency under load

A single request on an idle system tells you the best case. Production latency is a distribution, and the 95th percentile at realistic concurrency is the number users feel. Rate limits, cold starts, retries and long retrieval queries all sit in the tail.

Cost per task

The demo's cost per task is whatever one unoptimized call cost. The production figure depends on context size, routing, retries and volume. A feature can be accurate and fast and still cost more to run than the customer pays for it. See cost per task, not cost per token.

Behavior on bad data

Empty inputs, the wrong language, a document three times longer than any in the demo, contradictory sources, a question the corpus cannot answer, text that contains instructions aimed at the model. With inputs like these, the useful question is whether the system fails safely: whether it declines, asks or flags instead of answering confidently and wrongly.

The alternative: a Proof Spike

We call the alternative a Proof Spike. It is fixed-price and time-boxed, and it differs from a prototype in four ways.

  • It builds only the riskiest part. No login screen, no UI polish, no integrations that are known to be straightforward. The effort goes into the one component that might not work.
  • It runs on your real data. A representative sample pulled from the production source, with its real mess, not a curated folder.
  • It measures against thresholds agreed in advance. Accuracy, latency and cost per task, each with a number written down before any result exists.
  • It ends with a go or a no-go. The result is a decision with the measurements behind it, and "promising" is not one of the options.

A prototype is built to be shown and what it leaves behind is a demo, while a spike is built to be measured and leaves a table of numbers and a test suite.

Picking the riskiest part

The riskiest part is the component whose failure would end the project and whose outcome you cannot predict from experience, and it is rarely the part that demos best.

A practical way to find it: list the claims that must all be true for the product to work, then rank them by how uncertain each one is and how expensive it would be to learn late that it is false.

  • The data contains the signal. Past records actually predict the outcome, or the corpus actually contains the answers.
  • The model can do the task at the required accuracy on real inputs, including the hard ones.
  • It can do so within the latency the workflow tolerates.
  • It can do so at a cost per task the pricing supports.
  • It can do so within the constraints: tenant isolation, data residency, the models you are permitted to use.
  • The inputs it needs are available at the moment of prediction, not only afterward.

Usually one or two of these are in real doubt. For a retrieval system it is often whether the right passage can be found in a large, messy corpus at all. For a predictive model it is often whether the signal survives once the features are restricted to what was known at prediction time. For an extraction pipeline it is often the worst tenth of the documents.

Two questions help: what would the team least like to find out in month five, and which part did the demo quietly avoid?

Sometimes the answer comes before any building. If the riskiest claim is about the data, an assessment of the data settles it faster than a build does. Data readiness for machine learning covers what to check, and sometimes the finding is that the task does not need an LLM.

Setting thresholds before you see results

A threshold set after the results are in only describes the results, because people are good at deciding that whatever number came back is acceptable. Fixing the bar in advance is the only reliable defense.

Derive the bar from the business

  • Start from the baseline. What does the current process achieve: the human team, the rules engine, or doing nothing? A system that does not beat the baseline has no case.
  • Work out the break-even. If a wrong answer costs a support escalation and a right answer saves an agent five minutes, there is an accuracy below which the feature loses money. That is the floor.
  • Price the two kinds of error separately. A missed fraud case and a blocked legitimate customer do not cost the same. Set precision and recall targets, or a threshold at a chosen operating point, instead of a single accuracy figure.
  • Take latency from the workflow. An inline suggestion needs an answer while the user is still looking at the screen. A nightly batch does not.
  • Take the cost ceiling from pricing. What the customer pays per task, minus the margin you need, is the most you can spend.

Write it down

Something like this, agreed and signed off before the build starts. The figures are illustrative:

task: extract_invoice_fields
eval_set: 400 documents, sampled from production, labeled by two reviewers
thresholds:
    field_accuracy: '>= 0.95'
    critical_field_accuracy: '>= 0.99' # amount, due date
    abstains_on_unreadable: '>= 0.90'
    p95_latency_seconds: '<= 8'
    cost_per_document_usd: '<= 0.04'
decision:
    go: all thresholds met
    no_go: any critical threshold missed
    otherwise: named remediation, then re-measure once

Three details matter. The eval set is sampled, not hand-picked, and it is frozen before the build. The labels come from people who know the domain, with disagreements resolved, because the labels are the definition of correct. And there is a rule for the in-between result, so a near miss does not turn into an open-ended extension.

The harness is the deliverable

The test harness gets installed in your repository, not ours. It contains the eval set, the scoring code, the latency and cost measurement, and a single command that runs it.

That changes what happens after the spike. Whoever builds the rest of the system, whether that is your team, another vendor or us, has an acceptance test from day one. Every later change to a prompt, a model version or a retrieval setting runs against the same set, and a regression shows up as a number instead of a customer complaint. Building an LLM evaluation harness describes the structure.

It also means the result does not depend on trusting us, because you can rerun it.

A no-go is a result

A no-go on the riskiest part, reached early and for a fixed price, is the cheapest way to learn that a project should not proceed in its current form. It normally comes with a reason: the signal is not in the data, the accuracy ceiling is below the break-even, or the cost per task does not fit the price. Each of those points to a different next step, and none of them was visible in the demo.

Where to go from here

If you have a prototype and a build decision coming, the Proof Spike is the measured version of that decision. If you are not yet sure what the riskiest part is, the Data & Model Feasibility Teardown is the assessment that comes before it. If the project involves a training table, the free leakage check runs in your browser and takes a few minutes.