At a glance
- A quality bar is a test suite plus a threshold, not an adjective.
- Run the same fixed set on every provider and re-run it after every upgrade.
- Test retries and tail latency, not only average output quality.
- Put the suite and the threshold in the contract so “quality” has an address.
Ask a provider to describe output quality and the answer will be adjectives: high-quality, production-grade, enterprise-ready. Ask for a test the buyer can run and the answer becomes specific, or it becomes a negotiation. That transition is the whole point of an acceptance bar.
A quality bar is not a number on a rate card. It is a fixed evaluation set, a scoring rule and a threshold, agreed before the contract and re-run afterwards. This piece describes five checks that together make token quality testable.
1. A fixed evaluation set with known answers
The foundation is a set of prompts that represent the workload, each with a criterion that a grader can apply consistently. The criterion can be an exact answer, a rubric, a schema validation or a pairwise preference against a reference output. What it cannot be is “looks good”.
Keep the set private and versioned. If the provider sees the prompts, the set stops measuring general quality and starts measuring optimization against the test. Rotate a small portion periodically to catch overfitting; keep the core stable so results are comparable over time.
2. Retry tolerance, measured separately
A model that answers 90 percent of prompts correctly in one pass and requires three attempts for the rest is more expensive than a model that answers 85 percent in one pass. Quality and retry behaviour have to be measured together.
For each prompt, record the number of attempts needed to reach the acceptance criterion, then report pass rate and mean attempts. The product of the two is close to the effective quality per token spent. For the underlying metric, see Measuring Effective Tokens.
3. Instruction adherence and format validity
Correct content in the wrong shape is a failure in production. The acceptance set should include structured-output prompts and check schema compliance, field presence and refusal behaviour. A model that occasionally wraps JSON in prose will break a client even when its answers are right.
This check is also where system-prompt adherence belongs: constraints such as language, length, citation format and safety instructions. Test them explicitly rather than assuming they hold because they held in a demo.
4. Regression on upgrade
Quality is a moving target. Providers update models and runtimes; the updates are usually improvements on average and sometimes regressions on a specific workload. The acceptance set exists to catch the second case.
A workable rule: no upgrade reaches production for the buyer's workload without a regression run on the fixed set, and any drop beyond the agreed tolerance triggers a rollback or a renegotiation. Put both the rule and the tolerance in the contract. For how this interacts with provider-managed upgrades, see Why Output Quality Drifts After a Provider Upgrade.
5. Tail behaviour under load
Average quality under gentle load says little about the experience at p99. Truncated outputs, timeouts and degraded routing tend to appear exactly when traffic is high, and they are quality failures even when the model itself is fine.
Add a load-conditioned check: replay the evaluation set at the contracted concurrency and record completion, truncation and timeout rates alongside pass rates. A quality bar that only holds at low load is a quality bar for demos.
What we watch
- Whether the provider will accept a buyer-run suite as the acceptance criterion.
- Whether upgrade notice includes a regression window.
- Whether retries are reported next to pass rates.
- Whether load-conditioned results are available at all.
None of these checks requires the provider to disclose internals. They require both parties to agree on what a pass looks like. Once that exists, quality stops being a marketing claim and becomes a line item that can be measured, disputed and renewed. For the contract terms around it, see Designing an SLA for Token Services.
Questions buyers ask
How large should an acceptance evaluation set be?
Large enough to cover the workload's failure modes, not the whole product. A few hundred curated prompts with known-good criteria usually beats thousands of random ones, because the purpose is to catch regressions, not to rank models in the abstract.
Should acceptance tests run on every request?
No. Run the fixed suite at onboarding, after any provider upgrade, and on a monthly cadence. Sample live traffic separately for drift, and never let the evaluation set leak into prompts the provider can optimize against.
What is a fair threshold for a token quality SLA?
A pass rate on the agreed suite, measured over a defined window, with a stated consequence. The exact number depends on the task. The important part is that both parties test the same prompts with the same criteria.