Tapix AI

Glossary / Foundations

Top-p (nucleus sampling)

Top-p restricts generation to the smallest set of tokens whose combined probability exceeds p, so 0.9 means the model only considers the most likely 90% of options.

Definition

Top-p restricts generation to the smallest set of tokens whose combined probability exceeds p, so 0.9 means the model only considers the most likely 90% of options.

What it changes in your bill

Like temperature, top-p does not change the per-token price, but it changes how often you retry or post-process an answer, which does show up on the bill.

How to check it yourself

If you need deterministic output, use temperature 0 with a fixed seed where supported, and count retries per hundred calls.

Rule of thumb: compare providers on cost per completed task, not on the headline price per million tokens. Retries, truncation and verbosity all live in the difference.

Related terms

Try it on Tapix AI

Tapix AI exposes 100+ models behind one OpenAI-compatible endpoint. Prepaid from $1, no monthly minimum, live prices per model.

Get a key and run one real call See live prices
Last updated: 2026-11-28最后更新:2026-11-28