Page cover

Models

Get Models

get

Get all models according to OpenRouter provider spec.

Responses
200

Successful Response

application/json
get
/api/v1/models
GET /api/v1/models HTTP/1.1
Host: 
Accept: */*
{
  "data": [
    {
      "id": "text",
      "hugging_face_id": "text",
      "name": "text",
      "created": 1,
      "input_modalities": [
        "text"
      ],
      "output_modalities": [
        "text"
      ],
      "quantization": "text",
      "context_length": 1,
      "max_output_length": 1,
      "pricing": {
        "prompt": "text",
        "completion": "text",
        "image": "text",
        "request": "text",
        "input_cache_reads": "text",
        "input_cache_writes": "text"
      },
      "supported_sampling_parameters": [
        "text"
      ],
      "supported_features": [
        "text"
      ],
      "description": "text",
      "openrouter": {
        "slug": "text"
      },
      "datacenters": [
        {
          "country_code": "text"
        }
      ]
    }
  ]
}

Last updated