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,365 @@
1
+ //#region src/providers/opencode.ts
2
+ const provider = {
3
+ "id": "opencode",
4
+ "name": "OpenCode Zen",
5
+ "region": "US",
6
+ "url": "https://opencode.ai",
7
+ "api_url": "https://opencode.ai/zen/v1",
8
+ "docs_url": "https://opencode.ai/docs/zen",
9
+ "pricing_url": "https://opencode.ai/docs/zen",
10
+ "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M16 6H8v12h8V6zm4 16H4V2h16v20z\"/>\n</svg>",
11
+ "models": [
12
+ {
13
+ "id": "big-pickle",
14
+ "name": "Big Pickle",
15
+ "created_by": "opencode",
16
+ "source": "official",
17
+ "last_updated": "2026-03-21",
18
+ "status": "active",
19
+ "capabilities": { "streaming": true }
20
+ },
21
+ {
22
+ "id": "claude-3-5-haiku",
23
+ "name": "Claude Haiku 3.5",
24
+ "created_by": "anthropic",
25
+ "source": "official",
26
+ "last_updated": "2026-03-21",
27
+ "family": "claude-haiku",
28
+ "status": "active",
29
+ "capabilities": { "streaming": true },
30
+ "pricing": { "input": .8 }
31
+ },
32
+ {
33
+ "id": "claude-haiku-4-5",
34
+ "name": "Claude Haiku 4.5",
35
+ "created_by": "anthropic",
36
+ "source": "official",
37
+ "last_updated": "2026-03-21",
38
+ "family": "claude-haiku",
39
+ "status": "active",
40
+ "capabilities": { "streaming": true },
41
+ "pricing": { "input": 1 }
42
+ },
43
+ {
44
+ "id": "claude-opus-4-1",
45
+ "name": "Claude Opus 4.1",
46
+ "created_by": "anthropic",
47
+ "source": "official",
48
+ "last_updated": "2026-03-21",
49
+ "family": "claude-opus",
50
+ "status": "active",
51
+ "capabilities": { "streaming": true },
52
+ "pricing": { "input": 15 }
53
+ },
54
+ {
55
+ "id": "claude-opus-4-5",
56
+ "name": "Claude Opus 4.5",
57
+ "created_by": "anthropic",
58
+ "source": "official",
59
+ "last_updated": "2026-03-21",
60
+ "family": "claude-opus",
61
+ "status": "active",
62
+ "capabilities": { "streaming": true },
63
+ "pricing": { "input": 5 }
64
+ },
65
+ {
66
+ "id": "claude-opus-4-6",
67
+ "name": "Claude Opus 4.6",
68
+ "created_by": "anthropic",
69
+ "source": "official",
70
+ "last_updated": "2026-03-21",
71
+ "family": "claude-opus",
72
+ "status": "active",
73
+ "capabilities": { "streaming": true },
74
+ "pricing": { "input": 5 }
75
+ },
76
+ {
77
+ "id": "claude-sonnet-4-5",
78
+ "name": "Claude Sonnet 4.5",
79
+ "created_by": "anthropic",
80
+ "source": "official",
81
+ "last_updated": "2026-03-21",
82
+ "family": "claude-sonnet",
83
+ "status": "active",
84
+ "capabilities": { "streaming": true }
85
+ },
86
+ {
87
+ "id": "claude-sonnet-4-6",
88
+ "name": "Claude Sonnet 4.6",
89
+ "created_by": "anthropic",
90
+ "source": "official",
91
+ "last_updated": "2026-03-21",
92
+ "family": "claude-sonnet",
93
+ "status": "active",
94
+ "capabilities": { "streaming": true },
95
+ "pricing": { "input": 3 }
96
+ },
97
+ {
98
+ "id": "claude-sonnet-4",
99
+ "name": "Claude Sonnet 4",
100
+ "created_by": "anthropic",
101
+ "source": "official",
102
+ "last_updated": "2026-03-21",
103
+ "family": "claude-sonnet",
104
+ "status": "active",
105
+ "capabilities": { "streaming": true }
106
+ },
107
+ {
108
+ "id": "gemini-3-flash",
109
+ "name": "Gemini 3 Flash",
110
+ "created_by": "google",
111
+ "source": "official",
112
+ "last_updated": "2026-03-21",
113
+ "family": "gemini-3",
114
+ "status": "active",
115
+ "capabilities": { "streaming": true },
116
+ "pricing": { "input": .5 }
117
+ },
118
+ {
119
+ "id": "gemini-3.1-pro",
120
+ "name": "Gemini 3.1 Pro",
121
+ "created_by": "google",
122
+ "source": "official",
123
+ "last_updated": "2026-03-21",
124
+ "family": "gemini-3.1",
125
+ "status": "active",
126
+ "capabilities": { "streaming": true }
127
+ },
128
+ {
129
+ "id": "glm-5",
130
+ "name": "GLM 5",
131
+ "created_by": "zhipu",
132
+ "source": "official",
133
+ "last_updated": "2026-03-21",
134
+ "status": "active",
135
+ "capabilities": { "streaming": true },
136
+ "pricing": { "input": 1 }
137
+ },
138
+ {
139
+ "id": "gpt-5-codex",
140
+ "name": "GPT 5 Codex",
141
+ "created_by": "openai",
142
+ "source": "official",
143
+ "last_updated": "2026-03-21",
144
+ "family": "gpt-5",
145
+ "status": "active",
146
+ "capabilities": { "streaming": true },
147
+ "pricing": { "input": 1.07 }
148
+ },
149
+ {
150
+ "id": "gpt-5-nano",
151
+ "name": "GPT 5 Nano",
152
+ "created_by": "openai",
153
+ "source": "official",
154
+ "last_updated": "2026-03-21",
155
+ "family": "gpt-5",
156
+ "status": "active",
157
+ "capabilities": { "streaming": true }
158
+ },
159
+ {
160
+ "id": "gpt-5.1-codex-max",
161
+ "name": "GPT 5.1 Codex Max",
162
+ "created_by": "openai",
163
+ "source": "official",
164
+ "last_updated": "2026-03-21",
165
+ "family": "gpt-5.1",
166
+ "status": "active",
167
+ "capabilities": { "streaming": true },
168
+ "pricing": { "input": 1.25 }
169
+ },
170
+ {
171
+ "id": "gpt-5.1-codex-mini",
172
+ "name": "GPT 5.1 Codex Mini",
173
+ "created_by": "openai",
174
+ "source": "official",
175
+ "last_updated": "2026-03-21",
176
+ "family": "gpt-5.1",
177
+ "status": "active",
178
+ "capabilities": { "streaming": true },
179
+ "pricing": { "input": .25 }
180
+ },
181
+ {
182
+ "id": "gpt-5.1-codex",
183
+ "name": "GPT 5.1 Codex",
184
+ "created_by": "openai",
185
+ "source": "official",
186
+ "last_updated": "2026-03-21",
187
+ "family": "gpt-5.1",
188
+ "status": "active",
189
+ "capabilities": { "streaming": true },
190
+ "pricing": { "input": 1.07 }
191
+ },
192
+ {
193
+ "id": "gpt-5.1",
194
+ "name": "GPT 5.1",
195
+ "created_by": "openai",
196
+ "source": "official",
197
+ "last_updated": "2026-03-21",
198
+ "family": "gpt-5.1",
199
+ "status": "active",
200
+ "capabilities": { "streaming": true },
201
+ "pricing": { "input": 1.07 }
202
+ },
203
+ {
204
+ "id": "gpt-5.2-codex",
205
+ "name": "GPT 5.2 Codex",
206
+ "created_by": "openai",
207
+ "source": "official",
208
+ "last_updated": "2026-03-21",
209
+ "family": "gpt-5.2",
210
+ "status": "active",
211
+ "capabilities": { "streaming": true },
212
+ "pricing": { "input": 1.75 }
213
+ },
214
+ {
215
+ "id": "gpt-5.2",
216
+ "name": "GPT 5.2",
217
+ "created_by": "openai",
218
+ "source": "official",
219
+ "last_updated": "2026-03-21",
220
+ "family": "gpt-5.2",
221
+ "status": "active",
222
+ "capabilities": { "streaming": true },
223
+ "pricing": { "input": 1.75 }
224
+ },
225
+ {
226
+ "id": "gpt-5.3-codex-spark",
227
+ "name": "GPT 5.3 Codex Spark",
228
+ "created_by": "openai",
229
+ "source": "official",
230
+ "last_updated": "2026-03-21",
231
+ "family": "gpt-5.3",
232
+ "status": "active",
233
+ "capabilities": { "streaming": true },
234
+ "pricing": { "input": 1.75 }
235
+ },
236
+ {
237
+ "id": "gpt-5.3-codex",
238
+ "name": "GPT 5.3 Codex",
239
+ "created_by": "openai",
240
+ "source": "official",
241
+ "last_updated": "2026-03-21",
242
+ "family": "gpt-5.3",
243
+ "status": "active",
244
+ "capabilities": { "streaming": true },
245
+ "pricing": { "input": 1.75 }
246
+ },
247
+ {
248
+ "id": "gpt-5.4-mini",
249
+ "name": "GPT 5.4 Mini",
250
+ "created_by": "openai",
251
+ "source": "official",
252
+ "last_updated": "2026-03-21",
253
+ "family": "gpt-5.4",
254
+ "status": "active",
255
+ "capabilities": { "streaming": true },
256
+ "pricing": { "input": .75 }
257
+ },
258
+ {
259
+ "id": "gpt-5.4-nano",
260
+ "name": "GPT 5.4 Nano",
261
+ "created_by": "openai",
262
+ "source": "official",
263
+ "last_updated": "2026-03-21",
264
+ "family": "gpt-5.4",
265
+ "status": "active",
266
+ "capabilities": { "streaming": true },
267
+ "pricing": { "input": .2 }
268
+ },
269
+ {
270
+ "id": "gpt-5.4-pro",
271
+ "name": "GPT 5.4 Pro",
272
+ "created_by": "openai",
273
+ "source": "official",
274
+ "last_updated": "2026-03-21",
275
+ "family": "gpt-5.4",
276
+ "status": "active",
277
+ "capabilities": { "streaming": true },
278
+ "pricing": { "input": 30 }
279
+ },
280
+ {
281
+ "id": "gpt-5.4",
282
+ "name": "GPT 5.4",
283
+ "created_by": "openai",
284
+ "source": "official",
285
+ "last_updated": "2026-03-21",
286
+ "family": "gpt-5.4",
287
+ "status": "active",
288
+ "capabilities": { "streaming": true },
289
+ "pricing": { "input": 2.5 }
290
+ },
291
+ {
292
+ "id": "gpt-5",
293
+ "name": "GPT 5",
294
+ "created_by": "openai",
295
+ "source": "official",
296
+ "last_updated": "2026-03-21",
297
+ "family": "gpt-5",
298
+ "status": "active",
299
+ "capabilities": { "streaming": true },
300
+ "pricing": { "input": 1.07 }
301
+ },
302
+ {
303
+ "id": "kimi-k2.5",
304
+ "name": "Kimi K2.5",
305
+ "created_by": "moonshot",
306
+ "source": "official",
307
+ "last_updated": "2026-03-21",
308
+ "status": "active",
309
+ "capabilities": { "streaming": true },
310
+ "pricing": { "input": .6 }
311
+ },
312
+ {
313
+ "id": "mimo-v2-omni-free",
314
+ "name": "MiMo V2 Omni Free",
315
+ "created_by": "xiaomi",
316
+ "source": "official",
317
+ "last_updated": "2026-03-21",
318
+ "status": "active",
319
+ "capabilities": { "streaming": true }
320
+ },
321
+ {
322
+ "id": "mimo-v2-pro-free",
323
+ "name": "MiMo V2 Pro Free",
324
+ "created_by": "xiaomi",
325
+ "source": "official",
326
+ "last_updated": "2026-03-21",
327
+ "status": "active",
328
+ "capabilities": { "streaming": true }
329
+ },
330
+ {
331
+ "id": "minimax-m2.5-free",
332
+ "name": "MiniMax M2.5 Free",
333
+ "created_by": "minimax",
334
+ "source": "official",
335
+ "last_updated": "2026-03-21",
336
+ "status": "active",
337
+ "capabilities": { "streaming": true }
338
+ },
339
+ {
340
+ "id": "minimax-m2.5",
341
+ "name": "MiniMax M2.5",
342
+ "created_by": "minimax",
343
+ "source": "official",
344
+ "last_updated": "2026-03-21",
345
+ "status": "active",
346
+ "capabilities": { "streaming": true },
347
+ "pricing": { "input": .3 }
348
+ },
349
+ {
350
+ "id": "nemotron-3-super-free",
351
+ "name": "Nemotron 3 Super Free",
352
+ "created_by": "nvidia",
353
+ "source": "official",
354
+ "last_updated": "2026-03-21",
355
+ "status": "active",
356
+ "capabilities": { "streaming": true }
357
+ }
358
+ ]
359
+ };
360
+ const models = provider.models.map((m) => ({
361
+ ...m,
362
+ provider: provider.id
363
+ }));
364
+ //#endregion
365
+ export { models, provider };