Response
200 - application/json
Successful Response
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "created": 123,
      "input_modalities": [
        "<string>"
      ],
      "output_modalities": [
        "<string>"
      ],
      "quantization": "int4",
      "context_length": 123,
      "max_output_length": 123,
      "pricing": {
        "prompt": "<string>",
        "completion": "<string>",
        "image": "<string>",
        "request": "<string>",
        "input_cache_reads": "<string>",
        "input_cache_writes": "<string>"
      },
      "supported_sampling_parameters": [
        "temperature"
      ],
      "supported_features": [
        "tools"
      ],
      "datacenters": [
        {
          "country_code": "<string>"
        }
      ]
    }
  ]
}Returns a list of models that are available to be used with OpenRouter.
This API is available without authentication.
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "created": 123,
      "input_modalities": [
        "<string>"
      ],
      "output_modalities": [
        "<string>"
      ],
      "quantization": "int4",
      "context_length": 123,
      "max_output_length": 123,
      "pricing": {
        "prompt": "<string>",
        "completion": "<string>",
        "image": "<string>",
        "request": "<string>",
        "input_cache_reads": "<string>",
        "input_cache_writes": "<string>"
      },
      "supported_sampling_parameters": [
        "temperature"
      ],
      "supported_features": [
        "tools"
      ],
      "datacenters": [
        {
          "country_code": "<string>"
        }
      ]
    }
  ]
}Successful Response
Show child attributes
Was this page helpful?