Skip to main content
GET
Get Models

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-provider-route
string
default:cost

Upstream routing preference: cost, stable, or fast.

Query Parameters

type
string

Filter by model type, or omit to include all types. Supports text/image/video/music/embedding, ignoring case and surrounding whitespace. Separate multiple types with commas or repeat type to combine them with OR. Unknown or empty values return 400.

Minimum string length: 1
Examples:

"text"

"image"

"video"

"music"

"embedding"

"image,video"

Response

The currently callable model catalog. Example capability values illustrate the response structure; use the values returned by the API.

HTTP 200 response for GET /anthropic/v1/models. GET /v1/models with anthropic-version uses the same structure. Includes the same model catalog as the OpenAI list, with Anthropic cursor pagination.

data
object[]
required
first_id
string | null
required

First model ID on the current page, or null when the page is empty.

has_more
boolean
required

Whether more pages are available. To continue forward, use last_id as the next after_id. When using before_id, continue in the corresponding direction.

last_id
string | null
required

Last model ID on the current page, or null when the page is empty.