Claude Platform Docs

Models

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

List available models.

Get a Model
BetaModelInfo Beta.Models.Retrieve(parameters, cancellationToken = default)
GET/v1/models/{model_id}

Get a specific model.

Models
class BetaCapabilitySupport { Supported; }

Indicates whether a capability is supported.

required bool Supported

Whether this capability is supported by the model.

class BetaCompactionCapability { Summarize; Supported; }

Compaction capability details: whether the model accepts the top-level compaction request parameter, with one entry per supported compaction.type value.

required BetaCapabilitySupport Summarize

Whether the summarize compaction type 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 BetaContextManagementCapability { ClearThinking20251015; ClearToolUses20250919; Compact20260112; Supported; }

Context management capability details.

required BetaCapabilitySupport? ClearThinking20251015

Whether the clear_thinking_20251015 strategy is supported.

required bool Supported

Whether this capability is supported by the model.

required BetaCapabilitySupport? ClearToolUses20250919

Whether the clear_tool_uses_20250919 strategy is supported.

required bool Supported

Whether this capability is supported by the model.

required BetaCapabilitySupport? 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 BetaEffortCapability { High; Low; Max; /* 3 more */ }

Effort (reasoning_effort) capability details.

required BetaCapabilitySupport High

Whether the model supports high effort level.

required bool Supported

Whether this capability is supported by the model.

required BetaCapabilitySupport Low

Whether the model supports low effort level.

required bool Supported

Whether this capability is supported by the model.

required BetaCapabilitySupport Max

Whether the model supports max effort level.

required bool Supported

Whether this capability is supported by the model.

required BetaCapabilitySupport 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 BetaCapabilitySupport? Xhigh

Whether the model supports xhigh effort level.

required bool Supported

Whether this capability is supported by the model.

class BetaModelCapabilities { Batch; Citations; CodeExecution; /* 8 more */ }

Model capability information.

class BetaModelInfo { Type = "model"; ID; AllowedFallbackModels; /* 9 more */ }
enum BetaModelLine

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 BetaServerToolsCapability { CodeExecution; Supported; WebSearch; }

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

required BetaCapabilitySupport 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 BetaThinkingCapability { Supported; Types; }

Thinking capability details.

required bool Supported

Whether this capability is supported by the model.

required BetaThinkingTypes Types

Supported thinking type configurations.

required BetaCapabilitySupport 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 BetaCapabilitySupport 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.

required bool Supported

Whether this capability is supported by the model.

required BetaCapabilitySupport 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 BetaThinkingTypes { Adaptive; 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 BetaCapabilitySupport 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 BetaCapabilitySupport 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.

required bool Supported

Whether this capability is supported by the model.

required BetaCapabilitySupport 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.