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_reasoning_efforts: Option<Vec<String>>,
}Expand description
Re-exports of generated protocol types that are part of the SDK’s
public API surface. The canonical definitions live in
crate::rpc; they live here so the crate-root
pub use types::* surfaces them alongside hand-written SDK types.
Schema for the Model type.
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_reasoning_efforts: Option<Vec<String>>Supported reasoning effort levels (only present if model supports reasoning effort)