Learn
Practice
Newsletter
Resources
Resume
New
F
Toggle theme
0
F
Toggle theme
0
Toggle menu
Understanding LLM Parameters
Last Updated: March 18, 2026
Ashish Pratap Singh
11 min read
Get Premium
Subscribe to unlock full access to all premium content
Subscribe Now
Reading Progress
0%
On this page
How LLMs Generate Text
Temperature: The Creativity Dial
Top-p (Nucleus Sampling): An Alternative to Temper...
Top K: A Hard Cutoff for Token Selection
Seed: Making Outputs Reproducible
Max Tokens: Controlling Output Length
Stop Sequences: Controlling Where Generation Ends...
Frequency and Presence Penalties: Reducing Repetit...
Logprobs: Peeking Inside the Model's Confidence...
Token Counting and Cost Estimation
Parameter Cheat Sheet
Putting It All Together: The Parameter Playground...
See What's New
Aa
Notes
Star
Complete
Ask AI
Making your first LL...
Notes
Star
Complete
Ask AI
Structured Output fr...