Claude Platform Docs

Model

Daftar Model
ModelListPage Models.List(parameters, cancellationToken = default)
GET/v1/models

Daftar model yang tersedia.

Dapatkan Model
ModelInfo Models.Retrieve(parameters, cancellationToken = default)
GET/v1/models/{model_id}

Dapatkan model tertentu.

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

Whether the clear_thinking_20251015 strategy is supported.

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport? ClearToolUses20250919

Whether the clear_tool_uses_20250919 strategy is supported.

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport? Compact20260112

Whether the compact_20260112 strategy 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

Whether the model supports xhigh effort level.

required bool Supported

Whether this capability is supported by the model.

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

Model capability information.

class ModelInfo { Type = "model"; ID; Capabilities; /* 8 more */ }
enum ModelLine

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

Haiku("haiku")
Sonnet("sonnet")
Opus("opus")
Fable("fable")
Mythos("mythos")
class ServerToolsCapability { CodeExecution; Supported; WebSearch; }

Web search and code execution tool support, with one entry per tool.

required CapabilitySupport CodeExecution

Whether the model supports the code execution tool: true when the model supports at least one version of the tool, not necessarily every version.

required bool Supported

Whether this capability is supported by the model.

required bool Supported

Whether this capability is supported by the 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 accepts thinking with type 'adaptive' (the model decides whether and how much to think).

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport BetweenTools

Whether the model accepts thinking with type 'between_tools' (thinking turned off, and any short progress updates the model writes between tool calls come back as thinking blocks). False exactly when a request that sends it gets a 400 from this model. A request that sends 'between_tools' can still be rejected for another reason, such as an effort level the model does not allow with thinking off.

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport Disabled

Whether the model accepts thinking with type 'disabled' (thinking turned off). False exactly when a request that sends it gets a 400 from this model. True on a model that does not support thinking. A request that sends 'disabled' can still be rejected for another reason, such as an effort level the model does not allow with thinking off.

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport Enabled

Whether the model accepts thinking with type 'enabled' (extended thinking with a caller-set budget_tokens).

required bool Supported

Whether this capability is supported by the model.

class ThinkingTypes { Adaptive; BetweenTools; Disabled; Enabled; }

Which thinking.type values the model accepts on requests. Read each key on its own: for example, enabled can be false while disabled is true.

required CapabilitySupport Adaptive

Whether the model accepts thinking with type 'adaptive' (the model decides whether and how much to think).

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport BetweenTools

Whether the model accepts thinking with type 'between_tools' (thinking turned off, and any short progress updates the model writes between tool calls come back as thinking blocks). False exactly when a request that sends it gets a 400 from this model. A request that sends 'between_tools' can still be rejected for another reason, such as an effort level the model does not allow with thinking off.

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport Disabled

Whether the model accepts thinking with type 'disabled' (thinking turned off). False exactly when a request that sends it gets a 400 from this model. True on a model that does not support thinking. A request that sends 'disabled' can still be rejected for another reason, such as an effort level the model does not allow with thinking off.

required bool Supported

Whether this capability is supported by the model.

required CapabilitySupport Enabled

Whether the model accepts thinking with type 'enabled' (extended thinking with a caller-set budget_tokens).

required bool Supported

Whether this capability is supported by the model.