@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,636 @@
|
|
|
1
|
+
//#region src/catalog/providers/deepinfra.ts
|
|
2
|
+
const DEEPINFRA_MODELS = [
|
|
3
|
+
{
|
|
4
|
+
id: "zai-org/GLM-4.7-Flash",
|
|
5
|
+
name: "GLM-4.7-Flash",
|
|
6
|
+
provider: "deepinfra",
|
|
7
|
+
family: "glm-flash",
|
|
8
|
+
pricing: {
|
|
9
|
+
input: 6e-8,
|
|
10
|
+
output: 4e-7
|
|
11
|
+
},
|
|
12
|
+
contextWindow: 202752,
|
|
13
|
+
maxOutput: 16384,
|
|
14
|
+
modalities: {
|
|
15
|
+
input: ["text"],
|
|
16
|
+
output: ["text"]
|
|
17
|
+
},
|
|
18
|
+
capabilities: {
|
|
19
|
+
reasoning: true,
|
|
20
|
+
toolCall: true,
|
|
21
|
+
attachment: false,
|
|
22
|
+
structuredOutput: false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: "zai-org/GLM-4.6",
|
|
27
|
+
name: "GLM-4.6",
|
|
28
|
+
provider: "deepinfra",
|
|
29
|
+
family: "glm",
|
|
30
|
+
pricing: {
|
|
31
|
+
input: 43e-8,
|
|
32
|
+
output: 174e-8,
|
|
33
|
+
cacheRead: 8e-8
|
|
34
|
+
},
|
|
35
|
+
contextWindow: 204800,
|
|
36
|
+
maxOutput: 131072,
|
|
37
|
+
modalities: {
|
|
38
|
+
input: ["text"],
|
|
39
|
+
output: ["text"]
|
|
40
|
+
},
|
|
41
|
+
capabilities: {
|
|
42
|
+
reasoning: true,
|
|
43
|
+
toolCall: true,
|
|
44
|
+
attachment: false,
|
|
45
|
+
structuredOutput: false
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: "zai-org/GLM-4.7",
|
|
50
|
+
name: "GLM-4.7",
|
|
51
|
+
provider: "deepinfra",
|
|
52
|
+
family: "glm",
|
|
53
|
+
pricing: {
|
|
54
|
+
input: 43e-8,
|
|
55
|
+
output: 175e-8,
|
|
56
|
+
cacheRead: 8e-8
|
|
57
|
+
},
|
|
58
|
+
contextWindow: 202752,
|
|
59
|
+
maxOutput: 16384,
|
|
60
|
+
modalities: {
|
|
61
|
+
input: ["text"],
|
|
62
|
+
output: ["text"]
|
|
63
|
+
},
|
|
64
|
+
capabilities: {
|
|
65
|
+
reasoning: true,
|
|
66
|
+
toolCall: true,
|
|
67
|
+
attachment: false,
|
|
68
|
+
structuredOutput: false
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
id: "zai-org/GLM-4.6V",
|
|
73
|
+
name: "GLM-4.6V",
|
|
74
|
+
provider: "deepinfra",
|
|
75
|
+
family: "glm",
|
|
76
|
+
pricing: {
|
|
77
|
+
input: 3e-7,
|
|
78
|
+
output: 9e-7
|
|
79
|
+
},
|
|
80
|
+
contextWindow: 204800,
|
|
81
|
+
maxOutput: 131072,
|
|
82
|
+
modalities: {
|
|
83
|
+
input: ["text", "image"],
|
|
84
|
+
output: ["text"]
|
|
85
|
+
},
|
|
86
|
+
capabilities: {
|
|
87
|
+
reasoning: true,
|
|
88
|
+
toolCall: true,
|
|
89
|
+
attachment: true,
|
|
90
|
+
structuredOutput: false
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
id: "zai-org/GLM-4.5",
|
|
95
|
+
name: "GLM-4.5",
|
|
96
|
+
provider: "deepinfra",
|
|
97
|
+
family: "glm",
|
|
98
|
+
pricing: {
|
|
99
|
+
input: 6e-7,
|
|
100
|
+
output: 22e-7
|
|
101
|
+
},
|
|
102
|
+
contextWindow: 131072,
|
|
103
|
+
maxOutput: 98304,
|
|
104
|
+
modalities: {
|
|
105
|
+
input: ["text"],
|
|
106
|
+
output: ["text"]
|
|
107
|
+
},
|
|
108
|
+
capabilities: {
|
|
109
|
+
reasoning: false,
|
|
110
|
+
toolCall: true,
|
|
111
|
+
attachment: false,
|
|
112
|
+
structuredOutput: false
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
id: "zai-org/GLM-5",
|
|
117
|
+
name: "GLM-5",
|
|
118
|
+
provider: "deepinfra",
|
|
119
|
+
family: "glm",
|
|
120
|
+
pricing: {
|
|
121
|
+
input: 8e-7,
|
|
122
|
+
output: 256e-8,
|
|
123
|
+
cacheRead: 16e-8
|
|
124
|
+
},
|
|
125
|
+
contextWindow: 202752,
|
|
126
|
+
maxOutput: 16384,
|
|
127
|
+
modalities: {
|
|
128
|
+
input: ["text"],
|
|
129
|
+
output: ["text"]
|
|
130
|
+
},
|
|
131
|
+
capabilities: {
|
|
132
|
+
reasoning: true,
|
|
133
|
+
toolCall: true,
|
|
134
|
+
attachment: false,
|
|
135
|
+
structuredOutput: false
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
id: "MiniMaxAI/MiniMax-M2.5",
|
|
140
|
+
name: "MiniMax M2.5",
|
|
141
|
+
provider: "deepinfra",
|
|
142
|
+
family: "minimax",
|
|
143
|
+
pricing: {
|
|
144
|
+
input: 27e-8,
|
|
145
|
+
output: 95e-8,
|
|
146
|
+
cacheRead: 3e-8,
|
|
147
|
+
cacheWrite: 375e-9
|
|
148
|
+
},
|
|
149
|
+
contextWindow: 204800,
|
|
150
|
+
maxOutput: 131072,
|
|
151
|
+
modalities: {
|
|
152
|
+
input: ["text"],
|
|
153
|
+
output: ["text"]
|
|
154
|
+
},
|
|
155
|
+
capabilities: {
|
|
156
|
+
reasoning: true,
|
|
157
|
+
toolCall: true,
|
|
158
|
+
attachment: false,
|
|
159
|
+
structuredOutput: false
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
id: "MiniMaxAI/MiniMax-M2",
|
|
164
|
+
name: "MiniMax M2",
|
|
165
|
+
provider: "deepinfra",
|
|
166
|
+
family: "minimax",
|
|
167
|
+
pricing: {
|
|
168
|
+
input: 254e-9,
|
|
169
|
+
output: 102e-8
|
|
170
|
+
},
|
|
171
|
+
contextWindow: 262144,
|
|
172
|
+
maxOutput: 32768,
|
|
173
|
+
modalities: {
|
|
174
|
+
input: ["text"],
|
|
175
|
+
output: ["text"]
|
|
176
|
+
},
|
|
177
|
+
capabilities: {
|
|
178
|
+
reasoning: true,
|
|
179
|
+
toolCall: true,
|
|
180
|
+
attachment: false,
|
|
181
|
+
structuredOutput: false
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
id: "MiniMaxAI/MiniMax-M2.1",
|
|
186
|
+
name: "MiniMax M2.1",
|
|
187
|
+
provider: "deepinfra",
|
|
188
|
+
family: "",
|
|
189
|
+
pricing: {
|
|
190
|
+
input: 28e-8,
|
|
191
|
+
output: 12e-7
|
|
192
|
+
},
|
|
193
|
+
contextWindow: 196608,
|
|
194
|
+
maxOutput: 196608,
|
|
195
|
+
modalities: {
|
|
196
|
+
input: ["text"],
|
|
197
|
+
output: ["text"]
|
|
198
|
+
},
|
|
199
|
+
capabilities: {
|
|
200
|
+
reasoning: true,
|
|
201
|
+
toolCall: true,
|
|
202
|
+
attachment: false,
|
|
203
|
+
structuredOutput: false
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
id: "deepseek-ai/DeepSeek-R1-0528",
|
|
208
|
+
name: "DeepSeek-R1-0528",
|
|
209
|
+
provider: "deepinfra",
|
|
210
|
+
family: "",
|
|
211
|
+
pricing: {
|
|
212
|
+
input: 5e-7,
|
|
213
|
+
output: 215e-8,
|
|
214
|
+
cacheRead: 35e-8
|
|
215
|
+
},
|
|
216
|
+
contextWindow: 163840,
|
|
217
|
+
maxOutput: 64e3,
|
|
218
|
+
modalities: {
|
|
219
|
+
input: ["text"],
|
|
220
|
+
output: ["text"]
|
|
221
|
+
},
|
|
222
|
+
capabilities: {
|
|
223
|
+
reasoning: true,
|
|
224
|
+
toolCall: false,
|
|
225
|
+
attachment: false,
|
|
226
|
+
structuredOutput: false
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
id: "deepseek-ai/DeepSeek-V3.2",
|
|
231
|
+
name: "DeepSeek-V3.2",
|
|
232
|
+
provider: "deepinfra",
|
|
233
|
+
family: "",
|
|
234
|
+
pricing: {
|
|
235
|
+
input: 26e-8,
|
|
236
|
+
output: 38e-8,
|
|
237
|
+
cacheRead: 13e-8
|
|
238
|
+
},
|
|
239
|
+
contextWindow: 163840,
|
|
240
|
+
maxOutput: 64e3,
|
|
241
|
+
modalities: {
|
|
242
|
+
input: ["text"],
|
|
243
|
+
output: ["text"]
|
|
244
|
+
},
|
|
245
|
+
capabilities: {
|
|
246
|
+
reasoning: true,
|
|
247
|
+
toolCall: true,
|
|
248
|
+
attachment: false,
|
|
249
|
+
structuredOutput: false
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
id: "moonshotai/Kimi-K2-Instruct",
|
|
254
|
+
name: "Kimi K2",
|
|
255
|
+
provider: "deepinfra",
|
|
256
|
+
family: "kimi",
|
|
257
|
+
pricing: {
|
|
258
|
+
input: 5e-7,
|
|
259
|
+
output: 2e-6
|
|
260
|
+
},
|
|
261
|
+
contextWindow: 131072,
|
|
262
|
+
maxOutput: 32768,
|
|
263
|
+
modalities: {
|
|
264
|
+
input: ["text"],
|
|
265
|
+
output: ["text"]
|
|
266
|
+
},
|
|
267
|
+
capabilities: {
|
|
268
|
+
reasoning: false,
|
|
269
|
+
toolCall: true,
|
|
270
|
+
attachment: false,
|
|
271
|
+
structuredOutput: false
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
id: "moonshotai/Kimi-K2-Instruct-0905",
|
|
276
|
+
name: "Kimi K2 0905",
|
|
277
|
+
provider: "deepinfra",
|
|
278
|
+
family: "kimi",
|
|
279
|
+
pricing: {
|
|
280
|
+
input: 4e-7,
|
|
281
|
+
output: 2e-6,
|
|
282
|
+
cacheRead: 15e-8
|
|
283
|
+
},
|
|
284
|
+
contextWindow: 262144,
|
|
285
|
+
maxOutput: 262144,
|
|
286
|
+
modalities: {
|
|
287
|
+
input: ["text"],
|
|
288
|
+
output: ["text"]
|
|
289
|
+
},
|
|
290
|
+
capabilities: {
|
|
291
|
+
reasoning: false,
|
|
292
|
+
toolCall: true,
|
|
293
|
+
attachment: false,
|
|
294
|
+
structuredOutput: false
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
id: "moonshotai/Kimi-K2.5",
|
|
299
|
+
name: "Kimi K2.5",
|
|
300
|
+
provider: "deepinfra",
|
|
301
|
+
family: "kimi",
|
|
302
|
+
pricing: {
|
|
303
|
+
input: 5e-7,
|
|
304
|
+
output: 28e-7
|
|
305
|
+
},
|
|
306
|
+
contextWindow: 262144,
|
|
307
|
+
maxOutput: 32768,
|
|
308
|
+
modalities: {
|
|
309
|
+
input: [
|
|
310
|
+
"text",
|
|
311
|
+
"image",
|
|
312
|
+
"video"
|
|
313
|
+
],
|
|
314
|
+
output: ["text"]
|
|
315
|
+
},
|
|
316
|
+
capabilities: {
|
|
317
|
+
reasoning: true,
|
|
318
|
+
toolCall: true,
|
|
319
|
+
attachment: true,
|
|
320
|
+
structuredOutput: true
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
id: "moonshotai/Kimi-K2-Thinking",
|
|
325
|
+
name: "Kimi K2 Thinking",
|
|
326
|
+
provider: "deepinfra",
|
|
327
|
+
family: "kimi-thinking",
|
|
328
|
+
pricing: {
|
|
329
|
+
input: 47e-8,
|
|
330
|
+
output: 2e-6
|
|
331
|
+
},
|
|
332
|
+
contextWindow: 131072,
|
|
333
|
+
maxOutput: 32768,
|
|
334
|
+
modalities: {
|
|
335
|
+
input: ["text"],
|
|
336
|
+
output: ["text"]
|
|
337
|
+
},
|
|
338
|
+
capabilities: {
|
|
339
|
+
reasoning: true,
|
|
340
|
+
toolCall: true,
|
|
341
|
+
attachment: false,
|
|
342
|
+
structuredOutput: false
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
id: "meta-llama/Llama-3.1-8B-Instruct-Turbo",
|
|
347
|
+
name: "Llama 3.1 8B Turbo",
|
|
348
|
+
provider: "deepinfra",
|
|
349
|
+
family: "llama",
|
|
350
|
+
pricing: {
|
|
351
|
+
input: 2e-8,
|
|
352
|
+
output: 3e-8
|
|
353
|
+
},
|
|
354
|
+
contextWindow: 131072,
|
|
355
|
+
maxOutput: 16384,
|
|
356
|
+
modalities: {
|
|
357
|
+
input: ["text"],
|
|
358
|
+
output: ["text"]
|
|
359
|
+
},
|
|
360
|
+
capabilities: {
|
|
361
|
+
reasoning: false,
|
|
362
|
+
toolCall: true,
|
|
363
|
+
attachment: false,
|
|
364
|
+
structuredOutput: false
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
id: "meta-llama/Llama-3.1-70B-Instruct-Turbo",
|
|
369
|
+
name: "Llama 3.1 70B Turbo",
|
|
370
|
+
provider: "deepinfra",
|
|
371
|
+
family: "llama",
|
|
372
|
+
pricing: {
|
|
373
|
+
input: 4e-7,
|
|
374
|
+
output: 4e-7
|
|
375
|
+
},
|
|
376
|
+
contextWindow: 131072,
|
|
377
|
+
maxOutput: 16384,
|
|
378
|
+
modalities: {
|
|
379
|
+
input: ["text"],
|
|
380
|
+
output: ["text"]
|
|
381
|
+
},
|
|
382
|
+
capabilities: {
|
|
383
|
+
reasoning: false,
|
|
384
|
+
toolCall: true,
|
|
385
|
+
attachment: false,
|
|
386
|
+
structuredOutput: false
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
id: "meta-llama/Llama-4-Scout-17B-16E-Instruct",
|
|
391
|
+
name: "Llama 4 Scout 17B",
|
|
392
|
+
provider: "deepinfra",
|
|
393
|
+
family: "llama",
|
|
394
|
+
pricing: {
|
|
395
|
+
input: 8e-8,
|
|
396
|
+
output: 3e-7
|
|
397
|
+
},
|
|
398
|
+
contextWindow: 1e7,
|
|
399
|
+
maxOutput: 16384,
|
|
400
|
+
modalities: {
|
|
401
|
+
input: ["text", "image"],
|
|
402
|
+
output: ["text"]
|
|
403
|
+
},
|
|
404
|
+
capabilities: {
|
|
405
|
+
reasoning: false,
|
|
406
|
+
toolCall: true,
|
|
407
|
+
attachment: false,
|
|
408
|
+
structuredOutput: false
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
id: "meta-llama/Llama-3.1-70B-Instruct",
|
|
413
|
+
name: "Llama 3.1 70B",
|
|
414
|
+
provider: "deepinfra",
|
|
415
|
+
family: "llama",
|
|
416
|
+
pricing: {
|
|
417
|
+
input: 4e-7,
|
|
418
|
+
output: 4e-7
|
|
419
|
+
},
|
|
420
|
+
contextWindow: 131072,
|
|
421
|
+
maxOutput: 16384,
|
|
422
|
+
modalities: {
|
|
423
|
+
input: ["text"],
|
|
424
|
+
output: ["text"]
|
|
425
|
+
},
|
|
426
|
+
capabilities: {
|
|
427
|
+
reasoning: false,
|
|
428
|
+
toolCall: true,
|
|
429
|
+
attachment: false,
|
|
430
|
+
structuredOutput: false
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
id: "meta-llama/Llama-3.1-8B-Instruct",
|
|
435
|
+
name: "Llama 3.1 8B",
|
|
436
|
+
provider: "deepinfra",
|
|
437
|
+
family: "llama",
|
|
438
|
+
pricing: {
|
|
439
|
+
input: 2e-8,
|
|
440
|
+
output: 5e-8
|
|
441
|
+
},
|
|
442
|
+
contextWindow: 131072,
|
|
443
|
+
maxOutput: 16384,
|
|
444
|
+
modalities: {
|
|
445
|
+
input: ["text"],
|
|
446
|
+
output: ["text"]
|
|
447
|
+
},
|
|
448
|
+
capabilities: {
|
|
449
|
+
reasoning: false,
|
|
450
|
+
toolCall: true,
|
|
451
|
+
attachment: false,
|
|
452
|
+
structuredOutput: false
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
id: "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8",
|
|
457
|
+
name: "Llama 4 Maverick 17B FP8",
|
|
458
|
+
provider: "deepinfra",
|
|
459
|
+
family: "llama",
|
|
460
|
+
pricing: {
|
|
461
|
+
input: 15e-8,
|
|
462
|
+
output: 6e-7
|
|
463
|
+
},
|
|
464
|
+
contextWindow: 1e6,
|
|
465
|
+
maxOutput: 16384,
|
|
466
|
+
modalities: {
|
|
467
|
+
input: ["text", "image"],
|
|
468
|
+
output: ["text"]
|
|
469
|
+
},
|
|
470
|
+
capabilities: {
|
|
471
|
+
reasoning: false,
|
|
472
|
+
toolCall: true,
|
|
473
|
+
attachment: false,
|
|
474
|
+
structuredOutput: false
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
id: "meta-llama/Llama-3.3-70B-Instruct-Turbo",
|
|
479
|
+
name: "Llama 3.3 70B Turbo",
|
|
480
|
+
provider: "deepinfra",
|
|
481
|
+
family: "llama",
|
|
482
|
+
pricing: {
|
|
483
|
+
input: 1e-7,
|
|
484
|
+
output: 32e-8
|
|
485
|
+
},
|
|
486
|
+
contextWindow: 131072,
|
|
487
|
+
maxOutput: 16384,
|
|
488
|
+
modalities: {
|
|
489
|
+
input: ["text"],
|
|
490
|
+
output: ["text"]
|
|
491
|
+
},
|
|
492
|
+
capabilities: {
|
|
493
|
+
reasoning: false,
|
|
494
|
+
toolCall: true,
|
|
495
|
+
attachment: false,
|
|
496
|
+
structuredOutput: false
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
id: "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo",
|
|
501
|
+
name: "Qwen3 Coder 480B A35B Instruct Turbo",
|
|
502
|
+
provider: "deepinfra",
|
|
503
|
+
family: "qwen",
|
|
504
|
+
pricing: {
|
|
505
|
+
input: 3e-7,
|
|
506
|
+
output: 12e-7
|
|
507
|
+
},
|
|
508
|
+
contextWindow: 262144,
|
|
509
|
+
maxOutput: 66536,
|
|
510
|
+
modalities: {
|
|
511
|
+
input: ["text"],
|
|
512
|
+
output: ["text"]
|
|
513
|
+
},
|
|
514
|
+
capabilities: {
|
|
515
|
+
reasoning: false,
|
|
516
|
+
toolCall: true,
|
|
517
|
+
attachment: false,
|
|
518
|
+
structuredOutput: false
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
id: "Qwen/Qwen3-Coder-480B-A35B-Instruct",
|
|
523
|
+
name: "Qwen3 Coder 480B A35B Instruct",
|
|
524
|
+
provider: "deepinfra",
|
|
525
|
+
family: "qwen",
|
|
526
|
+
pricing: {
|
|
527
|
+
input: 4e-7,
|
|
528
|
+
output: 16e-7
|
|
529
|
+
},
|
|
530
|
+
contextWindow: 262144,
|
|
531
|
+
maxOutput: 66536,
|
|
532
|
+
modalities: {
|
|
533
|
+
input: ["text"],
|
|
534
|
+
output: ["text"]
|
|
535
|
+
},
|
|
536
|
+
capabilities: {
|
|
537
|
+
reasoning: false,
|
|
538
|
+
toolCall: true,
|
|
539
|
+
attachment: false,
|
|
540
|
+
structuredOutput: false
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
id: "openai/gpt-oss-120b",
|
|
545
|
+
name: "GPT OSS 120B",
|
|
546
|
+
provider: "deepinfra",
|
|
547
|
+
family: "gpt-oss",
|
|
548
|
+
pricing: {
|
|
549
|
+
input: 5e-8,
|
|
550
|
+
output: 24e-8
|
|
551
|
+
},
|
|
552
|
+
contextWindow: 131072,
|
|
553
|
+
maxOutput: 16384,
|
|
554
|
+
modalities: {
|
|
555
|
+
input: ["text"],
|
|
556
|
+
output: ["text"]
|
|
557
|
+
},
|
|
558
|
+
capabilities: {
|
|
559
|
+
reasoning: true,
|
|
560
|
+
toolCall: true,
|
|
561
|
+
attachment: false,
|
|
562
|
+
structuredOutput: false
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
id: "openai/gpt-oss-20b",
|
|
567
|
+
name: "GPT OSS 20B",
|
|
568
|
+
provider: "deepinfra",
|
|
569
|
+
family: "gpt-oss",
|
|
570
|
+
pricing: {
|
|
571
|
+
input: 3e-8,
|
|
572
|
+
output: 14e-8
|
|
573
|
+
},
|
|
574
|
+
contextWindow: 131072,
|
|
575
|
+
maxOutput: 16384,
|
|
576
|
+
modalities: {
|
|
577
|
+
input: ["text"],
|
|
578
|
+
output: ["text"]
|
|
579
|
+
},
|
|
580
|
+
capabilities: {
|
|
581
|
+
reasoning: true,
|
|
582
|
+
toolCall: true,
|
|
583
|
+
attachment: false,
|
|
584
|
+
structuredOutput: false
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
id: "anthropic/claude-3-7-sonnet-latest",
|
|
589
|
+
name: "Claude Sonnet 3.7 (Latest)",
|
|
590
|
+
provider: "deepinfra",
|
|
591
|
+
family: "claude-sonnet",
|
|
592
|
+
pricing: {
|
|
593
|
+
input: 33e-7,
|
|
594
|
+
output: 165e-7,
|
|
595
|
+
cacheRead: 33e-8
|
|
596
|
+
},
|
|
597
|
+
contextWindow: 2e5,
|
|
598
|
+
maxOutput: 64e3,
|
|
599
|
+
modalities: {
|
|
600
|
+
input: ["text", "image"],
|
|
601
|
+
output: ["text"]
|
|
602
|
+
},
|
|
603
|
+
capabilities: {
|
|
604
|
+
reasoning: true,
|
|
605
|
+
toolCall: true,
|
|
606
|
+
attachment: true,
|
|
607
|
+
structuredOutput: false
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
id: "anthropic/claude-4-opus",
|
|
612
|
+
name: "Claude Opus 4",
|
|
613
|
+
provider: "deepinfra",
|
|
614
|
+
family: "claude-opus",
|
|
615
|
+
pricing: {
|
|
616
|
+
input: 165e-7,
|
|
617
|
+
output: 825e-7
|
|
618
|
+
},
|
|
619
|
+
contextWindow: 2e5,
|
|
620
|
+
maxOutput: 32e3,
|
|
621
|
+
modalities: {
|
|
622
|
+
input: ["text", "image"],
|
|
623
|
+
output: ["text"]
|
|
624
|
+
},
|
|
625
|
+
capabilities: {
|
|
626
|
+
reasoning: true,
|
|
627
|
+
toolCall: true,
|
|
628
|
+
attachment: true,
|
|
629
|
+
structuredOutput: false
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
];
|
|
633
|
+
//#endregion
|
|
634
|
+
export { DEEPINFRA_MODELS as t };
|
|
635
|
+
|
|
636
|
+
//# sourceMappingURL=deepinfra-B0GxUwCG.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deepinfra-B0GxUwCG.mjs","names":[],"sources":["../src/catalog/providers/deepinfra.ts"],"sourcesContent":["// ──────────────────────────────────────────────────────────────\n// ███████╗██╗ ██╗███╗ ██╗██╗ ██╗ █████╗ ██╗\n// ██╔════╝██║ ██║████╗ ██║██║ ██╔╝██╔══██╗██║\n// █████╗ ██║ ██║██╔██╗ ██║█████╔╝ ███████║██║\n// ██╔══╝ ██║ ██║██║╚██╗██║██╔═██╗ ██╔══██║██║\n// ██║ ╚██████╔╝██║ ╚████║██║ ██╗██║ ██║██║\n// ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝\n//\n// AUTO-GENERATED — DO NOT EDIT\n// Source: https://models.dev\n// Update: pnpm --filter=@funkai/models generate:models\n// ──────────────────────────────────────────────────────────────\n\nimport type { ModelDefinition } from \"../types.js\";\n\nexport const DEEPINFRA_MODELS = [\n {\n id: \"zai-org/GLM-4.7-Flash\",\n name: \"GLM-4.7-Flash\",\n provider: \"deepinfra\",\n family: \"glm-flash\",\n pricing: { input: 6e-8, output: 4e-7 },\n contextWindow: 202752,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"zai-org/GLM-4.6\",\n name: \"GLM-4.6\",\n provider: \"deepinfra\",\n family: \"glm\",\n pricing: { input: 4.3e-7, output: 0.00000174, cacheRead: 8e-8 },\n contextWindow: 204800,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"zai-org/GLM-4.7\",\n name: \"GLM-4.7\",\n provider: \"deepinfra\",\n family: \"glm\",\n pricing: { input: 4.3e-7, output: 0.00000175, cacheRead: 8e-8 },\n contextWindow: 202752,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"zai-org/GLM-4.6V\",\n name: \"GLM-4.6V\",\n provider: \"deepinfra\",\n family: \"glm\",\n pricing: { input: 3e-7, output: 9e-7 },\n contextWindow: 204800,\n maxOutput: 131072,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"zai-org/GLM-4.5\",\n name: \"GLM-4.5\",\n provider: \"deepinfra\",\n family: \"glm\",\n pricing: { input: 6e-7, output: 0.0000022 },\n contextWindow: 131072,\n maxOutput: 98304,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"zai-org/GLM-5\",\n name: \"GLM-5\",\n provider: \"deepinfra\",\n family: \"glm\",\n pricing: { input: 8e-7, output: 0.00000256, cacheRead: 1.6e-7 },\n contextWindow: 202752,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"MiniMaxAI/MiniMax-M2.5\",\n name: \"MiniMax M2.5\",\n provider: \"deepinfra\",\n family: \"minimax\",\n pricing: { input: 2.7e-7, output: 9.5e-7, cacheRead: 3e-8, cacheWrite: 3.75e-7 },\n contextWindow: 204800,\n maxOutput: 131072,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"MiniMaxAI/MiniMax-M2\",\n name: \"MiniMax M2\",\n provider: \"deepinfra\",\n family: \"minimax\",\n pricing: { input: 2.54e-7, output: 0.00000102 },\n contextWindow: 262144,\n maxOutput: 32768,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"MiniMaxAI/MiniMax-M2.1\",\n name: \"MiniMax M2.1\",\n provider: \"deepinfra\",\n family: \"\",\n pricing: { input: 2.8e-7, output: 0.0000012 },\n contextWindow: 196608,\n maxOutput: 196608,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"deepseek-ai/DeepSeek-R1-0528\",\n name: \"DeepSeek-R1-0528\",\n provider: \"deepinfra\",\n family: \"\",\n pricing: { input: 5e-7, output: 0.00000215, cacheRead: 3.5e-7 },\n contextWindow: 163840,\n maxOutput: 64000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: false, attachment: false, structuredOutput: false },\n },\n {\n id: \"deepseek-ai/DeepSeek-V3.2\",\n name: \"DeepSeek-V3.2\",\n provider: \"deepinfra\",\n family: \"\",\n pricing: { input: 2.6e-7, output: 3.8e-7, cacheRead: 1.3e-7 },\n contextWindow: 163840,\n maxOutput: 64000,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"moonshotai/Kimi-K2-Instruct\",\n name: \"Kimi K2\",\n provider: \"deepinfra\",\n family: \"kimi\",\n pricing: { input: 5e-7, output: 0.000002 },\n contextWindow: 131072,\n maxOutput: 32768,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"moonshotai/Kimi-K2-Instruct-0905\",\n name: \"Kimi K2 0905\",\n provider: \"deepinfra\",\n family: \"kimi\",\n pricing: { input: 4e-7, output: 0.000002, cacheRead: 1.5e-7 },\n contextWindow: 262144,\n maxOutput: 262144,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"moonshotai/Kimi-K2.5\",\n name: \"Kimi K2.5\",\n provider: \"deepinfra\",\n family: \"kimi\",\n pricing: { input: 5e-7, output: 0.0000028 },\n contextWindow: 262144,\n maxOutput: 32768,\n modalities: { input: [\"text\", \"image\", \"video\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: true },\n },\n {\n id: \"moonshotai/Kimi-K2-Thinking\",\n name: \"Kimi K2 Thinking\",\n provider: \"deepinfra\",\n family: \"kimi-thinking\",\n pricing: { input: 4.7e-7, output: 0.000002 },\n contextWindow: 131072,\n maxOutput: 32768,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"meta-llama/Llama-3.1-8B-Instruct-Turbo\",\n name: \"Llama 3.1 8B Turbo\",\n provider: \"deepinfra\",\n family: \"llama\",\n pricing: { input: 2e-8, output: 3e-8 },\n contextWindow: 131072,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"meta-llama/Llama-3.1-70B-Instruct-Turbo\",\n name: \"Llama 3.1 70B Turbo\",\n provider: \"deepinfra\",\n family: \"llama\",\n pricing: { input: 4e-7, output: 4e-7 },\n contextWindow: 131072,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"meta-llama/Llama-4-Scout-17B-16E-Instruct\",\n name: \"Llama 4 Scout 17B\",\n provider: \"deepinfra\",\n family: \"llama\",\n pricing: { input: 8e-8, output: 3e-7 },\n contextWindow: 10000000,\n maxOutput: 16384,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"meta-llama/Llama-3.1-70B-Instruct\",\n name: \"Llama 3.1 70B\",\n provider: \"deepinfra\",\n family: \"llama\",\n pricing: { input: 4e-7, output: 4e-7 },\n contextWindow: 131072,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"meta-llama/Llama-3.1-8B-Instruct\",\n name: \"Llama 3.1 8B\",\n provider: \"deepinfra\",\n family: \"llama\",\n pricing: { input: 2e-8, output: 5e-8 },\n contextWindow: 131072,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8\",\n name: \"Llama 4 Maverick 17B FP8\",\n provider: \"deepinfra\",\n family: \"llama\",\n pricing: { input: 1.5e-7, output: 6e-7 },\n contextWindow: 1000000,\n maxOutput: 16384,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"meta-llama/Llama-3.3-70B-Instruct-Turbo\",\n name: \"Llama 3.3 70B Turbo\",\n provider: \"deepinfra\",\n family: \"llama\",\n pricing: { input: 1e-7, output: 3.2e-7 },\n contextWindow: 131072,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo\",\n name: \"Qwen3 Coder 480B A35B Instruct Turbo\",\n provider: \"deepinfra\",\n family: \"qwen\",\n pricing: { input: 3e-7, output: 0.0000012 },\n contextWindow: 262144,\n maxOutput: 66536,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"Qwen/Qwen3-Coder-480B-A35B-Instruct\",\n name: \"Qwen3 Coder 480B A35B Instruct\",\n provider: \"deepinfra\",\n family: \"qwen\",\n pricing: { input: 4e-7, output: 0.0000016 },\n contextWindow: 262144,\n maxOutput: 66536,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: false, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"openai/gpt-oss-120b\",\n name: \"GPT OSS 120B\",\n provider: \"deepinfra\",\n family: \"gpt-oss\",\n pricing: { input: 5e-8, output: 2.4e-7 },\n contextWindow: 131072,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"openai/gpt-oss-20b\",\n name: \"GPT OSS 20B\",\n provider: \"deepinfra\",\n family: \"gpt-oss\",\n pricing: { input: 3e-8, output: 1.4e-7 },\n contextWindow: 131072,\n maxOutput: 16384,\n modalities: { input: [\"text\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: false, structuredOutput: false },\n },\n {\n id: \"anthropic/claude-3-7-sonnet-latest\",\n name: \"Claude Sonnet 3.7 (Latest)\",\n provider: \"deepinfra\",\n family: \"claude-sonnet\",\n pricing: { input: 0.0000033, output: 0.0000165, cacheRead: 3.3e-7 },\n contextWindow: 200000,\n maxOutput: 64000,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n {\n id: \"anthropic/claude-4-opus\",\n name: \"Claude Opus 4\",\n provider: \"deepinfra\",\n family: \"claude-opus\",\n pricing: { input: 0.0000165, output: 0.0000825 },\n contextWindow: 200000,\n maxOutput: 32000,\n modalities: { input: [\"text\", \"image\"], output: [\"text\"] },\n capabilities: { reasoning: true, toolCall: true, attachment: true, structuredOutput: false },\n },\n] as const satisfies readonly ModelDefinition[];\n"],"mappings":";AAeA,MAAa,mBAAmB;CAC9B;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAM,QAAQ;GAAM;EACtC,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAM,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC9F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAQ,QAAQ;GAAY,WAAW;GAAM;EAC/D,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAM,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC9F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAQ,QAAQ;GAAY,WAAW;GAAM;EAC/D,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,OAAO;GAAE,QAAQ,CAAC,OAAO;GAAE;EACjD,cAAc;GAAE,WAAW;GAAM,UAAU;GAAM,YAAY;GAAO,kBAAkB;GAAO;EAC9F;CACD;EACE,IAAI;EACJ,MAAM;EACN,UAAU;EACV,QAAQ;EACR,SAAS;GAAE,OAAO;GAAM,QAAQ;GAAM;EACtC,eAAe;EACf,WAAW;EACX,YAAY;GAAE,OAAO,CAAC,QAAQ,QAAQ;GAAE,QAAQ,CAAC,OAAO;GAAE;EAC1D,cA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