Most teams pick a review sample by feel: 50 outputs a week, or whatever fits the calendar. That produces a number nobody can defend when someone asks whether the sample was large enough to catch a regression. The fix is to work backwards from the decision the sample must support.
Three inputs drive sample size for a proportion. The first is the confidence level, the probability that your interval contains the true error rate; 95% is the common default. The second is the margin of error, half the width of the interval you are willing to accept; plus or minus 5 percentage points is a reasonable starting point. The third is the expected error rate, your best prior estimate of how often the model fails. If you have no history, use 0.5, which maximizes the required sample and is therefore conservative.
For large populations the base count is:
n = Z^2 * p * (1 - p) / e^2
Z = 1.96 (95% confidence)
p = 0.10 (expected error rate)
e = 0.05 (margin of error)
n = 3.8416 * 0.10 * 0.90 / 0.0025 = 138.3 -> 139
That gives 139 samples. If you assume a 50 percent error rate instead, the same formula yields 385, which is why an honest prior estimate matters: it can cut your review bill by more than half. The formula itself is standard survey methodology, and it is the same arithmetic used in clinical and social research sample planning, where underpowered samples are a recognized methodological problem (Peters and Carman on sample size justification).
Populations of AI outputs are usually large (thousands per week), so the finite population correction is negligible. If you are reviewing a small batch, say 200 outputs from a pilot, adjust upward with the correction n_adj = n / (1 + (n - 1) / N). For n = 139 and N = 200 that yields about 82, which is the whole point: when the batch is small you review a large fraction of it anyway.
One practical warning: do not let a language model do this arithmetic unsupervised. A study of GenAI tools on sample size estimation found inconsistencies across repeated prompts with identical inputs and recommended that statisticians retain oversight (PharmaSUG paper on GenAI sample size estimation). Run the formula in code, or check the output by hand.



