GET
/
api
/
ai
/
models
{
  "text": [
    {
      "provider": "openrouter",
      "configured": true,
      "models": [
        {
          "id": "<string>",
          "name": "<string>",
          "created": 123,
          "description": "<string>",
          "architecture": {
            "input_modalities": [
              "<string>"
            ],
            "output_modalities": [
              "<string>"
            ],
            "tokenizer": "<string>",
            "instruct_type": "<string>"
          },
          "topProvider": {
            "is_moderated": true,
            "context_length": 123,
            "max_completion_tokens": 123
          },
          "pricing": {
            "prompt": "<string>",
            "completion": "<string>",
            "image": "<string>",
            "request": "<string>",
            "web_search": "<string>",
            "internal_reasoning": "<string>",
            "input_cache_read": "<string>",
            "input_cache_write": "<string>"
          },
          "context_length": 123,
          "max_completion_tokens": 123,
          "per_request_limits": {},
          "supported_parameters": [
            "<string>"
          ]
        }
      ]
    }
  ],
  "image": [
    {
      "provider": "openrouter",
      "configured": true,
      "models": [
        {
          "id": "<string>",
          "name": "<string>",
          "created": 123,
          "description": "<string>",
          "architecture": {
            "input_modalities": [
              "<string>"
            ],
            "output_modalities": [
              "<string>"
            ],
            "tokenizer": "<string>",
            "instruct_type": "<string>"
          },
          "topProvider": {
            "is_moderated": true,
            "context_length": 123,
            "max_completion_tokens": 123
          },
          "pricing": {
            "prompt": "<string>",
            "completion": "<string>",
            "image": "<string>",
            "request": "<string>",
            "web_search": "<string>",
            "internal_reasoning": "<string>",
            "input_cache_read": "<string>",
            "input_cache_write": "<string>"
          },
          "context_length": 123,
          "max_completion_tokens": 123,
          "per_request_limits": {},
          "supported_parameters": [
            "<string>"
          ]
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

List of available models categorized by type

text
object[]
image
object[]