RunInfraby RightNow
  • CatalogNew
  • Pricing
  • Research
  • Contact
DashboardSign inGet started
Home/Glossary/Sampling parameters

Latency

Sampling parameters

What it is

Sampling parameters reshape the next-token distribution after model logits are computed. Temperature changes score sharpness, while nucleus sampling restricts choices to a selected probability mass.

Why it moves cost and latency

These settings do not change the transformer's forward-pass work for a fixed shape. They can still change total latency through output length and stopping behavior.

What it looks like in practice

Benchmarks disclose sampling and stopping settings alongside prompt and output lengths. Teams attribute speed differences to measured work instead of assuming a parameter changes model computation.

Related terms

  • Inter-token latency->
  • Guided decoding->
  • Streaming responses->

Questions this definition answers

What does Sampling parameters mean in inference serving?

Sampling parameters reshape the next-token distribution after model logits are computed. Temperature changes score sharpness, while nucleus sampling restricts choices to a selected probability mass. Benchmarks disclose sampling and stopping settings alongside prompt and output lengths. Teams attribute speed differences to measured work instead of assuming a parameter changes model computation.

Why can Sampling parameters move cost or latency?

These settings do not change the transformer's forward-pass work for a fixed shape. They can still change total latency through output length and stopping behavior.

If you need custom optimization for a specific model, describe what you need

Describe the model and hardware you want optimized...
ModelsAuto engineAuto GPU
End-to-end encryption
Isolated GPU infrastructure
No training on your data
SOC 2 Type II
RunInfraby RightNow

© 2026 RunInfra. All rights reserved.

System status
Pipeline BuilderModelsCost CalculatorPricingStartupsBenchmarksDocsResearchNewsContact
Backed by
YCombinator
AICPA Type II
SOC 2
NVIDIA Inception ProgramNVIDIA Inception Program
Ask AI about RunInfra
Part of RightNow
SecurityDPAAUPCookiesTermsPrivacy