@funkai/models 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.generated/entries.json +23 -0
- package/.generated/req.txt +1 -0
- package/.turbo/turbo-build.log +145 -0
- package/.turbo/turbo-typecheck.log +4 -0
- package/CHANGELOG.md +23 -0
- package/README.md +95 -0
- package/dist/alibaba-B6q4Ng1R.mjs +957 -0
- package/dist/alibaba-B6q4Ng1R.mjs.map +1 -0
- package/dist/amazon-bedrock-Cv9AHQBH.mjs +2070 -0
- package/dist/amazon-bedrock-Cv9AHQBH.mjs.map +1 -0
- package/dist/anthropic-yB7ST97_.mjs +651 -0
- package/dist/anthropic-yB7ST97_.mjs.map +1 -0
- package/dist/cerebras-COfl7XM-.mjs +95 -0
- package/dist/cerebras-COfl7XM-.mjs.map +1 -0
- package/dist/cohere-B7TgO0hT.mjs +271 -0
- package/dist/cohere-B7TgO0hT.mjs.map +1 -0
- package/dist/deepinfra-B0GxUwCG.mjs +636 -0
- package/dist/deepinfra-B0GxUwCG.mjs.map +1 -0
- package/dist/deepseek-D64ZEsvS.mjs +50 -0
- package/dist/deepseek-D64ZEsvS.mjs.map +1 -0
- package/dist/fireworks-ai-DJYvdAi_.mjs +304 -0
- package/dist/fireworks-ai-DJYvdAi_.mjs.map +1 -0
- package/dist/google-BypRl349.mjs +833 -0
- package/dist/google-BypRl349.mjs.map +1 -0
- package/dist/google-vertex-DbS-zTGD.mjs +730 -0
- package/dist/google-vertex-DbS-zTGD.mjs.map +1 -0
- package/dist/groq-ei_PerYi.mjs +381 -0
- package/dist/groq-ei_PerYi.mjs.map +1 -0
- package/dist/huggingface-DaM1EeLP.mjs +456 -0
- package/dist/huggingface-DaM1EeLP.mjs.map +1 -0
- package/dist/inception-CspEzqNV.mjs +101 -0
- package/dist/inception-CspEzqNV.mjs.map +1 -0
- package/dist/index.d.mts +30314 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +271 -0
- package/dist/index.mjs.map +1 -0
- package/dist/llama-Cf3-koap.mjs +161 -0
- package/dist/llama-Cf3-koap.mjs.map +1 -0
- package/dist/mistral-BI9MdAO4.mjs +579 -0
- package/dist/mistral-BI9MdAO4.mjs.map +1 -0
- package/dist/nvidia-COHacuoa.mjs +1625 -0
- package/dist/nvidia-COHacuoa.mjs.map +1 -0
- package/dist/openai-C0nCfZUq.mjs +1023 -0
- package/dist/openai-C0nCfZUq.mjs.map +1 -0
- package/dist/openrouter-DSFzxKQb.mjs +4608 -0
- package/dist/openrouter-DSFzxKQb.mjs.map +1 -0
- package/dist/perplexity-zeZ2WlBU.mjs +96 -0
- package/dist/perplexity-zeZ2WlBU.mjs.map +1 -0
- package/dist/providers/alibaba.d.mts +1795 -0
- package/dist/providers/alibaba.d.mts.map +1 -0
- package/dist/providers/alibaba.mjs +39 -0
- package/dist/providers/alibaba.mjs.map +1 -0
- package/dist/providers/amazon-bedrock.d.mts +3713 -0
- package/dist/providers/amazon-bedrock.d.mts.map +1 -0
- package/dist/providers/amazon-bedrock.mjs +39 -0
- package/dist/providers/amazon-bedrock.mjs.map +1 -0
- package/dist/providers/anthropic.d.mts +1109 -0
- package/dist/providers/anthropic.d.mts.map +1 -0
- package/dist/providers/anthropic.mjs +39 -0
- package/dist/providers/anthropic.mjs.map +1 -0
- package/dist/providers/cerebras.d.mts +219 -0
- package/dist/providers/cerebras.d.mts.map +1 -0
- package/dist/providers/cerebras.mjs +39 -0
- package/dist/providers/cerebras.mjs.map +1 -0
- package/dist/providers/cohere.d.mts +555 -0
- package/dist/providers/cohere.d.mts.map +1 -0
- package/dist/providers/cohere.mjs +39 -0
- package/dist/providers/cohere.mjs.map +1 -0
- package/dist/providers/deepinfra.d.mts +1245 -0
- package/dist/providers/deepinfra.d.mts.map +1 -0
- package/dist/providers/deepinfra.mjs +39 -0
- package/dist/providers/deepinfra.mjs.map +1 -0
- package/dist/providers/deepseek.d.mts +139 -0
- package/dist/providers/deepseek.d.mts.map +1 -0
- package/dist/providers/deepseek.mjs +39 -0
- package/dist/providers/deepseek.mjs.map +1 -0
- package/dist/providers/fireworks-ai.d.mts +611 -0
- package/dist/providers/fireworks-ai.d.mts.map +1 -0
- package/dist/providers/fireworks-ai.mjs +39 -0
- package/dist/providers/fireworks-ai.mjs.map +1 -0
- package/dist/providers/google-vertex.d.mts +1227 -0
- package/dist/providers/google-vertex.d.mts.map +1 -0
- package/dist/providers/google-vertex.mjs +39 -0
- package/dist/providers/google-vertex.mjs.map +1 -0
- package/dist/providers/google.d.mts +1359 -0
- package/dist/providers/google.d.mts.map +1 -0
- package/dist/providers/google.mjs +39 -0
- package/dist/providers/google.mjs.map +1 -0
- package/dist/providers/groq.d.mts +765 -0
- package/dist/providers/groq.d.mts.map +1 -0
- package/dist/providers/groq.mjs +39 -0
- package/dist/providers/groq.mjs.map +1 -0
- package/dist/providers/huggingface.d.mts +901 -0
- package/dist/providers/huggingface.d.mts.map +1 -0
- package/dist/providers/huggingface.mjs +39 -0
- package/dist/providers/huggingface.mjs.map +1 -0
- package/dist/providers/inception.d.mts +231 -0
- package/dist/providers/inception.d.mts.map +1 -0
- package/dist/providers/inception.mjs +39 -0
- package/dist/providers/inception.mjs.map +1 -0
- package/dist/providers/llama.d.mts +345 -0
- package/dist/providers/llama.d.mts.map +1 -0
- package/dist/providers/llama.mjs +39 -0
- package/dist/providers/llama.mjs.map +1 -0
- package/dist/providers/mistral.d.mts +1143 -0
- package/dist/providers/mistral.d.mts.map +1 -0
- package/dist/providers/mistral.mjs +39 -0
- package/dist/providers/mistral.mjs.map +1 -0
- package/dist/providers/nvidia.d.mts +3117 -0
- package/dist/providers/nvidia.d.mts.map +1 -0
- package/dist/providers/nvidia.mjs +39 -0
- package/dist/providers/nvidia.mjs.map +1 -0
- package/dist/providers/openai.d.mts +1963 -0
- package/dist/providers/openai.d.mts.map +1 -0
- package/dist/providers/openai.mjs +39 -0
- package/dist/providers/openai.mjs.map +1 -0
- package/dist/providers/openrouter.d.mts +8531 -0
- package/dist/providers/openrouter.d.mts.map +1 -0
- package/dist/providers/openrouter.mjs +39 -0
- package/dist/providers/openrouter.mjs.map +1 -0
- package/dist/providers/perplexity.d.mts +221 -0
- package/dist/providers/perplexity.d.mts.map +1 -0
- package/dist/providers/perplexity.mjs +39 -0
- package/dist/providers/perplexity.mjs.map +1 -0
- package/dist/providers/togetherai.d.mts +767 -0
- package/dist/providers/togetherai.d.mts.map +1 -0
- package/dist/providers/togetherai.mjs +39 -0
- package/dist/providers/togetherai.mjs.map +1 -0
- package/dist/providers/xai.d.mts +1161 -0
- package/dist/providers/xai.d.mts.map +1 -0
- package/dist/providers/xai.mjs +39 -0
- package/dist/providers/xai.mjs.map +1 -0
- package/dist/togetherai-BvcxUfPE.mjs +382 -0
- package/dist/togetherai-BvcxUfPE.mjs.map +1 -0
- package/dist/types-DjdaZckF.d.mts +71 -0
- package/dist/types-DjdaZckF.d.mts.map +1 -0
- package/dist/xai-fSuAkQJo.mjs +587 -0
- package/dist/xai-fSuAkQJo.mjs.map +1 -0
- package/docs/catalog/filtering.md +102 -0
- package/docs/catalog/overview.md +168 -0
- package/docs/catalog/providers.md +73 -0
- package/docs/cost/overview.md +125 -0
- package/docs/guides/filter-models.md +113 -0
- package/docs/guides/setup-resolver.md +106 -0
- package/docs/guides/track-costs.md +133 -0
- package/docs/overview.md +139 -0
- package/docs/provider/configuration.md +100 -0
- package/docs/provider/openrouter.md +105 -0
- package/docs/provider/overview.md +131 -0
- package/docs/troubleshooting.md +100 -0
- package/package.json +142 -0
- package/providers.json +39 -0
- package/scripts/generate-models.ts +392 -0
- package/src/catalog/index.test.ts +124 -0
- package/src/catalog/index.ts +65 -0
- package/src/catalog/providers/alibaba.ts +468 -0
- package/src/catalog/providers/amazon-bedrock.ts +941 -0
- package/src/catalog/providers/anthropic.ts +270 -0
- package/src/catalog/providers/cerebras.ts +61 -0
- package/src/catalog/providers/cohere.ts +149 -0
- package/src/catalog/providers/deepinfra.ts +325 -0
- package/src/catalog/providers/deepseek.ts +39 -0
- package/src/catalog/providers/fireworks-ai.ts +160 -0
- package/src/catalog/providers/google-vertex.ts +314 -0
- package/src/catalog/providers/google.ts +347 -0
- package/src/catalog/providers/groq.ts +204 -0
- package/src/catalog/providers/huggingface.ts +237 -0
- package/src/catalog/providers/inception.ts +61 -0
- package/src/catalog/providers/index.ts +59 -0
- package/src/catalog/providers/llama.ts +94 -0
- package/src/catalog/providers/mistral.ts +303 -0
- package/src/catalog/providers/nvidia.ts +820 -0
- package/src/catalog/providers/openai.ts +501 -0
- package/src/catalog/providers/openrouter.ts +2201 -0
- package/src/catalog/providers/perplexity.ts +61 -0
- package/src/catalog/providers/togetherai.ts +204 -0
- package/src/catalog/providers/xai.ts +292 -0
- package/src/catalog/types.ts +86 -0
- package/src/cost/calculate.test.ts +157 -0
- package/src/cost/calculate.ts +43 -0
- package/src/cost/index.ts +2 -0
- package/src/cost/types.ts +25 -0
- package/src/index.ts +25 -0
- package/src/provider/index.ts +9 -0
- package/src/provider/openrouter.test.ts +125 -0
- package/src/provider/openrouter.ts +110 -0
- package/src/provider/resolver.test.ts +138 -0
- package/src/provider/resolver.ts +125 -0
- package/src/provider/types.ts +39 -0
- package/src/providers/alibaba.ts +65 -0
- package/src/providers/amazon-bedrock.ts +67 -0
- package/src/providers/anthropic.ts +65 -0
- package/src/providers/cerebras.ts +65 -0
- package/src/providers/cohere.ts +65 -0
- package/src/providers/deepinfra.ts +65 -0
- package/src/providers/deepseek.ts +65 -0
- package/src/providers/fireworks-ai.ts +65 -0
- package/src/providers/google-vertex.ts +67 -0
- package/src/providers/google.ts +65 -0
- package/src/providers/groq.ts +65 -0
- package/src/providers/huggingface.ts +67 -0
- package/src/providers/inception.ts +65 -0
- package/src/providers/llama.ts +65 -0
- package/src/providers/mistral.ts +65 -0
- package/src/providers/nvidia.ts +65 -0
- package/src/providers/openai.ts +65 -0
- package/src/providers/openrouter.ts +67 -0
- package/src/providers/perplexity.ts +67 -0
- package/src/providers/togetherai.ts +65 -0
- package/src/providers/xai.ts +65 -0
- package/tsconfig.json +25 -0
- package/tsdown.config.ts +23 -0
- package/vitest.config.ts +29 -0
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
// ──────────────────────────────────────────────────────────────
|
|
2
|
+
// ███████╗██╗ ██╗███╗ ██╗██╗ ██╗ █████╗ ██╗
|
|
3
|
+
// ██╔════╝██║ ██║████╗ ██║██║ ██╔╝██╔══██╗██║
|
|
4
|
+
// █████╗ ██║ ██║██╔██╗ ██║█████╔╝ ███████║██║
|
|
5
|
+
// ██╔══╝ ██║ ██║██║╚██╗██║██╔═██╗ ██╔══██║██║
|
|
6
|
+
// ██║ ╚██████╔╝██║ ╚████║██║ ██╗██║ ██║██║
|
|
7
|
+
// ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝
|
|
8
|
+
//
|
|
9
|
+
// AUTO-GENERATED — DO NOT EDIT
|
|
10
|
+
// Source: https://models.dev
|
|
11
|
+
// Update: pnpm --filter=@funkai/models generate:models
|
|
12
|
+
// ──────────────────────────────────────────────────────────────
|
|
13
|
+
|
|
14
|
+
import type { ModelDefinition } from "../types.js";
|
|
15
|
+
|
|
16
|
+
export const MISTRAL_MODELS = [
|
|
17
|
+
{
|
|
18
|
+
id: "devstral-medium-2507",
|
|
19
|
+
name: "Devstral Medium",
|
|
20
|
+
provider: "mistral",
|
|
21
|
+
family: "devstral",
|
|
22
|
+
pricing: { input: 4e-7, output: 0.000002 },
|
|
23
|
+
contextWindow: 128000,
|
|
24
|
+
maxOutput: 128000,
|
|
25
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
26
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
id: "labs-devstral-small-2512",
|
|
30
|
+
name: "Devstral Small 2",
|
|
31
|
+
provider: "mistral",
|
|
32
|
+
family: "devstral",
|
|
33
|
+
pricing: { input: 0, output: 0 },
|
|
34
|
+
contextWindow: 256000,
|
|
35
|
+
maxOutput: 256000,
|
|
36
|
+
modalities: { input: ["text", "image"], output: ["text"] },
|
|
37
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
id: "devstral-medium-latest",
|
|
41
|
+
name: "Devstral 2 (latest)",
|
|
42
|
+
provider: "mistral",
|
|
43
|
+
family: "devstral",
|
|
44
|
+
pricing: { input: 4e-7, output: 0.000002 },
|
|
45
|
+
contextWindow: 262144,
|
|
46
|
+
maxOutput: 262144,
|
|
47
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
48
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
id: "open-mistral-7b",
|
|
52
|
+
name: "Mistral 7B",
|
|
53
|
+
provider: "mistral",
|
|
54
|
+
family: "mistral",
|
|
55
|
+
pricing: { input: 2.5e-7, output: 2.5e-7 },
|
|
56
|
+
contextWindow: 8000,
|
|
57
|
+
maxOutput: 8000,
|
|
58
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
59
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
id: "mistral-small-2506",
|
|
63
|
+
name: "Mistral Small 3.2",
|
|
64
|
+
provider: "mistral",
|
|
65
|
+
family: "mistral-small",
|
|
66
|
+
pricing: { input: 1e-7, output: 3e-7 },
|
|
67
|
+
contextWindow: 128000,
|
|
68
|
+
maxOutput: 16384,
|
|
69
|
+
modalities: { input: ["text", "image"], output: ["text"] },
|
|
70
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: "mistral-medium-2505",
|
|
74
|
+
name: "Mistral Medium 3",
|
|
75
|
+
provider: "mistral",
|
|
76
|
+
family: "mistral-medium",
|
|
77
|
+
pricing: { input: 4e-7, output: 0.000002 },
|
|
78
|
+
contextWindow: 131072,
|
|
79
|
+
maxOutput: 131072,
|
|
80
|
+
modalities: { input: ["text", "image"], output: ["text"] },
|
|
81
|
+
capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
id: "codestral-latest",
|
|
85
|
+
name: "Codestral (latest)",
|
|
86
|
+
provider: "mistral",
|
|
87
|
+
family: "codestral",
|
|
88
|
+
pricing: { input: 3e-7, output: 9e-7 },
|
|
89
|
+
contextWindow: 256000,
|
|
90
|
+
maxOutput: 4096,
|
|
91
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
92
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: "ministral-8b-latest",
|
|
96
|
+
name: "Ministral 8B (latest)",
|
|
97
|
+
provider: "mistral",
|
|
98
|
+
family: "ministral",
|
|
99
|
+
pricing: { input: 1e-7, output: 1e-7 },
|
|
100
|
+
contextWindow: 128000,
|
|
101
|
+
maxOutput: 128000,
|
|
102
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
103
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
id: "magistral-small",
|
|
107
|
+
name: "Magistral Small",
|
|
108
|
+
provider: "mistral",
|
|
109
|
+
family: "magistral-small",
|
|
110
|
+
pricing: { input: 5e-7, output: 0.0000015 },
|
|
111
|
+
contextWindow: 128000,
|
|
112
|
+
maxOutput: 128000,
|
|
113
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
114
|
+
capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
id: "mistral-large-2512",
|
|
118
|
+
name: "Mistral Large 3",
|
|
119
|
+
provider: "mistral",
|
|
120
|
+
family: "mistral-large",
|
|
121
|
+
pricing: { input: 5e-7, output: 0.0000015 },
|
|
122
|
+
contextWindow: 262144,
|
|
123
|
+
maxOutput: 262144,
|
|
124
|
+
modalities: { input: ["text", "image"], output: ["text"] },
|
|
125
|
+
capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
id: "ministral-3b-latest",
|
|
129
|
+
name: "Ministral 3B (latest)",
|
|
130
|
+
provider: "mistral",
|
|
131
|
+
family: "ministral",
|
|
132
|
+
pricing: { input: 4e-8, output: 4e-8 },
|
|
133
|
+
contextWindow: 128000,
|
|
134
|
+
maxOutput: 128000,
|
|
135
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
136
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
id: "mistral-embed",
|
|
140
|
+
name: "Mistral Embed",
|
|
141
|
+
provider: "mistral",
|
|
142
|
+
family: "mistral-embed",
|
|
143
|
+
pricing: { input: 1e-7, output: 0 },
|
|
144
|
+
contextWindow: 8000,
|
|
145
|
+
maxOutput: 3072,
|
|
146
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
147
|
+
capabilities: { reasoning: false, toolCall: false, attachment: false, structuredOutput: false },
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
id: "devstral-small-2505",
|
|
151
|
+
name: "Devstral Small 2505",
|
|
152
|
+
provider: "mistral",
|
|
153
|
+
family: "devstral",
|
|
154
|
+
pricing: { input: 1e-7, output: 3e-7 },
|
|
155
|
+
contextWindow: 128000,
|
|
156
|
+
maxOutput: 128000,
|
|
157
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
158
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
id: "pixtral-12b",
|
|
162
|
+
name: "Pixtral 12B",
|
|
163
|
+
provider: "mistral",
|
|
164
|
+
family: "pixtral",
|
|
165
|
+
pricing: { input: 1.5e-7, output: 1.5e-7 },
|
|
166
|
+
contextWindow: 128000,
|
|
167
|
+
maxOutput: 128000,
|
|
168
|
+
modalities: { input: ["text", "image"], output: ["text"] },
|
|
169
|
+
capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
id: "open-mixtral-8x7b",
|
|
173
|
+
name: "Mixtral 8x7B",
|
|
174
|
+
provider: "mistral",
|
|
175
|
+
family: "mixtral",
|
|
176
|
+
pricing: { input: 7e-7, output: 7e-7 },
|
|
177
|
+
contextWindow: 32000,
|
|
178
|
+
maxOutput: 32000,
|
|
179
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
180
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "pixtral-large-latest",
|
|
184
|
+
name: "Pixtral Large (latest)",
|
|
185
|
+
provider: "mistral",
|
|
186
|
+
family: "pixtral",
|
|
187
|
+
pricing: { input: 0.000002, output: 0.000006 },
|
|
188
|
+
contextWindow: 128000,
|
|
189
|
+
maxOutput: 128000,
|
|
190
|
+
modalities: { input: ["text", "image"], output: ["text"] },
|
|
191
|
+
capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
id: "mistral-nemo",
|
|
195
|
+
name: "Mistral Nemo",
|
|
196
|
+
provider: "mistral",
|
|
197
|
+
family: "mistral-nemo",
|
|
198
|
+
pricing: { input: 1.5e-7, output: 1.5e-7 },
|
|
199
|
+
contextWindow: 128000,
|
|
200
|
+
maxOutput: 128000,
|
|
201
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
202
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
id: "devstral-2512",
|
|
206
|
+
name: "Devstral 2",
|
|
207
|
+
provider: "mistral",
|
|
208
|
+
family: "devstral",
|
|
209
|
+
pricing: { input: 4e-7, output: 0.000002 },
|
|
210
|
+
contextWindow: 262144,
|
|
211
|
+
maxOutput: 262144,
|
|
212
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
213
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
id: "mistral-large-latest",
|
|
217
|
+
name: "Mistral Large (latest)",
|
|
218
|
+
provider: "mistral",
|
|
219
|
+
family: "mistral-large",
|
|
220
|
+
pricing: { input: 5e-7, output: 0.0000015 },
|
|
221
|
+
contextWindow: 262144,
|
|
222
|
+
maxOutput: 262144,
|
|
223
|
+
modalities: { input: ["text", "image"], output: ["text"] },
|
|
224
|
+
capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
id: "mistral-medium-2508",
|
|
228
|
+
name: "Mistral Medium 3.1",
|
|
229
|
+
provider: "mistral",
|
|
230
|
+
family: "mistral-medium",
|
|
231
|
+
pricing: { input: 4e-7, output: 0.000002 },
|
|
232
|
+
contextWindow: 262144,
|
|
233
|
+
maxOutput: 262144,
|
|
234
|
+
modalities: { input: ["text", "image"], output: ["text"] },
|
|
235
|
+
capabilities: { reasoning: false, toolCall: true, attachment: true, structuredOutput: false },
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
id: "mistral-large-2411",
|
|
239
|
+
name: "Mistral Large 2.1",
|
|
240
|
+
provider: "mistral",
|
|
241
|
+
family: "mistral-large",
|
|
242
|
+
pricing: { input: 0.000002, output: 0.000006 },
|
|
243
|
+
contextWindow: 131072,
|
|
244
|
+
maxOutput: 16384,
|
|
245
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
246
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
id: "mistral-small-latest",
|
|
250
|
+
name: "Mistral Small (latest)",
|
|
251
|
+
provider: "mistral",
|
|
252
|
+
family: "mistral-small",
|
|
253
|
+
pricing: { input: 1e-7, output: 3e-7 },
|
|
254
|
+
contextWindow: 128000,
|
|
255
|
+
maxOutput: 16384,
|
|
256
|
+
modalities: { input: ["text", "image"], output: ["text"] },
|
|
257
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
id: "open-mixtral-8x22b",
|
|
261
|
+
name: "Mixtral 8x22B",
|
|
262
|
+
provider: "mistral",
|
|
263
|
+
family: "mixtral",
|
|
264
|
+
pricing: { input: 0.000002, output: 0.000006 },
|
|
265
|
+
contextWindow: 64000,
|
|
266
|
+
maxOutput: 64000,
|
|
267
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
268
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
id: "mistral-medium-latest",
|
|
272
|
+
name: "Mistral Medium (latest)",
|
|
273
|
+
provider: "mistral",
|
|
274
|
+
family: "mistral-medium",
|
|
275
|
+
pricing: { input: 4e-7, output: 0.000002 },
|
|
276
|
+
contextWindow: 128000,
|
|
277
|
+
maxOutput: 16384,
|
|
278
|
+
modalities: { input: ["text", "image"], output: ["text"] },
|
|
279
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
id: "devstral-small-2507",
|
|
283
|
+
name: "Devstral Small",
|
|
284
|
+
provider: "mistral",
|
|
285
|
+
family: "devstral",
|
|
286
|
+
pricing: { input: 1e-7, output: 3e-7 },
|
|
287
|
+
contextWindow: 128000,
|
|
288
|
+
maxOutput: 128000,
|
|
289
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
290
|
+
capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
id: "magistral-medium-latest",
|
|
294
|
+
name: "Magistral Medium (latest)",
|
|
295
|
+
provider: "mistral",
|
|
296
|
+
family: "magistral-medium",
|
|
297
|
+
pricing: { input: 0.000002, output: 0.000005 },
|
|
298
|
+
contextWindow: 128000,
|
|
299
|
+
maxOutput: 16384,
|
|
300
|
+
modalities: { input: ["text"], output: ["text"] },
|
|
301
|
+
capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },
|
|
302
|
+
},
|
|
303
|
+
] as const satisfies readonly ModelDefinition[];
|