Nodes/ComfyUI-EACloudNodes/OpenRouter Models
ComfyUI Node

OpenRouter Models

Query and filter available models from OpenRouter's API. Filter by text, sort by name/pricing/context length, and view detailed model information.

By EnragedAntelope·Created 2 years ago·Updated 3 months ago· 9
OpenRouter Models
    • models
    • status
    api_key
    filter_textfree
    sort_byname
    sort_orderascending
    CategoryOpenRouter

    Inputs (4)

    NameTypeDefaultDescription
    api_keySTRING⚠️ Your OpenRouter API key from https://openrouter.ai/keys (Note: key will be visible - take care when sharing workflows)
    filter_textSTRINGfreeFilter models by text. Examples: 'free' for free models (pricing=$0), 'gpt' for GPT models, 'free claude' for free Claude models. Leave empty to show all models. Multiple terms are AND-ed together.
    sort_byCOMBOnameSort models by: 'name' (alphabetically), 'pricing' (cost per token), or 'context_length' (maximum input size in tokens).
    sort_orderCOMBOascendingSort order: 'ascending' (A-Z, low to high) or 'descending' (Z-A, high to low).

    Outputs (2)

    NameTypeDescription
    modelsSTRING
    statusSTRING