Claude Platform Docs

Modelos

Listar modelos
$client->beta->models->list(?string afterID, ?string beforeID, ?list<Lifecycle> lifecycle, ?int limit, ?list<AnthropicBeta> betas, ?string workspaceID): Page<BetaModelInfo>
GET/v1/models

Lista los modelos disponibles.

Obtener un modelo
$client->beta->models->retrieve(string modelID, ?list<AnthropicBeta> betas, ?string workspaceID): BetaModelInfo
GET/v1/models/{model_id}

Obtiene un modelo específico.

Models
class BetaCapabilitySupport { $supported; }
bool supported

Whether this capability is supported by the model.

class BetaCompactionCapability { $summarize; $supported; }

Whether the summarize compaction type is supported.

bool supported

Whether this capability is supported by the model.

class BetaContextManagementCapability { $clearThinking20251015; $clearToolUses20250919; $compact20260112; $supported; }
?BetaCapabilitySupport clearThinking20251015

Whether the clear_thinking_20251015 strategy is supported.

?BetaCapabilitySupport clearToolUses20250919

Whether the clear_tool_uses_20250919 strategy is supported.

?BetaCapabilitySupport compact20260112

Whether the compact_20260112 strategy is supported.

bool supported

Whether this capability is supported by the model.

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

Whether the model supports high effort level.

Whether the model supports low effort level.

Whether the model supports max effort level.

Whether the model supports medium effort level.

bool supported

Whether this capability is supported by the model.

Whether the model supports xhigh effort level.

class BetaModelCapabilities { $batch; $citations; $codeExecution; /* 8 more */ }
class BetaModelInfo { $type = 'model'; $id; $allowedFallbackModels; /* 9 more */ }
One of the following:
"haiku"
"sonnet"
"opus"
"fable"
"mythos"
class BetaServerToolsCapability { $codeExecution; $supported; $webSearch; }
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.

bool supported

Whether this capability is supported by the model.

class BetaThinkingCapability { $supported; $types; }
bool supported

Whether this capability is supported by the model.

Supported thinking type configurations.

class BetaThinkingTypes { $adaptive; $betweenTools; $disabled; $enabled; }

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

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

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.

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