modelpedia 0.0.2 → 0.0.3

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.
Files changed (64) hide show
  1. package/README.md +135 -0
  2. package/dist/index.cjs +1 -101
  3. package/dist/index.mjs +1 -92
  4. package/dist/providers/alibaba.cjs +4 -835
  5. package/dist/providers/alibaba.mjs +4 -833
  6. package/dist/providers/amazon.cjs +4 -1484
  7. package/dist/providers/amazon.mjs +4 -1482
  8. package/dist/providers/anthropic.cjs +3 -698
  9. package/dist/providers/anthropic.mjs +3 -696
  10. package/dist/providers/azure.cjs +6 -1491
  11. package/dist/providers/azure.mjs +6 -1489
  12. package/dist/providers/baseten.cjs +3 -279
  13. package/dist/providers/baseten.mjs +3 -277
  14. package/dist/providers/cerebras.cjs +4 -145
  15. package/dist/providers/cerebras.mjs +4 -143
  16. package/dist/providers/cloudflare.cjs +4 -826
  17. package/dist/providers/cloudflare.mjs +4 -824
  18. package/dist/providers/cohere.cjs +5 -525
  19. package/dist/providers/cohere.mjs +5 -523
  20. package/dist/providers/cursor.cjs +1 -856
  21. package/dist/providers/cursor.mjs +1 -854
  22. package/dist/providers/deepseek.cjs +3 -64
  23. package/dist/providers/deepseek.mjs +3 -62
  24. package/dist/providers/fireworks.cjs +3 -3794
  25. package/dist/providers/fireworks.mjs +3 -3792
  26. package/dist/providers/google.cjs +6 -972
  27. package/dist/providers/google.mjs +6 -970
  28. package/dist/providers/groq.cjs +3 -353
  29. package/dist/providers/groq.mjs +3 -351
  30. package/dist/providers/huggingface.cjs +3 -1022
  31. package/dist/providers/huggingface.mjs +3 -1020
  32. package/dist/providers/meta.cjs +3 -481
  33. package/dist/providers/meta.mjs +3 -479
  34. package/dist/providers/minimax.cjs +3 -156
  35. package/dist/providers/minimax.mjs +3 -154
  36. package/dist/providers/mistral.cjs +3 -1594
  37. package/dist/providers/mistral.mjs +3 -1592
  38. package/dist/providers/moonshot.cjs +3 -138
  39. package/dist/providers/moonshot.mjs +3 -136
  40. package/dist/providers/nvidia.cjs +3 -2040
  41. package/dist/providers/nvidia.mjs +3 -2038
  42. package/dist/providers/ollama.cjs +3 -326
  43. package/dist/providers/ollama.mjs +3 -324
  44. package/dist/providers/openai.cjs +3 -9079
  45. package/dist/providers/openai.mjs +3 -9077
  46. package/dist/providers/opencode.cjs +3 -367
  47. package/dist/providers/opencode.mjs +3 -365
  48. package/dist/providers/openrouter.cjs +12 -7835
  49. package/dist/providers/openrouter.mjs +12 -7833
  50. package/dist/providers/perplexity.cjs +3 -311
  51. package/dist/providers/perplexity.mjs +3 -309
  52. package/dist/providers/qwen.cjs +3 -835
  53. package/dist/providers/qwen.mjs +3 -833
  54. package/dist/providers/together.cjs +4 -360
  55. package/dist/providers/together.mjs +4 -358
  56. package/dist/providers/vercel.cjs +3 -4037
  57. package/dist/providers/vercel.mjs +3 -4035
  58. package/dist/providers/vertex.cjs +10 -1072
  59. package/dist/providers/vertex.mjs +10 -1070
  60. package/dist/providers/xai.cjs +3 -301
  61. package/dist/providers/xai.mjs +3 -299
  62. package/dist/providers/zai.cjs +3 -243
  63. package/dist/providers/zai.mjs +3 -241
  64. package/package.json +1 -1
