pub struct Model {
pub billing: Option<ModelBilling>,
pub capabilities: ModelCapabilities,
pub default_reasoning_effort: Option<String>,
pub id: String,
pub model_picker_category: Option<ModelPickerCategory>,
pub model_picker_price_category: Option<ModelPickerPriceCategory>,
pub name: String,
pub policy: Option<ModelPolicy>,
pub supported_context_tiers: Option<Vec<String>>,
pub supported_reasoning_efforts: Option<Vec<String>>,
}Expand description
Copilot model metadata, including identifier, display name, capabilities, policy, billing, reasoning efforts, and picker categories.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§billing: Option<ModelBilling>Billing information
capabilities: ModelCapabilitiesModel capabilities and limits
default_reasoning_effort: Option<String>Default reasoning effort level (only present if model supports reasoning effort)
id: StringModel identifier (e.g., “claude-sonnet-4.5”)
model_picker_category: Option<ModelPickerCategory>Model capability category for grouping in the model picker
model_picker_price_category: Option<ModelPickerPriceCategory>Relative cost tier for token-based billing users
name: StringDisplay name
policy: Option<ModelPolicy>Policy state (if applicable)
supported_context_tiers: Option<Vec<String>>Context-window tiers this model offers, when the provider advertises them independently of tiered token pricing. Copilot models carry their tiers in billing.tokenPrices; a provider that has no pricing to publish (an agent host reached over AHP, for example) declares them here instead, so the model picker can still offer the tier toggle.
supported_reasoning_efforts: Option<Vec<String>>Supported reasoning effort levels (only present if model supports reasoning effort)