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,353 +1,3 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/providers/groq.ts
3
- const provider = {
4
- "id": "groq",
5
- "name": "Groq",
6
- "region": "US",
7
- "url": "https://groq.com",
8
- "api_url": "https://api.groq.com/openai/v1",
9
- "docs_url": "https://console.groq.com/docs",
10
- "pricing_url": "https://groq.com/pricing",
11
- "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M12.036 2c-3.853-.035-7 3-7.036 6.781-.035 3.782 3.055 6.872 6.908 6.907h2.42v-2.566h-2.292c-2.407.028-4.38-1.866-4.408-4.23-.029-2.362 1.901-4.298 4.308-4.326h.1c2.407 0 4.358 1.915 4.365 4.278v6.305c0 2.342-1.944 4.25-4.323 4.279a4.375 4.375 0 01-3.033-1.252l-1.851 1.818A7 7 0 0012.029 22h.092c3.803-.056 6.858-3.083 6.879-6.816v-6.5C18.907 4.963 15.817 2 12.036 2z\"/>\n</svg>",
12
- "models": [
13
- {
14
- "id": "canopylabs/orpheus-arabic-saudi",
15
- "name": "Canopy Labs Orpheus Arabic Saudi",
16
- "created_by": "canopy-labs",
17
- "source": "official",
18
- "last_updated": "2026-03-21",
19
- "status": "preview",
20
- "context_window": 4e3,
21
- "max_output_tokens": 5e4,
22
- "model_type": "tts",
23
- "modalities": {
24
- "input": ["text"],
25
- "output": ["audio"]
26
- }
27
- },
28
- {
29
- "id": "canopylabs/orpheus-v1-english",
30
- "name": "Canopy Labs Orpheus V1 English",
31
- "created_by": "canopy-labs",
32
- "source": "official",
33
- "last_updated": "2026-03-21",
34
- "status": "preview",
35
- "context_window": 4e3,
36
- "max_output_tokens": 5e4,
37
- "model_type": "tts",
38
- "modalities": {
39
- "input": ["text"],
40
- "output": ["audio"]
41
- }
42
- },
43
- {
44
- "id": "groq/compound-mini",
45
- "name": "Compound Mini",
46
- "created_by": "groq",
47
- "source": "official",
48
- "last_updated": "2026-03-21",
49
- "family": "compound",
50
- "status": "active",
51
- "context_window": 131072,
52
- "max_output_tokens": 8192,
53
- "model_type": "chat",
54
- "capabilities": {
55
- "streaming": true,
56
- "tool_call": true,
57
- "json_mode": true
58
- },
59
- "modalities": {
60
- "input": ["text"],
61
- "output": ["text"]
62
- }
63
- },
64
- {
65
- "id": "groq/compound",
66
- "name": "Compound",
67
- "created_by": "groq",
68
- "source": "official",
69
- "last_updated": "2026-03-21",
70
- "family": "compound",
71
- "status": "active",
72
- "context_window": 131072,
73
- "max_output_tokens": 8192,
74
- "model_type": "chat",
75
- "capabilities": {
76
- "streaming": true,
77
- "tool_call": true,
78
- "json_mode": true
79
- },
80
- "modalities": {
81
- "input": ["text"],
82
- "output": ["text"]
83
- }
84
- },
85
- {
86
- "id": "llama-3.1-8b-instant",
87
- "name": "Llama 3.1 8B",
88
- "created_by": "meta",
89
- "source": "official",
90
- "last_updated": "2026-03-21",
91
- "family": "llama-3.1",
92
- "status": "active",
93
- "context_window": 131072,
94
- "max_output_tokens": 131072,
95
- "model_type": "chat",
96
- "capabilities": {
97
- "streaming": true,
98
- "tool_call": true,
99
- "json_mode": true
100
- },
101
- "modalities": {
102
- "input": ["text"],
103
- "output": ["text"]
104
- },
105
- "pricing": {
106
- "input": .05,
107
- "output": .08
108
- }
109
- },
110
- {
111
- "id": "llama-3.3-70b-versatile",
112
- "name": "Llama 3.3 70B",
113
- "created_by": "meta",
114
- "source": "official",
115
- "last_updated": "2026-03-21",
116
- "family": "llama-3.3",
117
- "status": "active",
118
- "context_window": 131072,
119
- "max_output_tokens": 32768,
120
- "model_type": "chat",
121
- "capabilities": {
122
- "streaming": true,
123
- "tool_call": true,
124
- "json_mode": true
125
- },
126
- "modalities": {
127
- "input": ["text"],
128
- "output": ["text"]
129
- },
130
- "pricing": {
131
- "input": .59,
132
- "output": .79
133
- }
134
- },
135
- {
136
- "id": "meta-llama/llama-4-scout-17b-16e-instruct",
137
- "name": "Llama 4 Scout 17B 16E",
138
- "created_by": "meta",
139
- "source": "official",
140
- "last_updated": "2026-03-21",
141
- "family": "llama-4",
142
- "status": "preview",
143
- "context_window": 131072,
144
- "max_output_tokens": 8192,
145
- "model_type": "chat",
146
- "capabilities": {
147
- "streaming": true,
148
- "tool_call": true,
149
- "json_mode": true
150
- },
151
- "modalities": {
152
- "input": ["text", "image"],
153
- "output": ["text"]
154
- },
155
- "pricing": {
156
- "input": .11,
157
- "output": .34
158
- }
159
- },
160
- {
161
- "id": "meta-llama/llama-prompt-guard-2-22m",
162
- "name": "Llama Prompt Guard 2 22M",
163
- "created_by": "meta",
164
- "source": "official",
165
- "last_updated": "2026-03-21",
166
- "status": "preview",
167
- "context_window": 512,
168
- "max_output_tokens": 512,
169
- "model_type": "moderation",
170
- "modalities": {
171
- "input": ["text"],
172
- "output": ["text"]
173
- },
174
- "pricing": {
175
- "input": .03,
176
- "output": .03
177
- }
178
- },
179
- {
180
- "id": "meta-llama/llama-prompt-guard-2-86m",
181
- "name": "Prompt Guard 2 86M",
182
- "created_by": "meta",
183
- "source": "official",
184
- "last_updated": "2026-03-21",
185
- "status": "preview",
186
- "context_window": 512,
187
- "max_output_tokens": 512,
188
- "model_type": "moderation",
189
- "modalities": {
190
- "input": ["text"],
191
- "output": ["text"]
192
- },
193
- "pricing": {
194
- "input": .04,
195
- "output": .04
196
- }
197
- },
198
- {
199
- "id": "moonshotai/kimi-k2-instruct-0905",
200
- "name": "Kimi K2 0905",
201
- "created_by": "moonshot",
202
- "source": "official",
203
- "last_updated": "2026-03-21",
204
- "status": "preview",
205
- "context_window": 262144,
206
- "max_output_tokens": 16384,
207
- "model_type": "chat",
208
- "capabilities": {
209
- "streaming": true,
210
- "tool_call": true,
211
- "json_mode": true
212
- },
213
- "modalities": {
214
- "input": ["text"],
215
- "output": ["text"]
216
- },
217
- "pricing": {
218
- "input": 1,
219
- "output": 3
220
- }
221
- },
222
- {
223
- "id": "openai/gpt-oss-120b",
224
- "name": "GPT OSS 120B",
225
- "created_by": "openai",
226
- "source": "official",
227
- "last_updated": "2026-03-21",
228
- "family": "gpt-oss",
229
- "status": "active",
230
- "context_window": 131072,
231
- "max_output_tokens": 65536,
232
- "model_type": "chat",
233
- "capabilities": {
234
- "streaming": true,
235
- "tool_call": true,
236
- "json_mode": true
237
- },
238
- "modalities": {
239
- "input": ["text"],
240
- "output": ["text"]
241
- },
242
- "pricing": {
243
- "input": .15,
244
- "output": .6
245
- }
246
- },
247
- {
248
- "id": "openai/gpt-oss-20b",
249
- "name": "GPT OSS 20B",
250
- "created_by": "openai",
251
- "source": "official",
252
- "last_updated": "2026-03-21",
253
- "family": "gpt-oss",
254
- "status": "active",
255
- "context_window": 131072,
256
- "max_output_tokens": 65536,
257
- "model_type": "chat",
258
- "capabilities": {
259
- "streaming": true,
260
- "tool_call": true,
261
- "json_mode": true
262
- },
263
- "modalities": {
264
- "input": ["text"],
265
- "output": ["text"]
266
- },
267
- "pricing": {
268
- "input": .075,
269
- "output": .3
270
- }
271
- },
272
- {
273
- "id": "openai/gpt-oss-safeguard-20b",
274
- "name": "Safety GPT OSS 20B",
275
- "created_by": "openai",
276
- "source": "official",
277
- "last_updated": "2026-03-21",
278
- "family": "gpt-oss",
279
- "status": "preview",
280
- "context_window": 131072,
281
- "max_output_tokens": 65536,
282
- "model_type": "moderation",
283
- "modalities": {
284
- "input": ["text"],
285
- "output": ["text"]
286
- },
287
- "pricing": {
288
- "input": .075,
289
- "output": .3
290
- }
291
- },
292
- {
293
- "id": "qwen/qwen3-32b",
294
- "name": "Qwen3-32B",
295
- "created_by": "alibaba",
296
- "source": "official",
297
- "last_updated": "2026-03-21",
298
- "family": "qwen3",
299
- "status": "preview",
300
- "context_window": 131072,
301
- "max_output_tokens": 40960,
302
- "model_type": "chat",
303
- "capabilities": {
304
- "streaming": true,
305
- "tool_call": true,
306
- "json_mode": true
307
- },
308
- "modalities": {
309
- "input": ["text"],
310
- "output": ["text"]
311
- },
312
- "pricing": {
313
- "input": .29,
314
- "output": .59
315
- }
316
- },
317
- {
318
- "id": "whisper-large-v3-turbo",
319
- "name": "Whisper Large V3 Turbo",
320
- "created_by": "openai",
321
- "source": "official",
322
- "last_updated": "2026-03-21",
323
- "family": "whisper",
324
- "status": "active",
325
- "model_type": "transcription",
326
- "modalities": {
327
- "input": ["audio"],
328
- "output": ["text"]
329
- }
330
- },
331
- {
332
- "id": "whisper-large-v3",
333
- "name": "Whisper",
334
- "created_by": "openai",
335
- "source": "official",
336
- "last_updated": "2026-03-21",
337
- "family": "whisper",
338
- "status": "active",
339
- "model_type": "transcription",
340
- "modalities": {
341
- "input": ["audio"],
342
- "output": ["text"]
343
- }
344
- }
345
- ]
346
- };
347
- const models = provider.models.map((m) => ({
348
- ...m,
349
- provider: provider.id
350
- }));
351
- //#endregion
352
- exports.models = models;
353
- exports.provider = provider;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e={id:`groq`,name:`Groq`,region:`US`,url:`https://groq.com`,api_url:`https://api.groq.com/openai/v1`,docs_url:`https://console.groq.com/docs`,pricing_url:`https://groq.com/pricing`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
2
+ <path d="M12.036 2c-3.853-.035-7 3-7.036 6.781-.035 3.782 3.055 6.872 6.908 6.907h2.42v-2.566h-2.292c-2.407.028-4.38-1.866-4.408-4.23-.029-2.362 1.901-4.298 4.308-4.326h.1c2.407 0 4.358 1.915 4.365 4.278v6.305c0 2.342-1.944 4.25-4.323 4.279a4.375 4.375 0 01-3.033-1.252l-1.851 1.818A7 7 0 0012.029 22h.092c3.803-.056 6.858-3.083 6.879-6.816v-6.5C18.907 4.963 15.817 2 12.036 2z"/>
3
+ </svg>`,models:[{id:`canopylabs/orpheus-arabic-saudi`,name:`Canopy Labs Orpheus Arabic Saudi`,created_by:`canopy-labs`,source:`official`,last_updated:`2026-03-21`,status:`preview`,context_window:4e3,max_output_tokens:5e4,model_type:`tts`,modalities:{input:[`text`],output:[`audio`]}},{id:`canopylabs/orpheus-v1-english`,name:`Canopy Labs Orpheus V1 English`,created_by:`canopy-labs`,source:`official`,last_updated:`2026-03-21`,status:`preview`,context_window:4e3,max_output_tokens:5e4,model_type:`tts`,modalities:{input:[`text`],output:[`audio`]}},{id:`groq/compound-mini`,name:`Compound Mini`,created_by:`groq`,source:`official`,last_updated:`2026-03-21`,family:`compound`,status:`active`,context_window:131072,max_output_tokens:8192,model_type:`chat`,capabilities:{streaming:!0,tool_call:!0,json_mode:!0},modalities:{input:[`text`],output:[`text`]}},{id:`groq/compound`,name:`Compound`,created_by:`groq`,source:`official`,last_updated:`2026-03-21`,family:`compound`,status:`active`,context_window:131072,max_output_tokens:8192,model_type:`chat`,capabilities:{streaming:!0,tool_call:!0,json_mode:!0},modalities:{input:[`text`],output:[`text`]}},{id:`llama-3.1-8b-instant`,name:`Llama 3.1 8B`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,family:`llama-3.1`,status:`active`,context_window:131072,max_output_tokens:131072,model_type:`chat`,capabilities:{streaming:!0,tool_call:!0,json_mode:!0},modalities:{input:[`text`],output:[`text`]},pricing:{input:.05,output:.08}},{id:`llama-3.3-70b-versatile`,name:`Llama 3.3 70B`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,family:`llama-3.3`,status:`active`,context_window:131072,max_output_tokens:32768,model_type:`chat`,capabilities:{streaming:!0,tool_call:!0,json_mode:!0},modalities:{input:[`text`],output:[`text`]},pricing:{input:.59,output:.79}},{id:`meta-llama/llama-4-scout-17b-16e-instruct`,name:`Llama 4 Scout 17B 16E`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,family:`llama-4`,status:`preview`,context_window:131072,max_output_tokens:8192,model_type:`chat`,capabilities:{streaming:!0,tool_call:!0,json_mode:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.11,output:.34}},{id:`meta-llama/llama-prompt-guard-2-22m`,name:`Llama Prompt Guard 2 22M`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,status:`preview`,context_window:512,max_output_tokens:512,model_type:`moderation`,modalities:{input:[`text`],output:[`text`]},pricing:{input:.03,output:.03}},{id:`meta-llama/llama-prompt-guard-2-86m`,name:`Prompt Guard 2 86M`,created_by:`meta`,source:`official`,last_updated:`2026-03-21`,status:`preview`,context_window:512,max_output_tokens:512,model_type:`moderation`,modalities:{input:[`text`],output:[`text`]},pricing:{input:.04,output:.04}},{id:`moonshotai/kimi-k2-instruct-0905`,name:`Kimi K2 0905`,created_by:`moonshot`,source:`official`,last_updated:`2026-03-21`,status:`preview`,context_window:262144,max_output_tokens:16384,model_type:`chat`,capabilities:{streaming:!0,tool_call:!0,json_mode:!0},modalities:{input:[`text`],output:[`text`]},pricing:{input:1,output:3}},{id:`openai/gpt-oss-120b`,name:`GPT OSS 120B`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-oss`,status:`active`,context_window:131072,max_output_tokens:65536,model_type:`chat`,capabilities:{streaming:!0,tool_call:!0,json_mode:!0},modalities:{input:[`text`],output:[`text`]},pricing:{input:.15,output:.6}},{id:`openai/gpt-oss-20b`,name:`GPT OSS 20B`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-oss`,status:`active`,context_window:131072,max_output_tokens:65536,model_type:`chat`,capabilities:{streaming:!0,tool_call:!0,json_mode:!0},modalities:{input:[`text`],output:[`text`]},pricing:{input:.075,output:.3}},{id:`openai/gpt-oss-safeguard-20b`,name:`Safety GPT OSS 20B`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-oss`,status:`preview`,context_window:131072,max_output_tokens:65536,model_type:`moderation`,modalities:{input:[`text`],output:[`text`]},pricing:{input:.075,output:.3}},{id:`qwen/qwen3-32b`,name:`Qwen3-32B`,created_by:`alibaba`,source:`official`,last_updated:`2026-03-21`,family:`qwen3`,status:`preview`,context_window:131072,max_output_tokens:40960,model_type:`chat`,capabilities:{streaming:!0,tool_call:!0,json_mode:!0},modalities:{input:[`text`],output:[`text`]},pricing:{input:.29,output:.59}},{id:`whisper-large-v3-turbo`,name:`Whisper Large V3 Turbo`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`whisper`,status:`active`,model_type:`transcription`,modalities:{input:[`audio`],output:[`text`]}},{id:`whisper-large-v3`,name:`Whisper`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`whisper`,status:`active`,model_type:`transcription`,modalities:{input:[`audio`],output:[`text`]}}]},t=e.models.map(t=>({...t,provider:e.id}));exports.models=t,exports.provider=e;