@@ -1,479 +1,3 @@
1
- //#region src/providers/meta.ts
2
- const provider = {
3
- "id": "meta",
4
- "name": "Meta Llama",
5
- "region": "US",
6
- "url": "https://llama.developer.meta.com",
7
- "api_url": "https://api.llama.developer.meta.com/v1",
8
- "docs_url": "https://llama.developer.meta.com/docs/models",
9
- "pricing_url": "https://llama.developer.meta.com/docs/getting-started/pricing",
10
- "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M6.897 4c1.915 0 3.516.932 5.43 3.376l.282-.373c.19-.246.383-.484.58-.71l.313-.35C14.588 4.788 15.792 4 17.225 4c1.273 0 2.469.557 3.491 1.516l.218.213c1.73 1.765 2.917 4.71 3.053 8.026l.011.392.002.25c0 1.501-.28 2.759-.818 3.7l-.14.23-.108.153c-.301.42-.664.758-1.086 1.009l-.265.142-.087.04a3.493 3.493 0 01-.302.118 4.117 4.117 0 01-1.33.208c-.524 0-.996-.067-1.438-.215-.614-.204-1.163-.56-1.726-1.116l-.227-.235c-.753-.812-1.534-1.976-2.493-3.586l-1.43-2.41-.544-.895-1.766 3.13-.343.592C7.597 19.156 6.227 20 4.356 20c-1.21 0-2.205-.42-2.936-1.182l-.168-.184c-.484-.573-.837-1.311-1.043-2.189l-.067-.32a8.69 8.69 0 01-.136-1.288L0 14.468c.002-.745.06-1.49.174-2.23l.1-.573c.298-1.53.828-2.958 1.536-4.157l.209-.34c1.177-1.83 2.789-3.053 4.615-3.16L6.897 4zm-.033 2.615l-.201.01c-.83.083-1.606.673-2.252 1.577l-.138.199-.01.018c-.67 1.017-1.185 2.378-1.456 3.845l-.004.022a12.591 12.591 0 00-.207 2.254l.002.188c.004.18.017.36.04.54l.043.291c.092.503.257.908.486 1.208l.117.137c.303.323.698.492 1.17.492 1.1 0 1.796-.676 3.696-3.641l2.175-3.4.454-.701-.139-.198C9.11 7.3 8.084 6.616 6.864 6.616zm10.196-.552l-.176.007c-.635.048-1.223.359-1.82.933l-.196.198c-.439.462-.887 1.064-1.367 1.807l.266.398c.18.274.362.56.55.858l.293.475 1.396 2.335.695 1.114c.583.926 1.03 1.6 1.408 2.082l.213.262c.282.326.529.54.777.673l.102.05c.227.1.457.138.718.138.176.002.35-.023.518-.073.338-.104.61-.32.813-.637l.095-.163.077-.162c.194-.459.29-1.06.29-1.785l-.006-.449c-.08-2.871-.938-5.372-2.2-6.798l-.176-.189c-.67-.683-1.444-1.074-2.27-1.074z\"/>\n</svg>",
11
- "models": [
12
- {
13
- "id": "CodeLlama-13b-Instruct-hf",
14
- "name": "CodeLlama-13b-Instruct-hf",
15
- "created_by": "meta",
16
- "source": "official",
17
- "last_updated": "2026-03-21",
18
- "capabilities": {
19
- "streaming": true,
20
- "tool_call": true
21
- },
22
- "modalities": {
23
- "input": ["text"],
24
- "output": ["text"]
25
- }
26
- },
27
- {
28
- "id": "CodeLlama-34b-Instruct-hf",
29
- "name": "CodeLlama-34b-Instruct-hf",
30
- "created_by": "meta",
31
- "source": "official",
32
- "last_updated": "2026-03-21",
33
- "capabilities": {
34
- "streaming": true,
35
- "tool_call": true
36
- },
37
- "modalities": {
38
- "input": ["text"],
39
- "output": ["text"]
40
- }
41
- },
42
- {
43
- "id": "CodeLlama-70b-Instruct-hf",
44
- "name": "CodeLlama-70b-Instruct-hf",
45
- "created_by": "meta",
46
- "source": "official",
47
- "last_updated": "2026-03-21",
48
- "capabilities": {
49
- "streaming": true,
50
- "tool_call": true
51
- },
52
- "modalities": {
53
- "input": ["text"],
54
- "output": ["text"]
55
- }
56
- },
57
- {
58
- "id": "CodeLlama-7b-Instruct-hf",
59
- "name": "CodeLlama-7b-Instruct-hf",
60
- "created_by": "meta",
61
- "source": "official",
62
- "last_updated": "2026-03-21",
63
- "capabilities": {
64
- "streaming": true,
65
- "tool_call": true
66
- },
67
- "modalities": {
68
- "input": ["text"],
69
- "output": ["text"]
70
- }
71
- },
72
- {
73
- "id": "Llama-2-13b-chat-hf",
74
- "name": "Llama-2-13b-chat-hf",
75
- "created_by": "meta",
76
- "source": "official",
77
- "last_updated": "2026-03-21",
78
- "context_window": 4096,
79
- "capabilities": {
80
- "streaming": true,
81
- "tool_call": true
82
- },
83
- "modalities": {
84
- "input": ["text"],
85
- "output": ["text"]
86
- }
87
- },
88
- {
89
- "id": "Llama-2-13b-chat",
90
- "name": "Llama-2-13b-chat",
91
- "created_by": "meta",
92
- "source": "official",
93
- "last_updated": "2026-03-21",
94
- "context_window": 4096,
95
- "capabilities": {
96
- "streaming": true,
97
- "tool_call": true
98
- },
99
- "modalities": {
100
- "input": ["text"],
101
- "output": ["text"]
102
- }
103
- },
104
- {
105
- "id": "Llama-2-70b-chat-hf",
106
- "name": "Llama-2-70b-chat-hf",
107
- "created_by": "meta",
108
- "source": "official",
109
- "last_updated": "2026-03-21",
110
- "context_window": 4096,
111
- "capabilities": {
112
- "streaming": true,
113
- "tool_call": true
114
- },
115
- "modalities": {
116
- "input": ["text"],
117
- "output": ["text"]
118
- }
119
- },
120
- {
121
- "id": "Llama-2-70b-chat",
122
- "name": "Llama-2-70b-chat",
123
- "created_by": "meta",
124
- "source": "official",
125
- "last_updated": "2026-03-21",
126
- "context_window": 4096,
127
- "capabilities": {
128
- "streaming": true,
129
- "tool_call": true
130
- },
131
- "modalities": {
132
- "input": ["text"],
133
- "output": ["text"]
134
- }
135
- },
136
- {
137
- "id": "Llama-2-7b-chat-hf",
138
- "name": "Llama-2-7b-chat-hf",
139
- "created_by": "meta",
140
- "source": "official",
141
- "last_updated": "2026-03-21",
142
- "context_window": 4096,
143
- "capabilities": {
144
- "streaming": true,
145
- "tool_call": true
146
- },
147
- "modalities": {
148
- "input": ["text"],
149
- "output": ["text"]
150
- }
151
- },
152
- {
153
- "id": "Llama-2-7b-chat",
154
- "name": "Llama-2-7b-chat",
155
- "created_by": "meta",
156
- "source": "official",
157
- "last_updated": "2026-03-21",
158
- "context_window": 4096,
159
- "capabilities": {
160
- "streaming": true,
161
- "tool_call": true
162
- },
163
- "modalities": {
164
- "input": ["text"],
165
- "output": ["text"]
166
- }
167
- },
168
- {
169
- "id": "Llama-3.1-405B-Instruct-FP8",
170
- "name": "Llama-3.1-405B-Instruct-FP8",
171
- "created_by": "meta",
172
- "source": "official",
173
- "last_updated": "2026-03-21",
174
- "context_window": 131072,
175
- "capabilities": {
176
- "streaming": true,
177
- "tool_call": true
178
- },
179
- "modalities": {
180
- "input": ["text"],
181
- "output": ["text"]
182
- }
183
- },
184
- {
185
- "id": "Llama-3.1-405B-Instruct",
186
- "name": "Llama-3.1-405B-Instruct",
187
- "created_by": "meta",
188
- "source": "official",
189
- "last_updated": "2026-03-21",
190
- "context_window": 131072,
191
- "capabilities": {
192
- "streaming": true,
193
- "tool_call": true
194
- },
195
- "modalities": {
196
- "input": ["text"],
197
- "output": ["text"]
198
- }
199
- },
200
- {
201
- "id": "Llama-3.1-70B-Instruct",
202
- "name": "Llama-3.1-70B-Instruct",
203
- "created_by": "meta",
204
- "source": "official",
205
- "last_updated": "2026-03-21",
206
- "context_window": 131072,
207
- "capabilities": {
208
- "streaming": true,
209
- "tool_call": true
210
- },
211
- "modalities": {
212
- "input": ["text"],
213
- "output": ["text"]
214
- }
215
- },
216
- {
217
- "id": "Llama-3.1-8B-Instruct",
218
- "name": "Llama-3.1-8B-Instruct",
219
- "created_by": "meta",
220
- "source": "official",
221
- "last_updated": "2026-03-21",
222
- "context_window": 131072,
223
- "capabilities": {
224
- "streaming": true,
225
- "tool_call": true
226
- },
227
- "modalities": {
228
- "input": ["text"],
229
- "output": ["text"]
230
- }
231
- },
232
- {
233
- "id": "Llama-3.2-1B-Instruct-QLORA_INT4_EO8",
234
- "name": "Llama-3.2-1B-Instruct-QLORA_INT4_EO8",
235
- "created_by": "meta",
236
- "source": "official",
237
- "last_updated": "2026-03-21",
238
- "context_window": 131072,
239
- "capabilities": {
240
- "streaming": true,
241
- "tool_call": true
242
- },
243
- "modalities": {
244
- "input": ["text"],
245
- "output": ["text"]
246
- }
247
- },
248
- {
249
- "id": "Llama-3.2-1B-Instruct-SpinQuant_INT4_EO8",
250
- "name": "Llama-3.2-1B-Instruct-SpinQuant_INT4_EO8",
251
- "created_by": "meta",
252
- "source": "official",
253
- "last_updated": "2026-03-21",
254
- "context_window": 131072,
255
- "capabilities": {
256
- "streaming": true,
257
- "tool_call": true
258
- },
259
- "modalities": {
260
- "input": ["text"],
261
- "output": ["text"]
262
- }
263
- },
264
- {
265
- "id": "Llama-3.2-1B-Instruct",
266
- "name": "Llama-3.2-1B-Instruct",
267
- "created_by": "meta",
268
- "source": "official",
269
- "last_updated": "2026-03-21",
270
- "context_window": 131072,
271
- "capabilities": {
272
- "streaming": true,
273
- "tool_call": true
274
- },
275
- "modalities": {
276
- "input": ["text"],
277
- "output": ["text"]
278
- }
279
- },
280
- {
281
- "id": "Llama-3.2-3B-Instruct-QLORA_INT4_EO8",
282
- "name": "Llama-3.2-3B-Instruct-QLORA_INT4_EO8",
283
- "created_by": "meta",
284
- "source": "official",
285
- "last_updated": "2026-03-21",
286
- "context_window": 131072,
287
- "capabilities": {
288
- "streaming": true,
289
- "tool_call": true
290
- },
291
- "modalities": {
292
- "input": ["text"],
293
- "output": ["text"]
294
- }
295
- },
296
- {
297
- "id": "Llama-3.2-3B-Instruct-SpinQuant_INT4_EO8",
298
- "name": "Llama-3.2-3B-Instruct-SpinQuant_INT4_EO8",
299
- "created_by": "meta",
300
- "source": "official",
301
- "last_updated": "2026-03-21",
302
- "context_window": 131072,
303
- "capabilities": {
304
- "streaming": true,
305
- "tool_call": true
306
- },
307
- "modalities": {
308
- "input": ["text"],
309
- "output": ["text"]
310
- }
311
- },
312
- {
313
- "id": "Llama-3.2-3B-Instruct",
314
- "name": "Llama-3.2-3B-Instruct",
315
- "created_by": "meta",
316
- "source": "official",
317
- "last_updated": "2026-03-21",
318
- "context_window": 131072,
319
- "capabilities": {
320
- "streaming": true,
321
- "tool_call": true
322
- },
323
- "modalities": {
324
- "input": ["text"],
325
- "output": ["text"]
326
- }
327
- },
328
- {
329
- "id": "Llama-3.3-70B-Instruct",
330
- "name": "Llama-3.3-70B-Instruct",
331
- "created_by": "meta",
332
- "source": "official",
333
- "last_updated": "2026-03-21",
334
- "context_window": 131072,
335
- "capabilities": {
336
- "streaming": true,
337
- "tool_call": true
338
- },
339
- "modalities": {
340
- "input": ["text"],
341
- "output": ["text"]
342
- }
343
- },
344
- {
345
- "id": "Llama-Guard-3-1B-INT4",
346
- "name": "Llama-Guard-3-1B-INT4",
347
- "created_by": "meta",
348
- "source": "official",
349
- "last_updated": "2026-03-21",
350
- "capabilities": {
351
- "streaming": true,
352
- "tool_call": true
353
- },
354
- "modalities": {
355
- "input": ["text"],
356
- "output": ["text"]
357
- },
358
- "model_type": "moderation"
359
- },
360
- {
361
- "id": "Llama-Guard-3-1B",
362
- "name": "Llama-Guard-3-1B",
363
- "created_by": "meta",
364
- "source": "official",
365
- "last_updated": "2026-03-21",
366
- "capabilities": {
367
- "streaming": true,
368
- "tool_call": true
369
- },
370
- "modalities": {
371
- "input": ["text"],
372
- "output": ["text"]
373
- },
374
- "model_type": "moderation"
375
- },
376
- {
377
- "id": "Llama-Guard-3-8B-INT8",
378
- "name": "Llama-Guard-3-8B-INT8",
379
- "created_by": "meta",
380
- "source": "official",
381
- "last_updated": "2026-03-21",
382
- "capabilities": {
383
- "streaming": true,
384
- "tool_call": true
385
- },
386
- "modalities": {
387
- "input": ["text"],
388
- "output": ["text"]
389
- },
390
- "model_type": "moderation"
391
- },
392
- {
393
- "id": "Llama-Guard-3-8B",
394
- "name": "Llama-Guard-3-8B",
395
- "created_by": "meta",
396
- "source": "official",
397
- "last_updated": "2026-03-21",
398
- "capabilities": {
399
- "streaming": true,
400
- "tool_call": true
401
- },
402
- "modalities": {
403
- "input": ["text"],
404
- "output": ["text"]
405
- },
406
- "model_type": "moderation"
407
- },
408
- {
409
- "id": "LlamaGuard-7b",
410
- "name": "LlamaGuard-7b",
411
- "created_by": "meta",
412
- "source": "official",
413
- "last_updated": "2026-03-21",
414
- "capabilities": {
415
- "streaming": true,
416
- "tool_call": true
417
- },
418
- "modalities": {
419
- "input": ["text"],
420
- "output": ["text"]
421
- },
422
- "model_type": "moderation"
423
- },
424
- {
425
- "id": "Meta-Llama-3-70B-Instruct",
426
- "name": "Meta-Llama-3-70B-Instruct",
427
- "created_by": "meta",
428
- "source": "official",
429
- "last_updated": "2026-03-21",
430
- "context_window": 8192,
431
- "capabilities": {
432
- "streaming": true,
433
- "tool_call": true
434
- },
435
- "modalities": {
436
- "input": ["text"],
437
- "output": ["text"]
438
- }
439
- },
440
- {
441
- "id": "Meta-Llama-3-8B-Instruct",
442
- "name": "Meta-Llama-3-8B-Instruct",
443
- "created_by": "meta",
444
- "source": "official",
445
- "last_updated": "2026-03-21",
446
- "context_window": 8192,
447
- "capabilities": {
448
- "streaming": true,
449
- "tool_call": true
450
- },
451
- "modalities": {
452
- "input": ["text"],
453
- "output": ["text"]
454
- }
455
- },
456
- {
457
- "id": "Meta-Llama-Guard-2-8B",
458
- "name": "Meta-Llama-Guard-2-8B",
459
- "created_by": "meta",
460
- "source": "official",
461
- "last_updated": "2026-03-21",
462
- "capabilities": {
463
- "streaming": true,
464
- "tool_call": true
465
- },
466
- "modalities": {
467
- "input": ["text"],
468
- "output": ["text"]
469
- },
470
- "model_type": "moderation"
471
- }
472
- ]
473
- };
474
- const models = provider.models.map((m) => ({
475
- ...m,
476
- provider: provider.id
477
- }));
478
- //#endregion
479
- export { models, provider };
1
+ const e={id:`meta`,name:`Meta Llama`,region:`US`,url:`https://llama.developer.meta.com`,api_url:`https://api.llama.developer.meta.com/v1`,docs_url:`https://llama.developer.meta.com/docs/models`,pricing_url:`https://llama.developer.meta.com/docs/getting-started/pricing`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
2
+ <path d="M6.897 4c1.915 0 3.516.932 5.43 3.376l.282-.373c.19-.246.383-.484.58-.71l.313-.35C14.588 4.788 15.792 4 17.225 4c1.273 0 2.469.557 3.491 1.516l.218.213c1.73 1.765 2.917 4.71 3.053 8.026l.011.392.002.25c0 1.501-.28 2.759-.818 3.7l-.14.23-.108.153c-.301.42-.664.758-1.086 1.009l-.265.142-.087.04a3.493 3.493 0 01-.302.118 4.117 4.117 0 01-1.33.208c-.524 0-.996-.067-1.438-.215-.614-.204-1.163-.56-1.726-1.116l-.227-.235c-.753-.812-1.534-1.976-2.493-3.586l-1.43-2.41-.544-.895-1.766 3.13-.343.592C7.597 19.156 6.227 20 4.356 20c-1.21 0-2.205-.42-2.936-1.182l-.168-.184c-.484-.573-.837-1.311-1.043-2.189l-.067-.32a8.69 8.69 0 01-.136-1.288L0 14.468c.002-.745.06-1.49.174-2.23l.1-.573c.298-1.53.828-2.958 1.536-4.157l.209-.34c1.177-1.83 2.789-3.053 4.615-3.16L6.897 4zm-.033 2.615l-.201.01c-.83.083-1.606.673-2.252 1.577l-.138.199-.01.018c-.67 1.017-1.185 2.378-1.456 3.845l-.004.022a12.591 12.591 0 00-.207 2.254l.002.188c.004.18.017.36.04.54l.043.291c.092.503.257.908.486 1.208l.117.137c.303.323.698.492 1.17.492 1.1 0 1.796-.676 3.696-3.641l2.175-3.4.454-.701-.139-.198C9.11 7.3 8.084 6.616 6.864 6.616zm10.196-.552l-.176.007c-.635.048-1.223.359-1.82.933l-.196.198c-.439.462-.887 1.064-1.367 1.807l.266.398c.18.274.362.56.55.858l.293.475 1.396 2.335.695 1.114c.583.926 1.03 1.6 1.408 2.082l.213.262c.282.326.529.54.777.673l.102.05c.227.1.457.138.718.138.176.002.35-.023.518-.073.338-.104.61-.32.813-.637l.095-.163.077-.162c.194-.459.29-1.06.29-1.785l-.006-.449c-.08-2.871-.938-5.372-2.2-6.798l-.176-.189c-.67-.683-1.444-1.074-2.27-1.074z"/>
3
+ </svg>`,models:[{id:`CodeLlama-13b-Instruct-hf`,name:`CodeLlama-13b-Instruct-hf`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`CodeLlama-34b-Instruct-hf`,name:`CodeLlama-34b-Instruct-hf`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`CodeLlama-70b-Instruct-hf`,name:`CodeLlama-70b-Instruct-hf`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`CodeLlama-7b-Instruct-hf`,name:`CodeLlama-7b-Instruct-hf`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-2-13b-chat-hf`,name:`Llama-2-13b-chat-hf`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:4096,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-2-13b-chat`,name:`Llama-2-13b-chat`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:4096,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-2-70b-chat-hf`,name:`Llama-2-70b-chat-hf`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:4096,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-2-70b-chat`,name:`Llama-2-70b-chat`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:4096,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-2-7b-chat-hf`,name:`Llama-2-7b-chat-hf`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:4096,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-2-7b-chat`,name:`Llama-2-7b-chat`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:4096,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-3.1-405B-Instruct-FP8`,name:`Llama-3.1-405B-Instruct-FP8`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:131072,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-3.1-405B-Instruct`,name:`Llama-3.1-405B-Instruct`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:131072,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-3.1-70B-Instruct`,name:`Llama-3.1-70B-Instruct`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:131072,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-3.1-8B-Instruct`,name:`Llama-3.1-8B-Instruct`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:131072,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-3.2-1B-Instruct-QLORA_INT4_EO8`,name:`Llama-3.2-1B-Instruct-QLORA_INT4_EO8`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:131072,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-3.2-1B-Instruct-SpinQuant_INT4_EO8`,name:`Llama-3.2-1B-Instruct-SpinQuant_INT4_EO8`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:131072,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-3.2-1B-Instruct`,name:`Llama-3.2-1B-Instruct`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:131072,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-3.2-3B-Instruct-QLORA_INT4_EO8`,name:`Llama-3.2-3B-Instruct-QLORA_INT4_EO8`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:131072,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-3.2-3B-Instruct-SpinQuant_INT4_EO8`,name:`Llama-3.2-3B-Instruct-SpinQuant_INT4_EO8`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:131072,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-3.2-3B-Instruct`,name:`Llama-3.2-3B-Instruct`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:131072,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-3.3-70B-Instruct`,name:`Llama-3.3-70B-Instruct`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:131072,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Llama-Guard-3-1B-INT4`,name:`Llama-Guard-3-1B-INT4`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},model_type:`moderation`},{id:`Llama-Guard-3-1B`,name:`Llama-Guard-3-1B`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},model_type:`moderation`},{id:`Llama-Guard-3-8B-INT8`,name:`Llama-Guard-3-8B-INT8`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},model_type:`moderation`},{id:`Llama-Guard-3-8B`,name:`Llama-Guard-3-8B`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},model_type:`moderation`},{id:`LlamaGuard-7b`,name:`LlamaGuard-7b`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},model_type:`moderation`},{id:`Meta-Llama-3-70B-Instruct`,name:`Meta-Llama-3-70B-Instruct`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:8192,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Meta-Llama-3-8B-Instruct`,name:`Meta-Llama-3-8B-Instruct`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,context_window:8192,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`Meta-Llama-Guard-2-8B`,name:`Meta-Llama-Guard-2-8B`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},model_type:`moderation`}]},t=e.models.map(t=>({...t,provider:e.id}));export{t as models,e as provider};
@@ -1,156 +1,3 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/providers/minimax.ts
3
- const provider = {
4
- "id": "minimax",
5
- "name": "MiniMax",
6
- "region": "CN",
7
- "url": "https://www.minimax.io",
8
- "api_url": "https://api.minimax.io/v1",
9
- "docs_url": "https://platform.minimax.io/docs",
10
- "pricing_url": "https://platform.minimax.io/docs/guides/pricing-paygo",
11
- "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z\"/>\n</svg>",
12
- "models": [
13
- {
14
- "id": "m2-her",
15
- "name": "M2-her",
16
- "created_by": "minimax",
17
- "source": "official",
18
- "last_updated": "2026-03-21",
19
- "family": "minimax",
20
- "capabilities": {
21
- "streaming": true,
22
- "tool_call": true
23
- },
24
- "pricing": {
25
- "input": .3,
26
- "output": 1.2
27
- }
28
- },
29
- {
30
- "id": "minimax-m2.1-highspeed",
31
- "name": "MiniMax-M2.1-highspeed",
32
- "created_by": "minimax",
33
- "source": "official",
34
- "last_updated": "2026-03-21",
35
- "family": "minimax",
36
- "capabilities": {
37
- "streaming": true,
38
- "tool_call": true
39
- },
40
- "pricing": {
41
- "input": .6,
42
- "output": 2.4,
43
- "cached_input": .03
44
- }
45
- },
46
- {
47
- "id": "minimax-m2.1",
48
- "name": "MiniMax-M2.1",
49
- "created_by": "minimax",
50
- "source": "official",
51
- "last_updated": "2026-03-21",
52
- "family": "minimax",
53
- "capabilities": {
54
- "streaming": true,
55
- "tool_call": true
56
- },
57
- "pricing": {
58
- "input": .3,
59
- "output": 1.2,
60
- "cached_input": .03
61
- }
62
- },
63
- {
64
- "id": "minimax-m2.5-highspeed",
65
- "name": "MiniMax-M2.5-highspeed",
66
- "created_by": "minimax",
67
- "source": "official",
68
- "last_updated": "2026-03-21",
69
- "family": "minimax",
70
- "capabilities": {
71
- "streaming": true,
72
- "tool_call": true
73
- },
74
- "pricing": {
75
- "input": .6,
76
- "output": 2.4,
77
- "cached_input": .03
78
- }
79
- },
80
- {
81
- "id": "minimax-m2.5",
82
- "name": "MiniMax-M2.5",
83
- "created_by": "minimax",
84
- "source": "official",
85
- "last_updated": "2026-03-21",
86
- "family": "minimax",
87
- "capabilities": {
88
- "streaming": true,
89
- "tool_call": true
90
- },
91
- "pricing": {
92
- "input": .3,
93
- "output": 1.2,
94
- "cached_input": .03
95
- }
96
- },
97
- {
98
- "id": "minimax-m2.7-highspeed",
99
- "name": "MiniMax-M2.7-highspeed",
100
- "created_by": "minimax",
101
- "source": "official",
102
- "last_updated": "2026-03-21",
103
- "family": "minimax",
104
- "capabilities": {
105
- "streaming": true,
106
- "tool_call": true
107
- },
108
- "pricing": {
109
- "input": .6,
110
- "output": 2.4,
111
- "cached_input": .06
112
- }
113
- },
114
- {
115
- "id": "minimax-m2.7",
116
- "name": "MiniMax-M2.7",
117
- "created_by": "minimax",
118
- "source": "official",
119
- "last_updated": "2026-03-21",
120
- "family": "minimax",
121
- "capabilities": {
122
- "streaming": true,
123
- "tool_call": true
124
- },
125
- "pricing": {
126
- "input": .3,
127
- "output": 1.2,
128
- "cached_input": .06
129
- }
130
- },
131
- {
132
- "id": "minimax-m2",
133
- "name": "MiniMax-M2",
134
- "created_by": "minimax",
135
- "source": "official",
136
- "last_updated": "2026-03-21",
137
- "family": "minimax",
138
- "capabilities": {
139
- "streaming": true,
140
- "tool_call": true
141
- },
142
- "pricing": {
143
- "input": .3,
144
- "output": 1.2,
145
- "cached_input": .03
146
- }
147
- }
148
- ]
149
- };
150
- const models = provider.models.map((m) => ({
151
- ...m,
152
- provider: provider.id
153
- }));
154
- //#endregion
155
- exports.models = models;
156
- exports.provider = provider;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e={id:`minimax`,name:`MiniMax`,region:`CN`,url:`https://www.minimax.io`,api_url:`https://api.minimax.io/v1`,docs_url:`https://platform.minimax.io/docs`,pricing_url:`https://platform.minimax.io/docs/guides/pricing-paygo`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
2
+ <path d="M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z"/>
3
+ </svg>`,models:[{id:`m2-her`,name:`M2-her`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.3,output:1.2}},{id:`minimax-m2.1-highspeed`,name:`MiniMax-M2.1-highspeed`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.6,output:2.4,cached_input:.03}},{id:`minimax-m2.1`,name:`MiniMax-M2.1`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.3,output:1.2,cached_input:.03}},{id:`minimax-m2.5-highspeed`,name:`MiniMax-M2.5-highspeed`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.6,output:2.4,cached_input:.03}},{id:`minimax-m2.5`,name:`MiniMax-M2.5`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.3,output:1.2,cached_input:.03}},{id:`minimax-m2.7-highspeed`,name:`MiniMax-M2.7-highspeed`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.6,output:2.4,cached_input:.06}},{id:`minimax-m2.7`,name:`MiniMax-M2.7`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.3,output:1.2,cached_input:.06}},{id:`minimax-m2`,name:`MiniMax-M2`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.3,output:1.2,cached_input:.03}}]},t=e.models.map(t=>({...t,provider:e.id}));exports.models=t,exports.provider=e;