Skip to main content

Fetch Models

GET 

/v1/models

Fetch all available models or use one or more filters

Request

Query Parameters

    type string

    Possible values: [llm, vision, embedding, image, voice, moderation, coding, free]

    Filter by type of model.

    Examples:

    Filter by type 'llm' language models

    Example: llm

    subtype string

    Possible values: [chat, fill-mask, question-answering, tts, stt, multimodal]

    Filter by subtype of model.

    Examples:

    Filter by subtype 'chat'

    Example: chat

    provider string

    Filter by provider of the model.

    Examples:

    Filter by provider 'openrouter'

    Example: openrouter

    combination string

    Filter by a combination of provider and subtype.

    Examples:

    Filter by provider 'openrouter' and subtype 'chat'

    Example: provider=openrouter&subtype=chat

    enabled integer

    Possible values: [1, 0]

    only show enabled chat models

    Examples:

    only show enabled chat models

    Example: enabled=1&subtype=chat

    voices parameter

    Retrieve a complete list of available voices. just use /v1/models?voices do not include any other value

    Examples:

    Display list of voices for tts voice models, just use /v1/models?voices'

    Example: voices

    restrictions string

    Retrieve a complete list of available Country Restrictions. just use /v1/models?restrictions do not include any other value

    Examples:

    Display list of different provider supported countries lists, just use /v1/models?restrictions'

    Example: restrictions

Responses

Models or voices list depending on query parameter used.

Schema
    oneOf
    object string

    Type of the list

    data object[]
  • Array [
  • enabled booleanrequired

    Whether Model is enabled

    type stringrequired

    Possible values: [llm, vision, embedding, image, voice, moderation, code]

    Type of the model

    subtype string

    Subtype of the model

    provider stringrequired

    Provider of the model

    model stringrequired

    The base model name

    route stringrequired

    Provider specific identifier

    description string

    Description of the Model

    max_tokens integerrequired

    Max cumulative tokens supported by the model

    max_response_tokens integerrequired

    Max tokens that this model can return in the response

    req_price string

    Price for request - per unit. If not present, price only provided by the provider in query response

    res_price string

    Price for response - per unit. If not present, price only provided by the provider in query response

    price_unit string

    Price unit, the number of price_type per price

    price_type string

    Possible values: [token, char, request, tokens, image, minute, characters, character, provider]

    Type of the price

    avg_cost string

    Average cost of the model, tracking actual usage. This is the average cost per 1000 characters

    latency stringrequired

    Average latency by combined prompt/response size, in the format: 2000/4000/8000/16000/32000/Average_Latency_per_1000_characters

    available booleanrequired

    Availability status of the model

    query_count stringrequired

    Total count of queries for this model

  • ]
Loading...