v1

latestOpenAPI 3.0.32026-07-175615.8 KB

List available Claude models

Returns a list of Claude models that can be used with the Messages API.

get/v1/models

Response

List of available models

first_idstring

ID of the first model in the list

has_moreboolean

Whether there are more models available

last_idstring

ID of the last model in the list

Example response

{
  "data": [
    {
      "created_at": "2025-02-19T00:00:00Z",
      "display_name": "Claude 3.7 Sonnet",
      "id": "claude-3-7-sonnet-20250219",
      "type": "model"
    }
  ]
}