Claude Platform Docs

Modelos

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

Liste os modelos disponíveis.

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

Obtenha um 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

Indicates whether a capability is supported.

?BetaCapabilitySupport clearToolUses20250919

Indicates whether a capability is supported.

?BetaCapabilitySupport compact20260112

Indicates whether a capability 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.

Indicates whether a capability is supported.

class BetaModelCapabilities { $batch; $citations; $codeExecution; /* 7 more */ }

Whether the model supports the Batch API.

Whether the model supports citation generation.

BetaCapabilitySupport codeExecution

Whether the model supports code execution tools.

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

BetaContextManagementCapability contextManagement

Context management support and available strategies.

Effort (reasoning_effort) support and available levels.

BetaCapabilitySupport imageInput

Whether the model accepts image content blocks.

Whether the model accepts PDF content blocks.

BetaCapabilitySupport structuredOutputs

Whether the model supports structured output / JSON mode / strict tool schemas.

Thinking capability and supported type configurations.

class BetaModelInfo { $type = 'model'; $id; $allowedFallbackModels; /* 5 more */ }
"model" type

Object type.

For Models, this is always "model".

string id

Unique model identifier.

?list<string> allowedFallbackModels

Model IDs this model accepts as fallbacks[i].model on the Messages API. An empty list means the fallbacks parameter is not supported for this model as primary.

?BetaModelCapabilities capabilities

Model capability information.

\Datetime createdAt

RFC 3339 datetime string representing the time at which the model was released. May be set to an epoch value if the release date is unknown.

string displayName

A human-readable name for the model.

?int maxInputTokens

Maximum input context window size in tokens for this model.

?int maxTokens

Maximum value for the max_tokens parameter when using this model.

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

Whether this capability is supported by the model.

Supported thinking type configurations.

class BetaThinkingTypes { $adaptive; $enabled; }

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

Whether the model supports thinking with type 'enabled'.