Top-p

A setting that limits the model to the smallest set of likely next tokens whose chances add up to p.

Top-p, common card #234 in The Glitch AI glossary: A setting that limits the model to the smallest set of likely next tokens whose chances add up to p.
GLS 234 · common

Also called: Nucleus sampling.

For: Builders

Why it matters

Like temperature, it trades variety for predictability.

In practice

At top-p 0.9 the model ignores the long tail of unlikely words.

Watch for

Change temperature or top-p, not both, so you know what helped.

Related terms

Temperature · Seed

Sources

Definition updated 2026-10-29.

The Ultimate AI Glossary (2027): every term