List models

Returns the models a chat can run on. Pass a model's id as model when you create a chat or reply to one.

GET https://chat.betterstack.com/api/v2/chats/models

Query parameters

team_name
string

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "id": "deepseek/deepseek-v4.1-flash",
      "type": "model",
      "attributes": {
        "name": "DeepSeek V4.1 Flash",
        "provider": "DeepSeek",
        "tier": "fast",
        "us_hosted": true,
        "capabilities": {
          "images": true
        },
        "input_usd_per_million_tokens": 0.39,
        "output_usd_per_million_tokens": 1.56,
        "default": true
      }
    },
    {
      "id": "openai/gpt-5.6-sol",
      "type": "model",
      "attributes": {
        "name": "GPT-5.6 Sol",
        "provider": "OpenAI",
        "tier": "advanced",
        "us_hosted": false,
        "capabilities": {
          "images": true
        },
        "input_usd_per_million_tokens": 2.4,
        "output_usd_per_million_tokens": 12.0,
        "default": false
      }
    },
    {
      "id": "anthropic/claude-opus-5.5",
      "type": "model",
      "attributes": {
        "name": "Claude Opus 5.5",
        "provider": "Anthropic",
        "tier": "frontier",
        "us_hosted": false,
        "capabilities": {
          "images": true
        },
        "input_usd_per_million_tokens": 4.4,
        "output_usd_per_million_tokens": 22.0,
        "default": false
      }
    }
  ]
}
401

Response body

{
  "errors": "Invalid authentication"
}

Example cURL

Example
curl --request GET \
  --url https://chat.betterstack.com/api/v2/chats/models \
  --header "Authorization: Bearer $TOKEN"