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,358 +1,4 @@
1
- //#region src/providers/together.ts
2
- const provider = {
3
- "id": "together",
4
- "name": "Together AI",
5
- "region": "US",
6
- "url": "https://www.together.ai",
7
- "api_url": "https://api.together.xyz/v1",
8
- "docs_url": "https://docs.together.ai",
9
- "pricing_url": "https://www.together.ai/pricing",
10
- "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M17.385 11.23a4.615 4.615 0 100-9.23 4.615 4.615 0 000 9.23zm0 10.77a4.615 4.615 0 100-9.23 4.615 4.615 0 000 9.23zm-10.77 0a4.615 4.615 0 100-9.23 4.615 4.615 0 000 9.23z\" opacity=\".2\"/>\n <circle cx=\"6.615\" cy=\"6.615\" r=\"4.615\"/>\n</svg>",
11
- "models": [
12
- {
13
- "id": "s/deepseek-v3-1",
14
- "name": "Deepseek V3 1",
15
- "created_by": "deepseek",
16
- "source": "official",
17
- "last_updated": "2026-03-21",
18
- "family": "deepseek",
19
- "context_window": 128e3,
20
- "capabilities": { "streaming": true },
21
- "pricing": {
22
- "input": .6,
23
- "output": 1.7
24
- }
25
- },
26
- {
27
- "id": "s/deepseek-v3-2-exp",
28
- "name": "Deepseek V3 2 Exp",
29
- "created_by": "deepseek",
30
- "source": "official",
31
- "last_updated": "2026-03-21",
32
- "family": "deepseek",
33
- "context_window": 128e3,
34
- "capabilities": { "streaming": true },
35
- "pricing": {
36
- "input": 2,
37
- "output": 2
38
- }
39
- },
40
- {
41
- "id": "s/flux-2-pro",
42
- "name": "Flux 2 Pro",
43
- "created_by": "black-forest-labs",
44
- "source": "official",
45
- "last_updated": "2026-03-21",
46
- "context_window": 32e3,
47
- "capabilities": { "streaming": true },
48
- "pricing": {
49
- "input": .034,
50
- "output": .03
51
- }
52
- },
53
- {
54
- "id": "s/gemma-3-27b",
55
- "name": "Gemma 3 27b",
56
- "created_by": "google",
57
- "source": "official",
58
- "last_updated": "2026-03-21",
59
- "family": "gemma-3",
60
- "context_window": 64e3,
61
- "capabilities": { "streaming": true },
62
- "pricing": {
63
- "input": .1,
64
- "output": .15
65
- }
66
- },
67
- {
68
- "id": "s/glm-4-7",
69
- "name": "Glm 4 7",
70
- "created_by": "zhipu",
71
- "source": "official",
72
- "last_updated": "2026-03-21",
73
- "context_window": 202e3,
74
- "capabilities": { "streaming": true },
75
- "pricing": {
76
- "input": .45,
77
- "output": 2
78
- }
79
- },
80
- {
81
- "id": "s/glm-5",
82
- "name": "Glm 5",
83
- "created_by": "zhipu",
84
- "source": "official",
85
- "last_updated": "2026-03-21",
86
- "context_window": 202e3,
87
- "capabilities": { "streaming": true },
88
- "pricing": {
89
- "input": 1,
90
- "output": 3.2
91
- }
92
- },
93
- {
94
- "id": "s/google-veo-3-0",
95
- "name": "Google Veo 3 0",
96
- "created_by": "unknown",
97
- "source": "official",
98
- "last_updated": "2026-03-21",
99
- "capabilities": { "streaming": true },
100
- "pricing": {
101
- "input": .14,
102
- "output": 1.6
103
- }
104
- },
105
- {
106
- "id": "s/gpt-image-1-5",
107
- "name": "Gpt Image 1 5",
108
- "created_by": "openai",
109
- "source": "official",
110
- "last_updated": "2026-03-21",
111
- "family": "gpt-image-1",
112
- "context_window": 32e3,
113
- "capabilities": { "streaming": true },
114
- "pricing": {
115
- "input": .03,
116
- "output": .034
117
- }
118
- },
119
- {
120
- "id": "s/gpt-oss-120b",
121
- "name": "Gpt Oss 120b",
122
- "created_by": "openai",
123
- "source": "official",
124
- "last_updated": "2026-03-21",
125
- "family": "gpt-oss",
126
- "context_window": 128e3,
127
- "capabilities": { "streaming": true },
128
- "pricing": {
129
- "input": .15,
130
- "output": .6
131
- }
132
- },
133
- {
134
- "id": "s/kimi-k2-0905",
135
- "name": "Kimi K2 0905",
136
- "created_by": "moonshot",
137
- "source": "official",
138
- "last_updated": "2026-03-21",
139
- "context_window": 262e3,
140
- "capabilities": { "streaming": true },
141
- "pricing": {
142
- "input": 1,
143
- "output": 3
144
- }
145
- },
146
- {
147
- "id": "s/kimi-k2-5",
148
- "name": "Kimi K2 5",
149
- "created_by": "moonshot",
150
- "source": "official",
151
- "last_updated": "2026-03-21",
152
- "context_window": 262e3,
153
- "capabilities": { "streaming": true },
154
- "pricing": {
155
- "input": .5,
156
- "output": 2.8
157
- }
158
- },
159
- {
160
- "id": "s/lfm2-24b-a2b",
161
- "name": "Lfm2 24b A2b",
162
- "created_by": "liquid",
163
- "source": "official",
164
- "last_updated": "2026-03-21",
165
- "context_window": 32e3,
166
- "capabilities": { "streaming": true },
167
- "pricing": {
168
- "input": .03,
169
- "output": .12
170
- }
171
- },
172
- {
173
- "id": "s/llama-4-maverick",
174
- "name": "Llama 4 Maverick",
175
- "created_by": "meta",
176
- "source": "official",
177
- "last_updated": "2026-03-21",
178
- "family": "llama-4",
179
- "context_window": 1048e3,
180
- "capabilities": { "streaming": true },
181
- "pricing": {
182
- "input": .27,
183
- "output": .85
184
- }
185
- },
186
- {
187
- "id": "s/minimax-m2-5",
188
- "name": "Minimax M2 5",
189
- "created_by": "minimax",
190
- "source": "official",
191
- "last_updated": "2026-03-21",
192
- "context_window": 192e3,
193
- "capabilities": { "streaming": true },
194
- "pricing": {
195
- "input": .06,
196
- "output": 1.2
197
- }
198
- },
199
- {
200
- "id": "s/minimax-speech-2-6-turbo",
201
- "name": "Minimax Speech 2 6 Turbo",
202
- "created_by": "minimax",
203
- "source": "official",
204
- "last_updated": "2026-03-21",
205
- "capabilities": { "streaming": true }
206
- },
207
- {
208
- "id": "s/ministral-3-8b-instruct-2512",
209
- "name": "Ministral 3 8b Instruct 2512",
210
- "created_by": "mistral",
211
- "source": "official",
212
- "last_updated": "2026-03-21",
213
- "family": "ministral",
214
- "context_window": 256e3,
215
- "alias": "s/ministral-3-8b-instruct",
216
- "capabilities": { "streaming": true },
217
- "pricing": {
218
- "input": .1,
219
- "output": .15
220
- }
221
- },
222
- {
223
- "id": "s/ministral-3-8b-instruct",
224
- "name": "Ministral 3 8b Instruct 2512",
225
- "created_by": "mistral",
226
- "source": "official",
227
- "last_updated": "2026-03-21",
228
- "family": "ministral",
229
- "context_window": 256e3,
230
- "capabilities": { "streaming": true },
231
- "pricing": {
232
- "input": .1,
233
- "output": .15
234
- },
235
- "snapshots": ["s/ministral-3-8b-instruct-2512"]
236
- },
237
- {
238
- "id": "s/nano-banana-pro",
239
- "name": "Nano Banana Pro",
240
- "created_by": "unknown",
241
- "source": "official",
242
- "last_updated": "2026-03-21",
243
- "context_window": 32e3,
244
- "capabilities": { "streaming": true },
245
- "pricing": {
246
- "input": .03,
247
- "output": .134
248
- }
249
- },
250
- {
251
- "id": "s/nvidia-nemotron-3-super",
252
- "name": "Nvidia Nemotron 3 Super",
253
- "created_by": "nvidia",
254
- "source": "official",
255
- "last_updated": "2026-03-21",
256
- "capabilities": { "streaming": true },
257
- "pricing": {
258
- "input": 1,
259
- "output": 3.2
260
- }
261
- },
262
- {
263
- "id": "s/qwen3-235b-a22b-instruct-2507-fp8",
264
- "name": "Qwen3 235b A22b Instruct 2507 Fp8",
265
- "created_by": "qwen",
266
- "source": "official",
267
- "last_updated": "2026-03-21",
268
- "family": "qwen3",
269
- "context_window": 262e3,
270
- "capabilities": { "streaming": true },
271
- "pricing": {
272
- "input": .2,
273
- "output": .6
274
- }
275
- },
276
- {
277
- "id": "s/qwen3-5-397b-a17b",
278
- "name": "Qwen3 5 397b A17b",
279
- "created_by": "qwen",
280
- "source": "official",
281
- "last_updated": "2026-03-21",
282
- "family": "qwen3",
283
- "context_window": 256e3,
284
- "capabilities": { "streaming": true },
285
- "pricing": {
286
- "input": .6,
287
- "output": 3.6
288
- }
289
- },
290
- {
291
- "id": "s/qwen3-5-9b",
292
- "name": "Qwen3 5 9b",
293
- "created_by": "qwen",
294
- "source": "official",
295
- "last_updated": "2026-03-21",
296
- "family": "qwen3",
297
- "context_window": 262e3,
298
- "capabilities": { "streaming": true },
299
- "pricing": {
300
- "input": .1,
301
- "output": .15
302
- }
303
- },
304
- {
305
- "id": "s/qwen3-coder-next",
306
- "name": "Qwen3 Coder Next",
307
- "created_by": "qwen",
308
- "source": "official",
309
- "last_updated": "2026-03-21",
310
- "family": "qwen3",
311
- "context_window": 262e3,
312
- "capabilities": { "streaming": true },
313
- "pricing": {
314
- "input": .5,
315
- "output": 1.2
316
- }
317
- },
318
- {
319
- "id": "s/rime-arcana-v3",
320
- "name": "Rime Arcana V3",
321
- "created_by": "unknown",
322
- "source": "official",
323
- "last_updated": "2026-03-21",
324
- "capabilities": { "streaming": true }
325
- },
326
- {
327
- "id": "s/sora-2-pro",
328
- "name": "Sora 2 Pro",
329
- "created_by": "unknown",
330
- "source": "official",
331
- "last_updated": "2026-03-21",
332
- "capabilities": { "streaming": true },
333
- "pricing": {
334
- "input": .14,
335
- "output": 2.4
336
- }
337
- },
338
- {
339
- "id": "s/wan-2-6-image",
340
- "name": "Wan 2 6 Image",
341
- "created_by": "unknown",
342
- "source": "official",
343
- "last_updated": "2026-03-21",
344
- "context_window": 32e3,
345
- "capabilities": { "streaming": true },
346
- "pricing": {
347
- "input": .03,
348
- "output": .03
349
- }
350
- }
351
- ]
352
- };
353
- const models = provider.models.map((m) => ({
354
- ...m,
355
- provider: provider.id
356
- }));
357
- //#endregion
358
- export { models, provider };
1
+ const e={id:`together`,name:`Together AI`,region:`US`,url:`https://www.together.ai`,api_url:`https://api.together.xyz/v1`,docs_url:`https://docs.together.ai`,pricing_url:`https://www.together.ai/pricing`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
2
+ <path d="M17.385 11.23a4.615 4.615 0 100-9.23 4.615 4.615 0 000 9.23zm0 10.77a4.615 4.615 0 100-9.23 4.615 4.615 0 000 9.23zm-10.77 0a4.615 4.615 0 100-9.23 4.615 4.615 0 000 9.23z" opacity=".2"/>
3
+ <circle cx="6.615" cy="6.615" r="4.615"/>
4
+ </svg>`,models:[{id:`s/deepseek-v3-1`,name:`Deepseek V3 1`,created_by:`deepseek`,source:`official`,last_updated:`2026-03-21`,family:`deepseek`,context_window:128e3,capabilities:{streaming:!0},pricing:{input:.6,output:1.7}},{id:`s/deepseek-v3-2-exp`,name:`Deepseek V3 2 Exp`,created_by:`deepseek`,source:`official`,last_updated:`2026-03-21`,family:`deepseek`,context_window:128e3,capabilities:{streaming:!0},pricing:{input:2,output:2}},{id:`s/flux-2-pro`,name:`Flux 2 Pro`,created_by:`black-forest-labs`,source:`official`,last_updated:`2026-03-21`,context_window:32e3,capabilities:{streaming:!0},pricing:{input:.034,output:.03}},{id:`s/gemma-3-27b`,name:`Gemma 3 27b`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemma-3`,context_window:64e3,capabilities:{streaming:!0},pricing:{input:.1,output:.15}},{id:`s/glm-4-7`,name:`Glm 4 7`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:202e3,capabilities:{streaming:!0},pricing:{input:.45,output:2}},{id:`s/glm-5`,name:`Glm 5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:202e3,capabilities:{streaming:!0},pricing:{input:1,output:3.2}},{id:`s/google-veo-3-0`,name:`Google Veo 3 0`,created_by:`unknown`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0},pricing:{input:.14,output:1.6}},{id:`s/gpt-image-1-5`,name:`Gpt Image 1 5`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-image-1`,context_window:32e3,capabilities:{streaming:!0},pricing:{input:.03,output:.034}},{id:`s/gpt-oss-120b`,name:`Gpt Oss 120b`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-oss`,context_window:128e3,capabilities:{streaming:!0},pricing:{input:.15,output:.6}},{id:`s/kimi-k2-0905`,name:`Kimi K2 0905`,created_by:`moonshot`,source:`official`,last_updated:`2026-03-21`,context_window:262e3,capabilities:{streaming:!0},pricing:{input:1,output:3}},{id:`s/kimi-k2-5`,name:`Kimi K2 5`,created_by:`moonshot`,source:`official`,last_updated:`2026-03-21`,context_window:262e3,capabilities:{streaming:!0},pricing:{input:.5,output:2.8}},{id:`s/lfm2-24b-a2b`,name:`Lfm2 24b A2b`,created_by:`liquid`,source:`official`,last_updated:`2026-03-21`,context_window:32e3,capabilities:{streaming:!0},pricing:{input:.03,output:.12}},{id:`s/llama-4-maverick`,name:`Llama 4 Maverick`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,family:`llama-4`,context_window:1048e3,capabilities:{streaming:!0},pricing:{input:.27,output:.85}},{id:`s/minimax-m2-5`,name:`Minimax M2 5`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,context_window:192e3,capabilities:{streaming:!0},pricing:{input:.06,output:1.2}},{id:`s/minimax-speech-2-6-turbo`,name:`Minimax Speech 2 6 Turbo`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0}},{id:`s/ministral-3-8b-instruct-2512`,name:`Ministral 3 8b Instruct 2512`,created_by:`mistral`,source:`official`,last_updated:`2026-03-21`,family:`ministral`,context_window:256e3,alias:`s/ministral-3-8b-instruct`,capabilities:{streaming:!0},pricing:{input:.1,output:.15}},{id:`s/ministral-3-8b-instruct`,name:`Ministral 3 8b Instruct 2512`,created_by:`mistral`,source:`official`,last_updated:`2026-03-21`,family:`ministral`,context_window:256e3,capabilities:{streaming:!0},pricing:{input:.1,output:.15},snapshots:[`s/ministral-3-8b-instruct-2512`]},{id:`s/nano-banana-pro`,name:`Nano Banana Pro`,created_by:`unknown`,source:`official`,last_updated:`2026-03-21`,context_window:32e3,capabilities:{streaming:!0},pricing:{input:.03,output:.134}},{id:`s/nvidia-nemotron-3-super`,name:`Nvidia Nemotron 3 Super`,created_by:`nvidia`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0},pricing:{input:1,output:3.2}},{id:`s/qwen3-235b-a22b-instruct-2507-fp8`,name:`Qwen3 235b A22b Instruct 2507 Fp8`,created_by:`qwen`,source:`official`,last_updated:`2026-03-21`,family:`qwen3`,context_window:262e3,capabilities:{streaming:!0},pricing:{input:.2,output:.6}},{id:`s/qwen3-5-397b-a17b`,name:`Qwen3 5 397b A17b`,created_by:`qwen`,source:`official`,last_updated:`2026-03-21`,family:`qwen3`,context_window:256e3,capabilities:{streaming:!0},pricing:{input:.6,output:3.6}},{id:`s/qwen3-5-9b`,name:`Qwen3 5 9b`,created_by:`qwen`,source:`official`,last_updated:`2026-03-21`,family:`qwen3`,context_window:262e3,capabilities:{streaming:!0},pricing:{input:.1,output:.15}},{id:`s/qwen3-coder-next`,name:`Qwen3 Coder Next`,created_by:`qwen`,source:`official`,last_updated:`2026-03-21`,family:`qwen3`,context_window:262e3,capabilities:{streaming:!0},pricing:{input:.5,output:1.2}},{id:`s/rime-arcana-v3`,name:`Rime Arcana V3`,created_by:`unknown`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0}},{id:`s/sora-2-pro`,name:`Sora 2 Pro`,created_by:`unknown`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0},pricing:{input:.14,output:2.4}},{id:`s/wan-2-6-image`,name:`Wan 2 6 Image`,created_by:`unknown`,source:`official`,last_updated:`2026-03-21`,context_window:32e3,capabilities:{streaming:!0},pricing:{input:.03,output:.03}}]},t=e.models.map(t=>({...t,provider:e.id}));export{t as models,e as provider};