How it works · 14 of 27 Advanced
What is a quality SLO for an AI feature?
A promise about good answers, with a budget
Quality SLOs: A quality SLO is a target for the share of good answers over a window (say 97% a month, graded on a sample); one minus the target is the error budget, the bad answers the team may spend, and when it is spent, releases pause for fixes only.
Loading the animation…
Say it like this A quality SLO is a target for good answers with an error budget: the bad answers you may spend in a month; a stricter target is a smaller jar, and when it is full, releases pause for fixes only.
Under the hood — for builders
- Worked example: what each target allows
- On 30,000 answers a month with 600 graded bad, a 95% target allows 1,500 and lasts; 99% allows 300, spent on day 15, then fixes only.
- Terms: SLI and SLO
- SLI: what is measured, the share of sampled answers graded good. SLO: "a target value or range of values for a service level that is measured by an SLI."
- Terms: error budget
- Error budget: one minus the SLO, over a window, often four weeks. It "provides a clear, objective metric that determines how unreliable the service is allowed to be".
- Terms: time to first token
- Anthropic: "the time it takes for the model to generate the first token of the response, from when the prompt was sent".
- Our arithmetic: can your sample see the target?
- Graded on 1,200 answers a month, a 2% bad rate is known only to ±0.8 points: 98% and 99% blur. A checkable 99% promise needs about 5,000.
- Who grades the sample
- Quality is graded on a sample, by people (B3) or a calibrated judge (B2), never only on the answers people complain about.
- When the jar is full
- Google's SRE workbook: "we will halt all changes and releases other than P0 issues or security fixes until the service is back within its SLO."
- Write the rule before the first miss
- Agree the policy, and who may overrule it, while the jar is still empty; a rule written during an incident gets bent.
- Speed: percentiles, not averages
- The SRE book: "We generally prefer to work with percentiles rather than the mean". Set speed as 95% of answers starting within a time.
- Measure it
- Good-answer share per week with its ± · budget left and the day it runs out · time to first token at p95 · releases paused, and for how long.
- Watch out
- A target the sample cannot see · one SLO for every feature · a policy nobody enforces · the 30,000 answers and 2% rate are our example.
- Sources
- Google SRE book: Embracing Risk; Service Level Objectives · SRE workbook: Error budget policy (sre.google) · Anthropic, Reducing latency · read 21 Nov 2026 · our arithmetic, 21 Nov 2026.
What happens in the quality SLOs animation, step by step?
- A quality target is a jar of allowed mistakes. 95% good answers out of 30,000 this month leaves room for 1,500 bad ones: the error budget.
- Each day about 20 answers are graded bad: one red marble. By day 15 the jar is a fifth full, and releases keep shipping through the door.
- Your turn: drag the target up, towards 99%, and watch the jar.
- At 99% the jar shrinks to a thimble: room for 300 bad answers, full on day 15. "Launches paused" drops over the door: only fixes ship until quality recovers.
- Speed gets its own jar: 95% of answers must start within 2 seconds (time to first token). Slow answers spend that budget, not the quality one.
- Pick a target the team can keep, and a rule for when the jar is full. Next: who marks an answer bad when nobody labels them?
What everyday example explains quality SLOs?
A jar of red marbles for the month's mistakes. The jar's size is the budget (a stricter target, a smaller jar), each marble a day's bad answers, a full jar a spent budget, and the sign that drops over the release door is the error-budget policy.
Why should a team care about quality SLOs?
Someone will ask for "99% accurate"; the team decides what counts as a good answer, how it is graded, what target the sample can actually see, and what stops when the budget is spent.