Model Catalog V2

List models with filters

Changed on

Returns paginated model list with filtering, sorting, and search capabilities. No authentication required. Page size is 20.

get/v2/models

Request

  • Base URL
    https://ai.liara.ir
  • URL
    https://ai.liara.ir/v2/models
  • Auth
    none declared

Query parameters

searchstring

Search models by name.

sort'newest' | 'price_input_low' | 'price_input_high' | 'context_length'

Sort order

string
OR
string[]

Filter by input modalities

string
OR
string[]

Filter by output modalities

context_length_mininteger

Minimum context length

context_length_maxinteger

Maximum context length

input_price_minnumber

Minimum input price (per token, USD)

input_price_maxnumber

Maximum input price (per token, USD)

string
OR
string[]

Filter by model vendor, the first part of the model ID (for example anthropic or openai).

string
OR
string[]

Filter by supported parameters

pageinteger

Page number (1-based)

Response

Filtered and paginated model list

pageinteger

Current page number

limitinteger

Page size (always 20)

totalinteger

Total number of matching models

Changes

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property // from the response with the status