Skip to main content

List Models

Retrieve a list of available models for your application.

Endpoint

GET /v1/models

Request Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token with your API key

Example Request

curl -X GET 'https://api.getunbound.ai/v1/models' \
  -H "Authorization: Bearer YOUR_API_KEY"

Example Response

{
  "data": [
    {
      "id": "anthropic/claude-sonnet-4-20250514",
      "maxTokens": 8192,
      "contextWindow": 200000,
      "supportsImages": true,
      "supportsPromptCaching": true
    },
    {
      "id": "openai/gpt-4o",
      "maxTokens": 16384,
      "contextWindow": 128000,
      "supportsImages": true
    }
  ]
}
Model availability depends on your Unbound application configuration and routing rules. Use the /v1/models endpoint to get the current list of available models for your application.
You can also browse available models in the Unbound dashboard.