Claude Platform Docs

Models

List Models
client.Beta.Models.List(ctx, params) (*Page[BetaModelInfo], error)
GET/v1/models
Get a Model
client.Beta.Models.Get(ctx, modelID, query) (*BetaModelInfo, error)
GET/v1/models/{model_id}
Models
type BetaCapabilitySupport struct{…}

Indicates whether a capability is supported.

Supported bool

Whether this capability is supported by the model.

type BetaContextManagementCapability struct{…}

Context management capability details.

ClearThinking20251015 BetaCapabilitySupport

Indicates whether a capability is supported.

Supported bool

Whether this capability is supported by the model.

ClearToolUses20250919 BetaCapabilitySupport

Indicates whether a capability is supported.

Supported bool

Whether this capability is supported by the model.

Compact20260112 BetaCapabilitySupport

Indicates whether a capability is supported.

Supported bool

Whether this capability is supported by the model.

Supported bool

Whether this capability is supported by the model.

type BetaEffortCapability struct{…}

Effort (reasoning_effort) capability details.

Whether the model supports high effort level.

Supported bool

Whether this capability is supported by the model.

Whether the model supports low effort level.

Supported bool

Whether this capability is supported by the model.

Whether the model supports max effort level.

Supported bool

Whether this capability is supported by the model.

Whether the model supports medium effort level.

Supported bool

Whether this capability is supported by the model.

Supported bool

Whether this capability is supported by the model.

Indicates whether a capability is supported.

Supported bool

Whether this capability is supported by the model.

type BetaModelCapabilities struct{…}

Model capability information.

type BetaModelInfo struct{…}
ID string

Unique model identifier.

AllowedFallbackModels []string

Model IDs this model accepts as fallbacks[i].model on the Messages API. An empty list means the fallbacks parameter is not supported for this model as primary.

Model capability information.

CreatedAt Time

RFC 3339 datetime string representing the time at which the model was released. May be set to an epoch value if the release date is unknown.

formatdate-time
DisplayName string

A human-readable name for the model.

MaxInputTokens int64

Maximum input context window size in tokens for this model.

MaxTokens int64

Maximum value for the max_tokens parameter when using this model.

Type Model

Object type.

For Models, this is always "model".

defaultmodel
type BetaThinkingCapability struct{…}

Thinking capability details.

Supported bool

Whether this capability is supported by the model.

Supported thinking type configurations.

Whether the model supports thinking with type 'adaptive' (auto).

Supported bool

Whether this capability is supported by the model.

Whether the model supports thinking with type 'enabled'.

Supported bool

Whether this capability is supported by the model.

type BetaThinkingTypes struct{…}

Supported thinking type configurations.

Whether the model supports thinking with type 'adaptive' (auto).

Supported bool

Whether this capability is supported by the model.

Whether the model supports thinking with type 'enabled'.

Supported bool

Whether this capability is supported by the model.