Nodes/comfyui-llamacpp/llama.cpp Connection
ComfyUI Node

llama.cpp Connection

Creates a reusable llama-server connection profile while keeping API-key values out of saved workflows.

By Setmaster·Created 7 months ago·Updated about a month ago· 4
llama.cpp Connection
    • connection
    server_url
    model
    api_key_envLLAMACPP_API_KEY
    verify_tlstrue
    request_timeout300
    CategoryLlamaCpp

    Inputs (5)

    NameTypeDefaultDescription
    server_urlSTRINGLocal or remote llama-server URL, or empty for the managed server. Attached endpoints are never implicitly stopped.
    modeloptSTRINGOptional default router model ID.
    api_key_envoptSTRINGLLAMACPP_API_KEYEnvironment variable containing the API key.
    verify_tlsoptBOOLEANtrueVerify HTTPS certificates.
    request_timeoutoptINT3001–86400Overall request deadline in seconds.

    Outputs (1)

    NameTypeDescription
    connectionLLAMACPP_CONNECTIONReusable secret-free llama-server connection profile.