Skip to content

ModelEntry

Defined in: react/components/agent/model-picker.tsx:15

One selectable model in a ModelPicker.

optional cost?: string | number

Defined in: react/components/agent/model-picker.tsx:27

Relative cost. A number renders as a multiplier badge (1, 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).


optional location?: 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".


optional provider?: string

Defined in: react/components/agent/model-picker.tsx:21

Provider/vendor, e.g. "Anthropic".


optional reasoning?: boolean

Defined in: react/components/agent/model-picker.tsx:29

Whether the model does extended reasoning — shows a reasoning icon.