Nodes/comfyui-llamacpp/llama.cpp Model Info
ComfyUI Node

llama.cpp Model Info

Reads the active model identity, context length, and server metadata from llama-server.

By Setmaster·Created 7 months ago·Updated about a month ago· 4
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)

NameTypeDefaultDescription
server_urloptSTRINGllama-server URL, or empty for the managed runtime.
triggeropt*Optional dependency input used to refresh model metadata.
modeloptSTRINGOptional exact router model ID.
api_key_envoptSTRINGLLAMACPP_API_KEYEnvironment variable containing the API key.
verify_tlsoptBOOLEANtrueVerify HTTPS certificates.
request_timeoutoptINT301–3600Server metadata deadline in seconds.
connectionoptLLAMACPP_CONNECTIONOptional reusable connection profile.

Outputs (3)

NameTypeDescription
model_nameSTRINGActive model alias, path, or router identity.
context_lengthINTContext length reported by llama-server.
info_jsonSTRINGComplete server properties as formatted JSON.