ExtendedModelCapabilities
Defined in: ai.matey.core/src/model-pricing.ts:23
Extended capabilities including estimated quality and latency.
Extends
Section titled “Extends”Properties
Section titled “Properties”contextWindow?
Section titled “contextWindow?”
readonlyoptionalcontextWindow:number
Defined in: ai.matey.types/dist/types/models.d.ts:61
Total context window size (input + output).
Inherited from
Section titled “Inherited from”ModelCapabilities.contextWindow
latency?
Section titled “latency?”
readonlyoptionallatency:object
Defined in: ai.matey.core/src/model-pricing.ts:25
Estimated latency in milliseconds for typical requests. Used for speed-based optimization.
readonlyoptionalp50:number
readonlyoptionalp95:number
Overrides
Section titled “Overrides”maxTokens?
Section titled “maxTokens?”
readonlyoptionalmaxTokens:number
Defined in: ai.matey.types/dist/types/models.d.ts:57
Maximum output tokens the model can generate.
Inherited from
Section titled “Inherited from”modelFamily?
Section titled “modelFamily?”
readonlyoptionalmodelFamily:string
Defined in: ai.matey.core/src/model-pricing.ts:30
Model family identifier (e.g., “gpt-4”, “claude-3”, “gemini-1.5”). Used for capability inference and similarity matching.
Overrides
Section titled “Overrides”pricing
Section titled “pricing”
readonlypricing:ModelPricing
Defined in: ai.matey.core/src/model-pricing.ts:24
Estimated cost per 1,000 tokens (in USD). Used for cost-based optimization and routing.
Overrides
Section titled “Overrides”qualityScore?
Section titled “qualityScore?”
readonlyoptionalqualityScore:number
Defined in: ai.matey.core/src/model-pricing.ts:29
Quality score from 0-100. Higher scores indicate better output quality. Can be user-defined or community-rated.
Overrides
Section titled “Overrides”ModelCapabilities.qualityScore
releaseDate?
Section titled “releaseDate?”
readonlyoptionalreleaseDate:string
Defined in: ai.matey.core/src/model-pricing.ts:31
Model release date (ISO 8601 format). Used for determining model recency.
Overrides
Section titled “Overrides”supportsJSON?
Section titled “supportsJSON?”
readonlyoptionalsupportsJSON:boolean
Defined in: ai.matey.types/dist/types/models.d.ts:77
Whether the model supports JSON mode for structured outputs.
Inherited from
Section titled “Inherited from”ModelCapabilities.supportsJSON
supportsStreaming?
Section titled “supportsStreaming?”
readonlyoptionalsupportsStreaming:boolean
Defined in: ai.matey.types/dist/types/models.d.ts:65
Whether the model supports streaming responses.
Inherited from
Section titled “Inherited from”ModelCapabilities.supportsStreaming
supportsTools?
Section titled “supportsTools?”
readonlyoptionalsupportsTools:boolean
Defined in: ai.matey.types/dist/types/models.d.ts:73
Whether the model supports function/tool calling.
Inherited from
Section titled “Inherited from”ModelCapabilities.supportsTools
supportsVision?
Section titled “supportsVision?”
readonlyoptionalsupportsVision:boolean
Defined in: ai.matey.types/dist/types/models.d.ts:69
Whether the model supports vision/image inputs.