Claude Platform Docs

模型

列出模型
GET/v1/models

列出可用的模型。

取得模型
GET/v1/models/{model_id}

取得特定模型。

Models
CapabilitySupport object{ supported }

Indicates whether a capability is supported.

supported: boolean

Whether this capability is supported by the model.

ContextManagementCapability object{ clear_thinking_20251015, clear_tool_uses_20250919, compact_20260112, supported }

Context management capability details.

clear_thinking_20251015: CapabilitySupport { supported } or null

Whether the clear_thinking_20251015 strategy is supported.

supported: boolean

Whether this capability is supported by the model.

clear_tool_uses_20250919: CapabilitySupport { supported } or null

Whether the clear_tool_uses_20250919 strategy is supported.

supported: boolean

Whether this capability is supported by the model.

compact_20260112: CapabilitySupport { supported } or null

Whether the compact_20260112 strategy is supported.

supported: boolean

Whether this capability is supported by the model.

supported: boolean

Whether this capability is supported by the model.

EffortCapability object{ high, low, max, 3 more }

Effort (reasoning_effort) capability details.

ModelCapabilities object{ batch, citations, code_execution, 6 more }

Model capability information.

ModelInfo object{ type: "model", id, capabilities, 5 more }
ModelLine = "haiku" or "sonnet" or "opus" or 2 more

A Claude model line, such as opus or sonnet. More lines may be added as new values.

One of the following:
"haiku"
"sonnet"
"opus"
"fable"
"mythos"
ThinkingCapability object{ supported, types }

Thinking capability details.

supported: boolean

Whether this capability is supported by the model.

types: ThinkingTypes { adaptive, enabled }

Supported thinking type configurations.

adaptive: CapabilitySupport { supported }

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

supported: boolean

Whether this capability is supported by the model.

enabled: CapabilitySupport { supported }

Whether the model supports thinking with type 'enabled'.

supported: boolean

Whether this capability is supported by the model.

ThinkingTypes object{ adaptive, enabled }

Supported thinking type configurations.

adaptive: CapabilitySupport { supported }

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

supported: boolean

Whether this capability is supported by the model.

enabled: CapabilitySupport { supported }

Whether the model supports thinking with type 'enabled'.

supported: boolean

Whether this capability is supported by the model.