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