Skip to content

Function: modelCapabilitiesFor()

modelCapabilitiesFor(model): object

Resolve documented model capabilities from a name or endpoint summary.

string | { class?: "chat-thinking" | "chat-balanced" | "chat-fast" | "embedding"; description?: string; dimension?: number; displayName?: string; family?: string; modelServiceName?: string; name: string; profile?: { cost?: number; quality?: number; speed?: number; }; reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[]; serviceNames?: Record<string, string>; state?: string; status?: { deprecated: boolean; }; supportsTools?: boolean; task?: string; }

object

applyPatch: boolean

imageInput: boolean

responses: boolean

webSearch: boolean