Models
List Models
ModelListPage Beta.Models.List(parameters, cancellationToken = default)List available models.
Get a Model
BetaModelInfo Beta.Models.Retrieve(parameters, cancellationToken = default)Get a specific model.
Models
class BetaCapabilitySupport { Supported; }Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
class BetaCompactionCapability { Summarize; Supported; }Compaction capability details: whether the model accepts the top-level
compaction request parameter, with one entry per supported
compaction.type value.
Compaction capability details: whether the model accepts the top-level
compaction request parameter, with one entry per supported
compaction.type value.
required BetaCapabilitySupport SummarizeWhether the summarize compaction type is supported.
Whether the summarize compaction type is supported.
Whether this capability is supported by the model.
Whether this capability is supported by the model.
class BetaContextManagementCapability { ClearThinking20251015; ClearToolUses20250919; Compact20260112; Supported; }Context management capability details.
Context management capability details.
required BetaCapabilitySupport? ClearThinking20251015Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
required BetaCapabilitySupport? ClearToolUses20250919Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
required BetaCapabilitySupport? Compact20260112Indicates 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 { High; Low; Max; /* 3 more */ }Effort (reasoning_effort) capability details.
Effort (reasoning_effort) capability details.
required BetaCapabilitySupport HighWhether the model supports high effort level.
Whether the model supports high effort level.
Whether this capability is supported by the model.
required BetaCapabilitySupport LowWhether the model supports low effort level.
Whether the model supports low effort level.
Whether this capability is supported by the model.
required BetaCapabilitySupport MaxWhether the model supports max effort level.
Whether the model supports max effort level.
Whether this capability is supported by the model.
required BetaCapabilitySupport MediumWhether 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.
required BetaCapabilitySupport? XhighIndicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
class BetaModelCapabilities { Batch; Citations; CodeExecution; /* 7 more */ }Model capability information.
Model capability information.
class BetaModelInfo { Type = "model"; ID; AllowedFallbackModels; /* 5 more */ }
JsonElement Type = "model"Object 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.
required BetaModelCapabilities? CapabilitiesModel capability information.
Model capability information.
required DateTimeOffset CreatedAtRFC 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.
class BetaThinkingCapability { Supported; Types; }Thinking capability details.
Thinking capability details.
Whether this capability is supported by the model.
required BetaThinkingTypes TypesSupported thinking type configurations.
Supported thinking type configurations.
required BetaCapabilitySupport AdaptiveWhether 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.
required BetaCapabilitySupport EnabledWhether 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 { Adaptive; Enabled; }Supported thinking type configurations.
Supported thinking type configurations.
required BetaCapabilitySupport AdaptiveWhether 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.
required BetaCapabilitySupport EnabledWhether the model supports thinking with type 'enabled'.
Whether the model supports thinking with type 'enabled'.
Whether this capability is supported by the model.