temperature | number | no | 0.7 | Sampling temperature. · Range: 0 – 2 |
top_p | number | no | 0.9 | Nucleus sampling. · Range: 0 – 1 |
max_tokens | number | no | 8192 | Max output tokens. · Range: 1 – 65536 |
enable_thinking | boolean | no | true | Reason step-by-step before answering. |
thinking_budget | number | no | 32768 | Tokens reserved for thinking. · Range: 1 – 393216 |
enable_search | boolean | no | false | Allow real-time web search via DashScope. |
vl_high_resolution_images | boolean | no | true | Vision: process images at high resolution. Disable for cheaper/faster vision. |
max_pixels | number | no | 2621440 | Vision pixel cap. Only when vl_high_resolution_images=false. · Range: 4096 – 16777216 |
tool_web_search | boolean | no | true | Enable the web_search tool. |
tool_web_extractor | boolean | no | true | Enable the web_extractor tool. Requires tool_web_search=true and enable_thinking=true. |
tool_code_interpreter | boolean | no | true | Enable the python code-interpreter tool. Requires enable_thinking=true. |
tool_web_search_image | boolean | no | true | Enable the image-results web search tool. |
tool_image_search | boolean | no | true | Enable the reverse image-search tool (find similar images). |
video_fps | number | no | 2 | Frames per second extracted from video input. · Range: 0.1 – 10 |
treat_images_as_video | boolean | no | false | Pack multi-image inputs as a single video sequence (cheaper than separate image inputs). |
disable_formatting | boolean | no | false | Return raw upstream response. |