Modelle
Modelle auflisten
$client->beta->models->list(?string afterID, ?string beforeID, ?list<Lifecycle> lifecycle, ?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; }
Whether the clear_thinking_20251015 strategy is supported.
Whether the clear_tool_uses_20250919 strategy is supported.
Whether the compact_20260112 strategy 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.
Whether the model supports xhigh effort level.
class BetaModelCapabilities { $batch; $citations; $codeExecution; /* 8 more */ }
class BetaModelInfo { $type = 'model'; $id; $allowedFallbackModels; /* 9 more */ }
enum BetaModelLine
class BetaServerToolsCapability { $codeExecution; $supported; $webSearch; }
Whether the model supports the code execution tool: true when the model supports at least one version of the tool, not necessarily every version.
Whether this capability is supported by the model.
Whether the model supports the web search tool: true when the model supports at least one version of the tool, not necessarily every version.
class BetaThinkingCapability { $supported; $types; }
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).
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).