feat(M3-008): define model capability matrix (#303)

Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
This commit is contained in:
2026-03-21 21:19:07 +00:00
committed by jason.woltje
parent 78d591b697
commit 34d4dbbabd
2 changed files with 223 additions and 0 deletions
+19
View File
@@ -1,3 +1,22 @@
/** Per-model capability metadata used by the routing engine */
export interface ModelCapability {
id: string;
provider: string;
displayName: string;
tier: 'cheap' | 'standard' | 'premium' | 'local';
contextWindow: number;
maxOutputTokens: number;
capabilities: {
tools: boolean;
vision: boolean;
streaming: boolean;
reasoning: boolean;
embedding: boolean;
};
costPer1kInput?: number;
costPer1kOutput?: number;
}
/** Known built-in LLM provider identifiers */
export type KnownProvider =
| 'anthropic'