temperature | number | no | 0.7 | Sampling temperature · Range: 0 – 2 |
top_p | number | no | 1.0 | Nucleus sampling · Range: 0 – 1 |
max_tokens | number | no | 4096 | Max output tokens · Range: 1 – 65536 |
frequency_penalty | number | no | 0 | Penalty for repeated tokens. >0 reduces repetition, <0 encourages it. · Range: -2 – 2 |
presence_penalty | number | no | 0 | Penalty for new vs. seen tokens. >0 encourages new topics, <0 encourages staying on topic. · Range: -2 – 2 |
stop | string | no | - | Comma-separated stop sequences |
response_format | enum | no | - | Return the output as a valid JSON object (JSON mode). Describe the fields you want in your prompt. |
web_search_linkup | boolean | no | false | Optional web search powered by Linkup. When enabled, recent web sources are retrieved using your latest user message as the query and provided to the model as additional context. Adds $0.013 per call when invoked on top of the model’s normal token cost. Disabled by default. |
disable_formatting | boolean | no | false | When enabled, the gateway will not append the “Sources” footer to assistant responses that used Linkup web search. Useful when the model output is piped to another system that expects no decoration. |