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