Model
Daftar Model
ModelListPage Models.List(parameters, cancellationToken = default)Daftar model yang tersedia.
Dapatkan Model
ModelInfo Models.Retrieve(parameters, cancellationToken = default)Dapatkan model tertentu.
Models
class CapabilitySupport { Supported; }Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
class ContextManagementCapability { ClearThinking20251015; ClearToolUses20250919; Compact20260112; Supported; }Context management capability details.
Context management capability details.
required CapabilitySupport? ClearThinking20251015Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
required CapabilitySupport? ClearToolUses20250919Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
required CapabilitySupport? 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 EffortCapability { High; Low; Max; /* 3 more */ }Effort (reasoning_effort) capability details.
Effort (reasoning_effort) capability details.
required CapabilitySupport HighWhether the model supports high effort level.
Whether the model supports high effort level.
Whether this capability is supported by the model.
required CapabilitySupport LowWhether the model supports low effort level.
Whether the model supports low effort level.
Whether this capability is supported by the model.
required CapabilitySupport MaxWhether the model supports max effort level.
Whether the model supports max effort level.
Whether this capability is supported by the model.
required CapabilitySupport 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 CapabilitySupport? XhighIndicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
class ModelCapabilities { Batch; Citations; CodeExecution; /* 6 more */ }Model capability information.
Model capability information.
class ModelInfo { Type = "model"; ID; Capabilities; /* 4 more */ }
JsonElement Type = "model"Object type.
Object type.
For Models, this is always "model".
Unique model identifier.
required ModelCapabilities? 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 ThinkingCapability { Supported; Types; }Thinking capability details.
Thinking capability details.
Whether this capability is supported by the model.
required ThinkingTypes TypesSupported thinking type configurations.
Supported thinking type configurations.
required CapabilitySupport 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 CapabilitySupport 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 ThinkingTypes { Adaptive; Enabled; }Supported thinking type configurations.
Supported thinking type configurations.
required CapabilitySupport 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 CapabilitySupport EnabledWhether the model supports thinking with type 'enabled'.
Whether the model supports thinking with type 'enabled'.
Whether this capability is supported by the model.