Claude Platform Docs

Modelli

Elenca i modelli
$client->models->list(?string afterID, ?string beforeID, ?int limit, ?list<AnthropicBeta> betas, ?string workspaceID): Page<ModelInfo>
GET/v1/models

Elenca i modelli disponibili.

Ottieni un modello
$client->models->retrieve(string modelID, ?list<AnthropicBeta> betas, ?string workspaceID): ModelInfo
GET/v1/models/{model_id}

Ottieni un modello specifico.

Models
class CapabilitySupport { $supported; }
bool supported

Whether this capability is supported by the model.

class ContextManagementCapability { $clearThinking20251015; $clearToolUses20250919; $compact20260112; $supported; }
?CapabilitySupport clearThinking20251015

Indicates whether a capability is supported.

?CapabilitySupport clearToolUses20250919

Indicates whether a capability is supported.

?CapabilitySupport compact20260112

Indicates whether a capability is supported.

bool supported

Whether this capability is supported by the model.

class EffortCapability { $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 ModelCapabilities { $batch; $citations; $codeExecution; /* 6 more */ }

Whether the model supports the Batch API.

CapabilitySupport citations

Whether the model supports citation generation.

CapabilitySupport codeExecution

Whether the model supports code execution tools.

ContextManagementCapability contextManagement

Context management support and available strategies.

Effort (reasoning_effort) support and available levels.

CapabilitySupport imageInput

Whether the model accepts image content blocks.

CapabilitySupport pdfInput

Whether the model accepts PDF content blocks.

CapabilitySupport structuredOutputs

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

ThinkingCapability thinking

Thinking capability and supported type configurations.

class ModelInfo { $type = 'model'; $id; $capabilities; /* 4 more */ }
"model" type

Object type.

For Models, this is always "model".

string id

Unique model identifier.

?ModelCapabilities 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 ThinkingCapability { $supported; $types; }
bool supported

Whether this capability is supported by the model.

ThinkingTypes types

Supported thinking type configurations.

class ThinkingTypes { $adaptive; $enabled; }
CapabilitySupport adaptive

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

Whether the model supports thinking with type 'enabled'.