Claude Platform Docs

Models

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

Indicates whether a capability is supported.

Supported bool

Whether this capability is supported by the model.

type ContextManagementCapability struct{…}

Context management capability details.

ClearThinking20251015 CapabilitySupport

Indicates whether a capability is supported.

Supported bool

Whether this capability is supported by the model.

ClearToolUses20250919 CapabilitySupport

Indicates whether a capability is supported.

Supported bool

Whether this capability is supported by the model.

Compact20260112 CapabilitySupport

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 EffortCapability 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 ModelCapabilities struct{…}

Model capability information.

type ModelInfo struct{…}
ID string

Unique model identifier.

Capabilities ModelCapabilities

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 ThinkingCapability 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 ThinkingTypes 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.