modelpedia 0.0.1 → 0.0.2

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 (128) hide show
  1. package/dist/index.cjs +60 -35560
  2. package/dist/index.d.cts +3 -156
  3. package/dist/index.d.mts +3 -156
  4. package/dist/index.mjs +60 -35560
  5. package/dist/providers/alibaba.cjs +835 -0
  6. package/dist/providers/alibaba.d.cts +7 -0
  7. package/dist/providers/alibaba.d.mts +7 -0
  8. package/dist/providers/alibaba.mjs +833 -0
  9. package/dist/providers/amazon.cjs +1484 -0
  10. package/dist/providers/amazon.d.cts +7 -0
  11. package/dist/providers/amazon.d.mts +7 -0
  12. package/dist/providers/amazon.mjs +1482 -0
  13. package/dist/providers/anthropic.cjs +698 -0
  14. package/dist/providers/anthropic.d.cts +7 -0
  15. package/dist/providers/anthropic.d.mts +7 -0
  16. package/dist/providers/anthropic.mjs +696 -0
  17. package/dist/providers/azure.cjs +1491 -0
  18. package/dist/providers/azure.d.cts +7 -0
  19. package/dist/providers/azure.d.mts +7 -0
  20. package/dist/providers/azure.mjs +1489 -0
  21. package/dist/providers/baseten.cjs +279 -0
  22. package/dist/providers/baseten.d.cts +7 -0
  23. package/dist/providers/baseten.d.mts +7 -0
  24. package/dist/providers/baseten.mjs +277 -0
  25. package/dist/providers/cerebras.cjs +145 -0
  26. package/dist/providers/cerebras.d.cts +7 -0
  27. package/dist/providers/cerebras.d.mts +7 -0
  28. package/dist/providers/cerebras.mjs +143 -0
  29. package/dist/providers/cloudflare.cjs +826 -0
  30. package/dist/providers/cloudflare.d.cts +7 -0
  31. package/dist/providers/cloudflare.d.mts +7 -0
  32. package/dist/providers/cloudflare.mjs +824 -0
  33. package/dist/providers/cohere.cjs +525 -0
  34. package/dist/providers/cohere.d.cts +7 -0
  35. package/dist/providers/cohere.d.mts +7 -0
  36. package/dist/providers/cohere.mjs +523 -0
  37. package/dist/providers/cursor.cjs +856 -0
  38. package/dist/providers/cursor.d.cts +7 -0
  39. package/dist/providers/cursor.d.mts +7 -0
  40. package/dist/providers/cursor.mjs +854 -0
  41. package/dist/providers/deepseek.cjs +64 -0
  42. package/dist/providers/deepseek.d.cts +7 -0
  43. package/dist/providers/deepseek.d.mts +7 -0
  44. package/dist/providers/deepseek.mjs +62 -0
  45. package/dist/providers/fireworks.cjs +3794 -0
  46. package/dist/providers/fireworks.d.cts +7 -0
  47. package/dist/providers/fireworks.d.mts +7 -0
  48. package/dist/providers/fireworks.mjs +3792 -0
  49. package/dist/providers/google.cjs +972 -0
  50. package/dist/providers/google.d.cts +7 -0
  51. package/dist/providers/google.d.mts +7 -0
  52. package/dist/providers/google.mjs +970 -0
  53. package/dist/providers/groq.cjs +353 -0
  54. package/dist/providers/groq.d.cts +7 -0
  55. package/dist/providers/groq.d.mts +7 -0
  56. package/dist/providers/groq.mjs +351 -0
  57. package/dist/providers/huggingface.cjs +1022 -0
  58. package/dist/providers/huggingface.d.cts +7 -0
  59. package/dist/providers/huggingface.d.mts +7 -0
  60. package/dist/providers/huggingface.mjs +1020 -0
  61. package/dist/providers/meta.cjs +481 -0
  62. package/dist/providers/meta.d.cts +7 -0
  63. package/dist/providers/meta.d.mts +7 -0
  64. package/dist/providers/meta.mjs +479 -0
  65. package/dist/providers/minimax.cjs +156 -0
  66. package/dist/providers/minimax.d.cts +7 -0
  67. package/dist/providers/minimax.d.mts +7 -0
  68. package/dist/providers/minimax.mjs +154 -0
  69. package/dist/providers/mistral.cjs +1594 -0
  70. package/dist/providers/mistral.d.cts +7 -0
  71. package/dist/providers/mistral.d.mts +7 -0
  72. package/dist/providers/mistral.mjs +1592 -0
  73. package/dist/providers/moonshot.cjs +138 -0
  74. package/dist/providers/moonshot.d.cts +7 -0
  75. package/dist/providers/moonshot.d.mts +7 -0
  76. package/dist/providers/moonshot.mjs +136 -0
  77. package/dist/providers/nvidia.cjs +2040 -0
  78. package/dist/providers/nvidia.d.cts +7 -0
  79. package/dist/providers/nvidia.d.mts +7 -0
  80. package/dist/providers/nvidia.mjs +2038 -0
  81. package/dist/providers/ollama.cjs +326 -0
  82. package/dist/providers/ollama.d.cts +7 -0
  83. package/dist/providers/ollama.d.mts +7 -0
  84. package/dist/providers/ollama.mjs +324 -0
  85. package/dist/providers/openai.cjs +9079 -0
  86. package/dist/providers/openai.d.cts +7 -0
  87. package/dist/providers/openai.d.mts +7 -0
  88. package/dist/providers/openai.mjs +9077 -0
  89. package/dist/providers/opencode.cjs +367 -0
  90. package/dist/providers/opencode.d.cts +7 -0
  91. package/dist/providers/opencode.d.mts +7 -0
  92. package/dist/providers/opencode.mjs +365 -0
  93. package/dist/providers/openrouter.cjs +7835 -0
  94. package/dist/providers/openrouter.d.cts +7 -0
  95. package/dist/providers/openrouter.d.mts +7 -0
  96. package/dist/providers/openrouter.mjs +7833 -0
  97. package/dist/providers/perplexity.cjs +311 -0
  98. package/dist/providers/perplexity.d.cts +7 -0
  99. package/dist/providers/perplexity.d.mts +7 -0
  100. package/dist/providers/perplexity.mjs +309 -0
  101. package/dist/providers/qwen.cjs +835 -0
  102. package/dist/providers/qwen.d.cts +7 -0
  103. package/dist/providers/qwen.d.mts +7 -0
  104. package/dist/providers/qwen.mjs +833 -0
  105. package/dist/providers/together.cjs +360 -0
  106. package/dist/providers/together.d.cts +7 -0
  107. package/dist/providers/together.d.mts +7 -0
  108. package/dist/providers/together.mjs +358 -0
  109. package/dist/providers/vercel.cjs +4037 -0
  110. package/dist/providers/vercel.d.cts +7 -0
  111. package/dist/providers/vercel.d.mts +7 -0
  112. package/dist/providers/vercel.mjs +4035 -0
  113. package/dist/providers/vertex.cjs +1072 -0
  114. package/dist/providers/vertex.d.cts +7 -0
  115. package/dist/providers/vertex.d.mts +7 -0
  116. package/dist/providers/vertex.mjs +1070 -0
  117. package/dist/providers/xai.cjs +301 -0
  118. package/dist/providers/xai.d.cts +7 -0
  119. package/dist/providers/xai.d.mts +7 -0
  120. package/dist/providers/xai.mjs +299 -0
  121. package/dist/providers/zai.cjs +243 -0
  122. package/dist/providers/zai.d.cts +7 -0
  123. package/dist/providers/zai.d.mts +7 -0
  124. package/dist/providers/zai.mjs +241 -0
  125. package/dist/types.d.cts +186 -0
  126. package/dist/types.d.mts +186 -0
  127. package/package.json +14 -38
  128. package/README.md +0 -100
@@ -0,0 +1,353 @@
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;
@@ -0,0 +1,7 @@
1
+ import { f as ProviderWithModels, n as Model } from "../types.cjs";
2
+
3
+ //#region src/providers/groq.d.ts
4
+ declare const provider: ProviderWithModels;
5
+ declare const models: Model[];
6
+ //#endregion
7
+ export { models, provider };
@@ -0,0 +1,7 @@
1
+ import { f as ProviderWithModels, n as Model } from "../types.mjs";
2
+
3
+ //#region src/providers/groq.d.ts
4
+ declare const provider: ProviderWithModels;
5
+ declare const models: Model[];
6
+ //#endregion
7
+ export { models, provider };