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.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”contextWindow?
Section titled “contextWindow?”
readonlyoptionalcontextWindow:number
Defined in: packages/ai.matey.types/src/models.ts:74
Total context window size (input + output).
latency?
Section titled “latency?”
readonlyoptionallatency:object
Defined in: packages/ai.matey.types/src/models.ts:109
Estimated latency in milliseconds for typical requests. Used for speed-based optimization.
readonlyoptionalp50:number
readonlyoptionalp95:number
maxTokens?
Section titled “maxTokens?”
readonlyoptionalmaxTokens:number
Defined in: packages/ai.matey.types/src/models.ts:69
Maximum output tokens the model can generate.
modelFamily?
Section titled “modelFamily?”
readonlyoptionalmodelFamily: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.
pricing?
Section titled “pricing?”
readonlyoptionalpricing: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.
readonlyinput:number
output
Section titled “output”
readonlyoutput:number
qualityScore?
Section titled “qualityScore?”
readonlyoptionalqualityScore: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.
releaseDate?
Section titled “releaseDate?”
readonlyoptionalreleaseDate:string
Defined in: packages/ai.matey.types/src/models.ts:131
Model release date (ISO 8601 format). Used for determining model recency.
supportsJSON?
Section titled “supportsJSON?”
readonlyoptionalsupportsJSON:boolean
Defined in: packages/ai.matey.types/src/models.ts:94
Whether the model supports JSON mode for structured outputs.
supportsStreaming?
Section titled “supportsStreaming?”
readonlyoptionalsupportsStreaming:boolean
Defined in: packages/ai.matey.types/src/models.ts:79
Whether the model supports streaming responses.
supportsTools?
Section titled “supportsTools?”
readonlyoptionalsupportsTools:boolean
Defined in: packages/ai.matey.types/src/models.ts:89
Whether the model supports function/tool calling.
supportsVision?
Section titled “supportsVision?”
readonlyoptionalsupportsVision:boolean
Defined in: packages/ai.matey.types/src/models.ts:84
Whether the model supports vision/image inputs.