Skip to content

List models

Lists the model IDs callable from this key's group; not billed and does not consume concurrency.

GET/v1/models

The list contains only models in the key's group and is returned in full in one response (no pagination). Keys from OpenAI-compatible groups get the OpenAI format; keys from Claude groups get the Anthropic format. data[].id is the only field you should rely on; other fields may be missing for some models, and unknown fields should be treated as optional.

For the public catalog and list prices without an API key, see GET /api/v1/models/pricing; fields are described in the Account and catalog API.

Headers

Authorization:optionalstring

Bearer sk-…; or send x-api-key: sk-… instead — either works

Returns

200Model list

object:optional"list"
data:optionalarray of object

Model

has_more:optionalboolean

Claude groups only, kept only for SDK compatibility: the list is never paginated

first_id:optionalstring

Claude groups only

last_id:optionalstring

Claude groups only

Errors

401Missing, invalid or expired API key (missing_api_key / invalid_api_key / api_key_expired)

Related