ComfyUI Node
ThinkingLLM API (OpenAI Compatible)
Calls a server-approved OpenAI-compatible /chat/completions profile with optional image input; credentials and endpoint configuration stay server-side.
ThinkingLLM API (OpenAI Compatible)
- image
- RESPONSE
- RAW_TRACE
◄api_profileOpenRouter►
◄model_nameopenrouter/pareto-code►
◄system_promptYou are a helpful assistant.►
◄prompt►
◄max_tokens8192►
◄temperature0.60►
◄top_p0.95►
◄seed1►
◄enable_thinkingtrue►
◄thinking_budget8192►
◄stream_tokens_to_terminalfalse►
◄timeout_seconds300►
◄custom_model_name►
◄image_url►
◄extra_body_json►
CategoryThinkingLLM/API
Inputs (16)
| Name | Type | Default | Description |
|---|---|---|---|
| api_profile | COMBO | OpenRouter | Server-side profile binding endpoint, authentication, credential reference, capabilities, and safety limits. |
| model_name | COMBO | openrouter/pareto-code | Curated model for the selected profile. For anything not listed, leave this as-is and type the ID in custom_model_name below. |
| system_prompt | STRING | You are a helpful assistant. | — |
| prompt | STRING | — | |
| max_tokens | INT | 81921–65536 | — |
| temperature | FLOAT | 0.600–2 | — |
| top_p | FLOAT | 0.950–1 | — |
| seed | INT | 10–4294967295 | Sent only when the server profile enables send_seed. |
| enable_thinking | BOOLEAN | true | Used by profiles with thinking_mode='qwen'. |
| thinking_budget | INT | 81920–262144 | — |
| stream_tokens_to_terminal | BOOLEAN | false | Print a control-character-sanitized display copy to the ComfyUI terminal. |
| timeout_seconds | INT | 3001–3600 | Idle timeout: aborts only if the provider sends nothing for this many seconds. Long reasoning streams are allowed to continue. Server profile enforces max_timeout_seconds (300 by default; OrcaRouter 900). |
| custom_model_nameopt | STRING | Optional: exact model ID for anything not in the curated list. When set, it overrides model_name. | |
| imageopt | IMAGE | Single ComfyUI IMAGE. Encoded as PNG Base64 data URL and sent as OpenAI-style image_url content. | |
| image_urlopt | STRING | Alternative to IMAGE: public HTTPS image URL. Do not connect IMAGE at the same time. | |
| extra_body_jsonopt | STRING | Every top-level field must be explicitly allowlisted by the server profile. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| RESPONSE | STRING | — |
| RAW_TRACE | STRING | — |