LLM GatewayModels

List_models

GET/v1/models

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/models"
{  "data": [    {      "can_reason": true,      "context_window": 1000000,      "created": 0,      "default_max_tokens": 126000,      "default_reasoning_effort": "string",      "id": "claude-opus-4-7",      "object": "model",      "owned_by": "anthropic",      "pricing": {        "cache_read_per_mtok": 0.5,        "cache_write_per_mtok": 6.25,        "currency": "USD",        "input_per_mtok": 5,        "output_per_mtok": 25      },      "reasoning_levels": [        "string"      ],      "supports_attachments": true    }  ],  "object": "list"}
{  "error": {    "message": "model not supported: foo",    "type": "invalid_request_error"  }}
{  "error": {    "message": "model not supported: foo",    "type": "invalid_request_error"  }}