ComfyUI Node
llama.cpp Model Info
Reads the active model identity, context length, and server metadata from llama-server.
llama.cpp Model Info
- trigger
- connection
- model_name
- context_length
- info_json
◄server_url►
◄model►
◄api_key_envLLAMACPP_API_KEY►
◄verify_tlstrue►
◄request_timeout30►
CategoryLlamaCpp
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| server_urlopt | STRING | llama-server URL, or empty for the managed runtime. | |
| triggeropt | * | Optional dependency input used to refresh model metadata. | |
| modelopt | STRING | Optional exact router model ID. | |
| api_key_envopt | STRING | LLAMACPP_API_KEY | Environment variable containing the API key. |
| verify_tlsopt | BOOLEAN | true | Verify HTTPS certificates. |
| request_timeoutopt | INT | 301–3600 | Server metadata deadline in seconds. |
| connectionopt | LLAMACPP_CONNECTION | Optional reusable connection profile. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| model_name | STRING | Active model alias, path, or router identity. |
| context_length | INT | Context length reported by llama-server. |
| info_json | STRING | Complete server properties as formatted JSON. |