ModelEntry
Defined in: react/components/agent/model-picker.tsx:15
One selectable model in a ModelPicker.
Properties
Section titled “Properties”
optionalcost?:string|number
Defined in: react/components/agent/model-picker.tsx:27
Relative cost. A number renders as a multiplier badge (1 → 1×, 2 →
2×, coloured by magnitude); a string renders verbatim ("5×",
"$3/Mtok") for custom pricing.
id:
string
Defined in: react/components/agent/model-picker.tsx:17
Stable id (the committed selection is matched on this).
location?
Section titled “location?”
optionallocation?:ModelLocation
Defined in: react/components/agent/model-picker.tsx:31
Where the model runs — shows a local/remote icon instead of text.
name:
string
Defined in: react/components/agent/model-picker.tsx:19
Display name, e.g. "Claude Opus 4.8".
provider?
Section titled “provider?”
optionalprovider?:string
Defined in: react/components/agent/model-picker.tsx:21
Provider/vendor, e.g. "Anthropic".
reasoning?
Section titled “reasoning?”
optionalreasoning?:boolean
Defined in: react/components/agent/model-picker.tsx:29
Whether the model does extended reasoning — shows a reasoning icon.