Models
List Models
client.Beta.Models.List(ctx, params) (*Page[BetaModelInfo], error)List available models.
Get a Model
client.Beta.Models.Get(ctx, modelID, query) (*BetaModelInfo, error)Get a specific model.
Models
type BetaCapabilitySupport struct{…}Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
type BetaContextManagementCapability struct{…}Context management capability details.
Context management capability details.
ClearThinking20251015 BetaCapabilitySupportIndicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
ClearToolUses20250919 BetaCapabilitySupportIndicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
Compact20260112 BetaCapabilitySupportIndicates 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.
type BetaEffortCapability struct{…}Effort (reasoning_effort) capability details.
Effort (reasoning_effort) capability details.
Whether 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.
Xhigh BetaCapabilitySupportIndicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
type BetaModelCapabilities struct{…}Model capability information.
Model capability information.
type BetaModelInfo struct{…}
Type ModelObject 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.
Capabilities BetaModelCapabilitiesModel capability information.
Model capability information.
CreatedAt TimeRFC 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.
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 BetaThinkingCapability struct{…}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.
type BetaThinkingTypes struct{…}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.