temperaturedefault: 1
Controls how varied the answer is: higher values make the output more random, lower values more predictable.
top_pdefault: 1
Nucleus sampling: only the most probable tokens whose probabilities add up to P are considered.
max_tokens
Upper limit on the number of tokens the model may generate in its answer.
presence_penaltydefault: 0
Penalizes tokens that already appeared in the text, nudging the model toward new topics.
frequency_penaltydefault: 0
Penalizes tokens in proportion to how often they already appeared — fights repetition.
stop
List of stop strings: generation halts as soon as the model produces any of them.
seed
Pins randomness: repeating a request with the same seed and parameters returns the same result.
response_format
Response format: plain text or strict JSON following a given schema.
streamdefault: false
Deliver the answer as a stream while it is generated instead of one chunk at the end.