Claude Platform Docs

模型

列出模型
ModelListPage Models.List(parameters, cancellationToken = default)
GET/v1/models

列出可用模型。

获取模型
ModelInfo Models.Retrieve(parameters, cancellationToken = default)
GET/v1/models/{model_id}

获取特定模型。

Models
class CapabilitySupport { Supported; }

Indicates whether a capability is supported.

required bool Supported

Whether this capability is supported by the model.

class ContextManagementCapability { ClearThinking20251015; ClearToolUses20250919; Compact20260112; Supported; }

Context management capability details.

required CapabilitySupport? ClearThinking20251015

Indicates whether a capability is supported.

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport? ClearToolUses20250919

Indicates whether a capability is supported.

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport? Compact20260112

Indicates whether a capability is supported.

required bool Supported

Whether this capability is supported by the model.

required bool Supported

Whether this capability is supported by the model.

class EffortCapability { High; Low; Max; /* 3 more */ }

Effort (reasoning_effort) capability details.

required CapabilitySupport High

Whether the model supports high effort level.

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport Low

Whether the model supports low effort level.

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport Max

Whether the model supports max effort level.

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport Medium

Whether the model supports medium effort level.

required bool Supported

Whether this capability is supported by the model.

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport? Xhigh

Indicates whether a capability is supported.

required bool Supported

Whether this capability is supported by the model.

class ModelCapabilities { Batch; Citations; CodeExecution; /* 6 more */ }

Model capability information.

class ModelInfo { Type = "model"; ID; Capabilities; /* 4 more */ }
JsonElement Type = "model"

Object type.

For Models, this is always "model".

required string ID

Unique model identifier.

required ModelCapabilities? Capabilities

Model capability information.

required DateTimeOffset CreatedAt

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
required string DisplayName

A human-readable name for the model.

required long? MaxInputTokens

Maximum input context window size in tokens for this model.

required long? MaxTokens

Maximum value for the max_tokens parameter when using this model.

class ThinkingCapability { Supported; Types; }

Thinking capability details.

required bool Supported

Whether this capability is supported by the model.

required ThinkingTypes Types

Supported thinking type configurations.

required CapabilitySupport Adaptive

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

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport Enabled

Whether the model supports thinking with type 'enabled'.

required bool Supported

Whether this capability is supported by the model.

class ThinkingTypes { Adaptive; Enabled; }

Supported thinking type configurations.

required CapabilitySupport Adaptive

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

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport Enabled

Whether the model supports thinking with type 'enabled'.

required bool Supported

Whether this capability is supported by the model.