Models
Get a Model
ModelsExpand Collapse
class BetaCapabilitySupport: …Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
class BetaContextManagementCapability: …Context management capability details.
Context management capability details.
clear_thinking_20251015: Optional[BetaCapabilitySupport]Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
clear_tool_uses_20250919: Optional[BetaCapabilitySupport]Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
compact_20260112: Optional[BetaCapabilitySupport]Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
Whether this capability is supported by the model.
class BetaEffortCapability: …Effort (reasoning_effort) capability details.
Effort (reasoning_effort) capability details.
high: BetaCapabilitySupportWhether the model supports high effort level.
Whether the model supports high effort level.
Whether this capability is supported by the model.
Whether the model supports low effort level.
Whether the model supports low effort level.
Whether this capability is supported by the model.
Whether the model supports max effort level.
Whether the model supports max effort level.
Whether this capability is supported by the model.
medium: BetaCapabilitySupportWhether the model supports medium effort level.
Whether the model supports medium effort level.
Whether this capability is supported by the model.
Whether this capability is supported by the model.
class BetaModelCapabilities: …Model capability information.
Model capability information.
batch: BetaCapabilitySupportWhether the model supports the Batch API.
Whether the model supports the Batch API.
Whether this capability is supported by the model.
citations: BetaCapabilitySupportWhether the model supports citation generation.
Whether the model supports citation generation.
Whether this capability is supported by the model.
code_execution: BetaCapabilitySupportWhether the model supports code execution tools.
Whether the model supports code execution tools.
Whether this capability is supported by the model.
context_management: BetaContextManagementCapabilityContext management support and available strategies.
Context management support and available strategies.
clear_thinking_20251015: Optional[BetaCapabilitySupport]Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
clear_tool_uses_20250919: Optional[BetaCapabilitySupport]Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
compact_20260112: Optional[BetaCapabilitySupport]Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
Whether this capability is supported by the model.
effort: BetaEffortCapabilityEffort (reasoning_effort) support and available levels.
Effort (reasoning_effort) support and available levels.
high: BetaCapabilitySupportWhether the model supports high effort level.
Whether the model supports high effort level.
Whether this capability is supported by the model.
Whether the model supports low effort level.
Whether the model supports low effort level.
Whether this capability is supported by the model.
Whether the model supports max effort level.
Whether the model supports max effort level.
Whether this capability is supported by the model.
medium: BetaCapabilitySupportWhether the model supports medium effort level.
Whether the model supports medium effort level.
Whether this capability is supported by the model.
Whether this capability is supported by the model.
image_input: BetaCapabilitySupportWhether the model accepts image content blocks.
Whether the model accepts image content blocks.
Whether this capability is supported by the model.
pdf_input: BetaCapabilitySupportWhether the model accepts PDF content blocks.
Whether the model accepts PDF content blocks.
Whether this capability is supported by the model.
structured_outputs: BetaCapabilitySupportWhether the model supports structured output / JSON mode / strict tool schemas.
Whether the model supports structured output / JSON mode / strict tool schemas.
Whether this capability is supported by the model.
thinking: BetaThinkingCapabilityThinking capability and supported type configurations.
Thinking capability and supported type configurations.
Whether this capability is supported by the model.
types: BetaThinkingTypesSupported thinking type configurations.
Supported thinking type configurations.
adaptive: BetaCapabilitySupportWhether the model supports thinking with type 'adaptive' (auto).
Whether the model supports thinking with type 'adaptive' (auto).
Whether this capability is supported by the model.
enabled: BetaCapabilitySupportWhether the model supports thinking with type 'enabled'.
Whether the model supports thinking with type 'enabled'.
Whether this capability is supported by the model.
class BetaModelInfo: …
Unique model identifier.
capabilities: Optional[BetaModelCapabilities]Model capability information.
Model capability information.
batch: BetaCapabilitySupportWhether the model supports the Batch API.
Whether the model supports the Batch API.
Whether this capability is supported by the model.
citations: BetaCapabilitySupportWhether the model supports citation generation.
Whether the model supports citation generation.
Whether this capability is supported by the model.
code_execution: BetaCapabilitySupportWhether the model supports code execution tools.
Whether the model supports code execution tools.
Whether this capability is supported by the model.
context_management: BetaContextManagementCapabilityContext management support and available strategies.
Context management support and available strategies.
clear_thinking_20251015: Optional[BetaCapabilitySupport]Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
clear_tool_uses_20250919: Optional[BetaCapabilitySupport]Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
compact_20260112: Optional[BetaCapabilitySupport]Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
Whether this capability is supported by the model.
effort: BetaEffortCapabilityEffort (reasoning_effort) support and available levels.
Effort (reasoning_effort) support and available levels.
high: BetaCapabilitySupportWhether the model supports high effort level.
Whether the model supports high effort level.
Whether this capability is supported by the model.
Whether the model supports low effort level.
Whether the model supports low effort level.
Whether this capability is supported by the model.
Whether the model supports max effort level.
Whether the model supports max effort level.
Whether this capability is supported by the model.
medium: BetaCapabilitySupportWhether the model supports medium effort level.
Whether the model supports medium effort level.
Whether this capability is supported by the model.
Whether this capability is supported by the model.
image_input: BetaCapabilitySupportWhether the model accepts image content blocks.
Whether the model accepts image content blocks.
Whether this capability is supported by the model.
pdf_input: BetaCapabilitySupportWhether the model accepts PDF content blocks.
Whether the model accepts PDF content blocks.
Whether this capability is supported by the model.
structured_outputs: BetaCapabilitySupportWhether the model supports structured output / JSON mode / strict tool schemas.
Whether the model supports structured output / JSON mode / strict tool schemas.
Whether this capability is supported by the model.
thinking: BetaThinkingCapabilityThinking capability and supported type configurations.
Thinking capability and supported type configurations.
Whether this capability is supported by the model.
types: BetaThinkingTypesSupported thinking type configurations.
Supported thinking type configurations.
adaptive: BetaCapabilitySupportWhether the model supports thinking with type 'adaptive' (auto).
Whether the model supports thinking with type 'adaptive' (auto).
Whether this capability is supported by the model.
enabled: BetaCapabilitySupportWhether the model supports thinking with type 'enabled'.
Whether the model supports thinking with type 'enabled'.
Whether this capability is supported by the model.
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.
type: Literal["model"]Object type.
Object type.
For Models, this is always "model".
class BetaThinkingCapability: …Thinking capability details.
Thinking capability details.
Whether this capability is supported by the model.
types: BetaThinkingTypesSupported thinking type configurations.
Supported thinking type configurations.
adaptive: BetaCapabilitySupportWhether the model supports thinking with type 'adaptive' (auto).
Whether the model supports thinking with type 'adaptive' (auto).
Whether this capability is supported by the model.
enabled: BetaCapabilitySupportWhether the model supports thinking with type 'enabled'.
Whether the model supports thinking with type 'enabled'.
Whether this capability is supported by the model.
class BetaThinkingTypes: …Supported thinking type configurations.
Supported thinking type configurations.
adaptive: BetaCapabilitySupportWhether the model supports thinking with type 'adaptive' (auto).
Whether the model supports thinking with type 'adaptive' (auto).
Whether this capability is supported by the model.
enabled: BetaCapabilitySupportWhether the model supports thinking with type 'enabled'.
Whether the model supports thinking with type 'enabled'.
Whether this capability is supported by the model.