跳到主要内容

AiModel

AI model metadata. Describes a single model available from a provider.

NameTypeDescriptionNotes
idStringModel identifier as used by the provider API (e.g. gpt-4o, claude-sonnet-4-20250514).[required] [example: gpt-4o]
nameStringHuman-readable model name for display in the UI.[required] [example: GPT-4o]
providerAiProviderTypeProvider that offers this model.[required] [example: openai]
reasoningBooleanWhether this model supports extended thinking / chain-of-thought reasoning.[optional] [example: false]
reasoningSupportAiReasoningSupportWhat the model can do with extended thinking, when the provider's catalogue says so (OpenRouter and the ONLYOFFICE route report a per-model reasoning object). Copied onto the profile at save time; absent, the widget falls back to the provider's id-based table.[optional]
capabilitiesBigDecimalBitmask of model capabilities (Chat, Image, Vision, Tools, etc.). Used to filter models per ActionType.[optional] [example: 7]
createdBigDecimalRelease date as a Unix timestamp in seconds, when the provider's catalogue reports one (OpenAI-shaped /models responses and OpenRouter carry created; Anthropic carries an ISO created_at). The model picker sorts on it so the newest releases come first; entries without it fall back to alphabetical order.[optional]