* Internal metadata structure describing a Mistral model's capabilities * and approximate pricing (USD per million tokens).
| 11 | * and approximate pricing (USD per million tokens). |
| 12 | */ |
| 13 | interface 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 | |
| 39 | const MISTRAL_LARGE_LATEST = { |
| 40 | name: 'mistral-large-latest', |
nothing calls this directly
no outgoing calls
no test coverage detected