#[non_exhaustive]pub struct ModelCatalogEntry {Show 14 fields
pub model_id: String,
pub display_label: String,
pub provider_id: String,
pub profile_id: Option<String>,
pub release_date: Option<String>,
pub description: Option<String>,
pub context_limit: Option<u64>,
pub output_limit: Option<u64>,
pub cost: Option<ModelCost>,
pub variants: Option<ModelReasoningEffortVariants>,
pub reasoning_effort_variants: Option<Vec<ModelDescribedReasoningEffort>>,
pub default_reasoning_effort: Option<ReasoningEffort>,
pub is_active: bool,
pub is_default: bool,
}Expand description
One visible catalog row. Catalog rows marked hidden never reach the wire, so a client cannot select one.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.model_id: StringThe selectable model id.
display_label: StringPresentation label.
provider_id: StringProvider routing.
profile_id: Option<String>Provider profile; null when the catalog source declared nothing.
release_date: Option<String>Release date; null when the catalog source declared nothing.
description: Option<String>Description; null when the catalog source declared nothing.
context_limit: Option<u64>Context limit; null when the catalog source declared nothing.
output_limit: Option<u64>Output limit; null when the catalog source declared nothing.
cost: Option<ModelCost>Cost block; null when the catalog source declared nothing.
variants: Option<ModelReasoningEffortVariants>Complete ordered selectable efforts. Optional only for decoding older hosts; a present value is never null. Current hosts always send it.
reasoning_effort_variants: Option<Vec<ModelDescribedReasoningEffort>>Described selectable tiers, a same-order subset of variants. Optional
only for decoding older hosts; a present value is never null. Absent
under "unknown".
default_reasoning_effort: Option<ReasoningEffort>The row’s catalog default. Optional only for decoding older hosts; a
present value is never null and is always a member of variants. Absent
under "unknown".
is_active: boolMarks the session’s effective model when sessionId was supplied. May
be false for every row — a client MUST NOT assume exactly one.
is_default: boolMarks the catalog’s default row. May be false for every row.