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,367 +1,3 @@
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;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e={id:`opencode`,name:`OpenCode Zen`,region:`US`,url:`https://opencode.ai`,api_url:`https://opencode.ai/zen/v1`,docs_url:`https://opencode.ai/docs/zen`,pricing_url:`https://opencode.ai/docs/zen`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
2
+ <path d="M16 6H8v12h8V6zm4 16H4V2h16v20z"/>
3
+ </svg>`,models:[{id:`big-pickle`,name:`Big Pickle`,created_by:`opencode`,source:`official`,last_updated:`2026-03-21`,status:`active`,capabilities:{streaming:!0}},{id:`claude-3-5-haiku`,name:`Claude Haiku 3.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-haiku`,status:`active`,capabilities:{streaming:!0},pricing:{input:.8}},{id:`claude-haiku-4-5`,name:`Claude Haiku 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-haiku`,status:`active`,capabilities:{streaming:!0},pricing:{input:1}},{id:`claude-opus-4-1`,name:`Claude Opus 4.1`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-opus`,status:`active`,capabilities:{streaming:!0},pricing:{input:15}},{id:`claude-opus-4-5`,name:`Claude Opus 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-opus`,status:`active`,capabilities:{streaming:!0},pricing:{input:5}},{id:`claude-opus-4-6`,name:`Claude Opus 4.6`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-opus`,status:`active`,capabilities:{streaming:!0},pricing:{input:5}},{id:`claude-sonnet-4-5`,name:`Claude Sonnet 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-sonnet`,status:`active`,capabilities:{streaming:!0}},{id:`claude-sonnet-4-6`,name:`Claude Sonnet 4.6`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-sonnet`,status:`active`,capabilities:{streaming:!0},pricing:{input:3}},{id:`claude-sonnet-4`,name:`Claude Sonnet 4`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-sonnet`,status:`active`,capabilities:{streaming:!0}},{id:`gemini-3-flash`,name:`Gemini 3 Flash`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-3`,status:`active`,capabilities:{streaming:!0},pricing:{input:.5}},{id:`gemini-3.1-pro`,name:`Gemini 3.1 Pro`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-3.1`,status:`active`,capabilities:{streaming:!0}},{id:`glm-5`,name:`GLM 5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,status:`active`,capabilities:{streaming:!0},pricing:{input:1}},{id:`gpt-5-codex`,name:`GPT 5 Codex`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5`,status:`active`,capabilities:{streaming:!0},pricing:{input:1.07}},{id:`gpt-5-nano`,name:`GPT 5 Nano`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5`,status:`active`,capabilities:{streaming:!0}},{id:`gpt-5.1-codex-max`,name:`GPT 5.1 Codex Max`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5.1`,status:`active`,capabilities:{streaming:!0},pricing:{input:1.25}},{id:`gpt-5.1-codex-mini`,name:`GPT 5.1 Codex Mini`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5.1`,status:`active`,capabilities:{streaming:!0},pricing:{input:.25}},{id:`gpt-5.1-codex`,name:`GPT 5.1 Codex`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5.1`,status:`active`,capabilities:{streaming:!0},pricing:{input:1.07}},{id:`gpt-5.1`,name:`GPT 5.1`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5.1`,status:`active`,capabilities:{streaming:!0},pricing:{input:1.07}},{id:`gpt-5.2-codex`,name:`GPT 5.2 Codex`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5.2`,status:`active`,capabilities:{streaming:!0},pricing:{input:1.75}},{id:`gpt-5.2`,name:`GPT 5.2`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5.2`,status:`active`,capabilities:{streaming:!0},pricing:{input:1.75}},{id:`gpt-5.3-codex-spark`,name:`GPT 5.3 Codex Spark`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5.3`,status:`active`,capabilities:{streaming:!0},pricing:{input:1.75}},{id:`gpt-5.3-codex`,name:`GPT 5.3 Codex`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5.3`,status:`active`,capabilities:{streaming:!0},pricing:{input:1.75}},{id:`gpt-5.4-mini`,name:`GPT 5.4 Mini`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5.4`,status:`active`,capabilities:{streaming:!0},pricing:{input:.75}},{id:`gpt-5.4-nano`,name:`GPT 5.4 Nano`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5.4`,status:`active`,capabilities:{streaming:!0},pricing:{input:.2}},{id:`gpt-5.4-pro`,name:`GPT 5.4 Pro`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5.4`,status:`active`,capabilities:{streaming:!0},pricing:{input:30}},{id:`gpt-5.4`,name:`GPT 5.4`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5.4`,status:`active`,capabilities:{streaming:!0},pricing:{input:2.5}},{id:`gpt-5`,name:`GPT 5`,created_by:`openai`,source:`official`,last_updated:`2026-03-21`,family:`gpt-5`,status:`active`,capabilities:{streaming:!0},pricing:{input:1.07}},{id:`kimi-k2.5`,name:`Kimi K2.5`,created_by:`moonshot`,source:`official`,last_updated:`2026-03-21`,status:`active`,capabilities:{streaming:!0},pricing:{input:.6}},{id:`mimo-v2-omni-free`,name:`MiMo V2 Omni Free`,created_by:`xiaomi`,source:`official`,last_updated:`2026-03-21`,status:`active`,capabilities:{streaming:!0}},{id:`mimo-v2-pro-free`,name:`MiMo V2 Pro Free`,created_by:`xiaomi`,source:`official`,last_updated:`2026-03-21`,status:`active`,capabilities:{streaming:!0}},{id:`minimax-m2.5-free`,name:`MiniMax M2.5 Free`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,status:`active`,capabilities:{streaming:!0}},{id:`minimax-m2.5`,name:`MiniMax M2.5`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,status:`active`,capabilities:{streaming:!0},pricing:{input:.3}},{id:`nemotron-3-super-free`,name:`Nemotron 3 Super Free`,created_by:`nvidia`,source:`official`,last_updated:`2026-03-21`,status:`active`,capabilities:{streaming:!0}}]},t=e.models.map(t=>({...t,provider:e.id}));exports.models=t,exports.provider=e;