Interface: ModelInfo
Defined in: packages/core/src/providers/list-models.ts:31
A model advertised by a provider's listing endpoint.
Properties
effort?
optionaleffort?:string[]
Defined in: packages/core/src/providers/list-models.ts:57
Reasoning-effort levels this model accepts, as the provider advertises them — not a fixed set, because providers do not agree on one.
Anthropic publishes them per model under capabilities.effort, and they
are not the three everyone assumes: claude-opus-5 takes low, medium,
high, xhigh and max. OpenRouter says only whether a model accepts
reasoning_effort, so its entries carry that provider's documented
levels. OpenAI's /v1/models describes nothing at all, so its entries
leave this undefined.
Absent therefore means "this provider did not say", which is not the same as "unsupported" — a caller should offer free entry rather than hide the control.
host?
optionalhost?:"local"|"cloud"
Defined in: packages/core/src/providers/list-models.ts:41
Where the model is hosted. Defaults to 'local' when local is true, and 'cloud' when it is from a remote catalog.
id
id:
string
Defined in: packages/core/src/providers/list-models.ts:33
Provider-native model id, usable directly as a Baleybots model string.
local?
optionallocal?:boolean
Defined in: packages/core/src/providers/list-models.ts:39
True for locally-served models (local Ollama).
name
name:
string
Defined in: packages/core/src/providers/list-models.ts:35
Human-friendly name when the provider supplies one; falls back to id.
provider
provider: keyof
ModelProviderRegistry
Defined in: packages/core/src/providers/list-models.ts:37
Which provider advertises this model.