Modelle
Modelle auflisten
$client->beta->models->list(?string afterID, ?string beforeID, ?int limit, ?list<AnthropicBeta> betas, ?string workspaceID): Page<BetaModelInfo>Liste verfügbare Modelle auf.
Ein Modell abrufen
$client->beta->models->retrieve(string modelID, ?list<AnthropicBeta> betas, ?string workspaceID): BetaModelInfoRufe ein bestimmtes Modell ab.
Models
class BetaCapabilitySupport { $supported; }
Whether this capability is supported by the model.
class BetaCompactionCapability { $summarize; $supported; }
Whether the summarize compaction type is supported.
Whether this capability is supported by the model.
class BetaContextManagementCapability { $clearThinking20251015; $clearToolUses20250919; $compact20260112; $supported; }
Indicates whether a capability is supported.
Indicates whether a capability is supported.
Indicates whether a capability is 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.
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.
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.
Context management support and available strategies.
Effort (reasoning_effort) support and available levels.
Whether the model accepts image content blocks.
Whether the model accepts PDF content blocks.
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" typeObject type.
Object type.
For Models, this is always "model".
Unique model identifier.
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.
Model capability information.
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.
A human-readable name for the model.
Maximum input context window size in tokens for this model.
Maximum value for the max_tokens parameter when using this model.
class BetaThinkingCapability { $supported; $types; }
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'.