Model Parameters

Plain-English reference for generation parameters — temperature, top-p, max tokens, penalties, seed, context and keep-alive — with recommended values.

Model parameters (often called valves in the interface) tune how a model generates answers. They appear in chat controls, templates, custom models and personal defaults. Your exact list depends on the selected model.

The main five

Temperature

How adventurous the word choices are.

ValueCharacterUse for
0.1–0.3Deterministic, consistentExtraction, classification, factual Q&A, code
0.4–0.7BalancedGeneral business writing, summaries
0.8–1.2Creative, variedBrainstorming, marketing copy, fiction

Rule of thumb: anything that must be right runs low; anything that must be fresh runs high. Change temperature or top-p, not both.

Top-P (nucleus sampling)

Alternative randomness control — considers the top P of probability mass. 0.9 is a common default; lower = tighter. Adjust as an alternative to temperature.

Max tokens

The ceiling on answer length (≈ 0.75 words per token in English). Set to control verbosity and cost; leave unset for the model's natural limit.

Frequency & Presence penalty

Discourage repeating the same words (frequency) or topics (presence). Useful when a model starts echoing. Small values (0.1–0.5) are enough; high values degrade quality.

Stop

Character sequences that end generation immediately — handy for structured formats.

Reproducibility and context

ParameterMeaningNotes
SeedFixed randomness start. Same seed + same input ≈ same output.Fix it when reproducing a good answer; randomise for variety.
Context lengthWorking memory of the conversation, in tokens.Raising it increases memory use and latency; if answers start "forgetting", check it first.
Keep AliveHow long a model stays loaded in memory after use.Higher = faster first reply, more reserved GPU. Busy shared systems leave this short.
Num batch / threadsInternal throughput controls for local models.Defaults are tuned; adjust only with your admin.

Reasoning display

ParameterEffect
Reasoning / Show thinkingDisplays the model's intermediate reasoning where the model supports it. Great for auditing; costs extra tokens.
TaskSettings
Document extraction/classificationTemperature 0.1, top-p default
Factual Q&A over knowledge basesTemperature 0.2
Emails and business documentsTemperature 0.5
Brainstorming/marketing copyTemperature 0.9
Code generationTemperature 0.2–0.4
Debugging/explaining codeTemperature 0.4–0.6

Note:

Parameters change behaviour, not knowledge. If a model lacks your facts, fix it with a knowledge base or fine-tuning — no parameter substitutes for the right information.