pass@k tells you how often a model gets a task right if it is allowed k tries. It was popularized by the 2021 paper “Evaluating Large Language Models Trained on Code” by Chen and colleagues, which introduced the HumanEval coding benchmark and an unbiased way to estimate the metric: generate n attempts per task, count the c correct ones, and compute one minus the chance that a random set of k attempts contains no correct one.
pass@1 is the everyday number. It is the average success rate of a single attempt, so it reflects reliability. pass@4 or pass@10 reflect capability when retries are cheap, for example when a program can run tests to pick the working answer. pass@k is never lower than pass@1, and a large gap between the two means an agent can solve a problem but does not do so consistently.
Example
In Collinear AI’s CWE-bench v2, the leading model scores 67.8% pass@1 and 81.0% pass@4: it solves roughly two attempts in three, but at least one of four attempts succeeds on 81 of the 100 tasks. Our cheat sheet on pass@k and cost per rollout walks through this example step by step.
What to check
- Compare pass@1 with pass@1 and pass@k with pass@k, never across.
- Look at how many samples were used; small n makes the estimate noisy.
- Check who ran the evaluation and whether cost per attempt is reported.
See also our guide to how AI benchmarks work and why they saturate.

