Skip to content

ModelCapabilities

Defined in: packages/ai.matey.types/src/models.ts:65

Capabilities of a specific model.

Used for filtering models by feature support and understanding what the model can do.

readonly optional contextWindow: number

Defined in: packages/ai.matey.types/src/models.ts:74

Total context window size (input + output).


readonly optional latency: object

Defined in: packages/ai.matey.types/src/models.ts:109

Estimated latency in milliseconds for typical requests. Used for speed-based optimization.

readonly optional p50: number

readonly optional p95: number


readonly optional maxTokens: number

Defined in: packages/ai.matey.types/src/models.ts:69

Maximum output tokens the model can generate.


readonly optional modelFamily: string

Defined in: packages/ai.matey.types/src/models.ts:125

Model family identifier (e.g., “gpt-4”, “claude-3”, “gemini-1.5”). Used for capability inference and similarity matching.


readonly optional pricing: object

Defined in: packages/ai.matey.types/src/models.ts:100

Estimated cost per 1,000 tokens (in USD). Used for cost-based optimization and routing.

readonly input: number

readonly output: number


readonly optional qualityScore: number

Defined in: packages/ai.matey.types/src/models.ts:119

Quality score from 0-100. Higher scores indicate better output quality. Can be user-defined or community-rated.


readonly optional releaseDate: string

Defined in: packages/ai.matey.types/src/models.ts:131

Model release date (ISO 8601 format). Used for determining model recency.


readonly optional supportsJSON: boolean

Defined in: packages/ai.matey.types/src/models.ts:94

Whether the model supports JSON mode for structured outputs.


readonly optional supportsStreaming: boolean

Defined in: packages/ai.matey.types/src/models.ts:79

Whether the model supports streaming responses.


readonly optional supportsTools: boolean

Defined in: packages/ai.matey.types/src/models.ts:89

Whether the model supports function/tool calling.


readonly optional supportsVision: boolean

Defined in: packages/ai.matey.types/src/models.ts:84

Whether the model supports vision/image inputs.