Default top_p lowered from 0.999 to 0.99 across all models
The Messages API default for top_p changed from 0.999 to 0.99 for every model, to improve answer quality and reduce tool errors. Set top_p explicitly to 0.999 to restore the old behaviour.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact No impactNo cost or timeline impact; at most a note that sampling defaults shifted slightly and prompt evals may move a fraction.
Engineer
What to change, what breaks, what to test Worth knowingIf you never set `top_p`, sampling is now 0.99 instead of 0.999 — set `top_p: 0.999` explicitly to restore the old behaviour. With extended thinking you can now use `top_p` between 0.95 and 1, but note that Opus 4.7 and later reject `temperature`, `top_p` and `top_k` outright.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is an internal sampling setting developers use, not an app feature.
Anthropic changed the server-side default of the nucleus sampling parameter top_p from 0.999 to 0.99 for all models. Requests that never set top_p therefore sample slightly differently than before; the stated motivation was better answers and fewer malformed tool calls.
The same note relaxed a restriction: with extended thinking enabled you may now set top_p between 0.95 and 1.
From Claude Opus 4.7 (April 2026) onwards, temperature, top_p and top_k are rejected outright, so this tuning surface no longer exists on newer models.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
top_p | changed | yes |