LLM Gateway
V1

Models

List all available models

GET
/v1/models

Response Body

List of available models

TypeScript Definitions

Use the response body type in TypeScript.

dataRequiredarray<object>
curl -X GET "https://api.llmgateway.io/v1/models"
{
  "data": [
    {
      "id": "string",
      "name": "string",
      "created": 0,
      "description": "string",
      "architecture": {
        "input_modalities": [
          "text"
        ],
        "output_modalities": [
          "text"
        ],
        "tokenizer": "string"
      },
      "top_provider": {
        "is_moderated": true
      },
      "providers": [
        {
          "providerId": "string",
          "modelName": "string",
          "pricing": {
            "prompt": "string",
            "completion": "string",
            "image": "string"
          }
        }
      ],
      "pricing": {
        "prompt": "string",
        "completion": "string",
        "image": "string",
        "request": "string",
        "input_cache_read": "string",
        "input_cache_write": "string",
        "web_search": "string",
        "internal_reasoning": "string"
      },
      "context_length": 0,
      "hugging_face_id": "string",
      "per_request_limits": {
        "property1": "string",
        "property2": "string"
      },
      "supported_parameters": [
        "string"
      ]
    }
  ]
}