Claude Platform Docs

Modelos

Listar modelos
ModelListPage beta().models().list(params = ModelListParams.none(), requestOptions = RequestOptions.none())
GET/v1/models

Lista los modelos disponibles.

Obtener un modelo
BetaModelInfo beta().models().retrieve(params = ModelRetrieveParams.none(), requestOptions = RequestOptions.none())
GET/v1/models/{model_id}

Obtiene un modelo específico.

Models
class BetaCapabilitySupport { supported; }

Indicates whether a capability is supported.

boolean 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.

Whether the summarize compaction type is supported.

boolean supported

Whether this capability is supported by the model.

boolean supported

Whether this capability is supported by the model.

class BetaContextManagementCapability { clearThinking20251015; clearToolUses20250919; compact20260112; supported; }

Context management capability details.

Optional<BetaCapabilitySupport> clearThinking20251015

Whether the clear_thinking_20251015 strategy is supported.

boolean supported

Whether this capability is supported by the model.

Optional<BetaCapabilitySupport> clearToolUses20250919

Whether the clear_tool_uses_20250919 strategy is supported.

boolean supported

Whether this capability is supported by the model.

Optional<BetaCapabilitySupport> compact20260112

Whether the compact_20260112 strategy is supported.

boolean supported

Whether this capability is supported by the model.

boolean supported

Whether this capability is supported by the model.

class BetaEffortCapability { high; low; max; /* 3 more */ }

Effort (reasoning_effort) capability details.

Whether the model supports high effort level.

boolean supported

Whether this capability is supported by the model.

Whether the model supports low effort level.

boolean supported

Whether this capability is supported by the model.

Whether the model supports max effort level.

boolean supported

Whether this capability is supported by the model.

Whether the model supports medium effort level.

boolean supported

Whether this capability is supported by the model.

boolean supported

Whether this capability is supported by the model.

Optional<BetaCapabilitySupport> xhigh

Whether the model supports xhigh effort level.

boolean 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.

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.

boolean supported

Whether this capability is supported by the model.

boolean supported

Whether this capability is supported by the model.

class BetaThinkingCapability { supported; types; }

Thinking capability details.

boolean supported

Whether this capability is supported by the model.

Supported thinking type configurations.

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

boolean supported

Whether this capability is supported by the model.

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.

boolean supported

Whether this capability is supported by the model.

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

boolean 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.

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

boolean supported

Whether this capability is supported by the model.

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.

boolean supported

Whether this capability is supported by the model.

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

boolean supported

Whether this capability is supported by the model.