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,365 +1,3 @@
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 };
1
+ 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}));export{t as models,e as provider};