MCPcopy
hub / github.com/TanStack/ai / ModelMeta

Interface ModelMeta

packages/ai-mistral/src/model-meta.ts:13–37  ·  view source on GitHub ↗

* Internal metadata structure describing a Mistral model's capabilities * and approximate pricing (USD per million tokens).

Source from the content-addressed store, hash-verified

11 * and approximate pricing (USD per million tokens).
12 */
13interface ModelMeta<TProviderOptions = unknown> {
14 name: string
15 context_window?: number
16 max_completion_tokens?: number
17 pricing: {
18 input?: { normal: number; cached?: number }
19 output?: { normal: number }
20 }
21 supports: {
22 input: Array<'text' | 'image' | 'audio'>
23 output: Array<'text'>
24 endpoints: Array<'chat' | 'embeddings'>
25
26 features: Array<
27 | 'streaming'
28 | 'tools'
29 | 'json_object'
30 | 'json_schema'
31 | 'reasoning'
32 | 'vision'
33 | 'code'
34 >
35 }
36 providerOptions?: TProviderOptions
37}
38
39const MISTRAL_LARGE_LATEST = {
40 name: 'mistral-large-latest',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected