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,154 +1,3 @@
1
- //#region src/providers/minimax.ts
2
- const provider = {
3
- "id": "minimax",
4
- "name": "MiniMax",
5
- "region": "CN",
6
- "url": "https://www.minimax.io",
7
- "api_url": "https://api.minimax.io/v1",
8
- "docs_url": "https://platform.minimax.io/docs",
9
- "pricing_url": "https://platform.minimax.io/docs/guides/pricing-paygo",
10
- "icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z\"/>\n</svg>",
11
- "models": [
12
- {
13
- "id": "m2-her",
14
- "name": "M2-her",
15
- "created_by": "minimax",
16
- "source": "official",
17
- "last_updated": "2026-03-21",
18
- "family": "minimax",
19
- "capabilities": {
20
- "streaming": true,
21
- "tool_call": true
22
- },
23
- "pricing": {
24
- "input": .3,
25
- "output": 1.2
26
- }
27
- },
28
- {
29
- "id": "minimax-m2.1-highspeed",
30
- "name": "MiniMax-M2.1-highspeed",
31
- "created_by": "minimax",
32
- "source": "official",
33
- "last_updated": "2026-03-21",
34
- "family": "minimax",
35
- "capabilities": {
36
- "streaming": true,
37
- "tool_call": true
38
- },
39
- "pricing": {
40
- "input": .6,
41
- "output": 2.4,
42
- "cached_input": .03
43
- }
44
- },
45
- {
46
- "id": "minimax-m2.1",
47
- "name": "MiniMax-M2.1",
48
- "created_by": "minimax",
49
- "source": "official",
50
- "last_updated": "2026-03-21",
51
- "family": "minimax",
52
- "capabilities": {
53
- "streaming": true,
54
- "tool_call": true
55
- },
56
- "pricing": {
57
- "input": .3,
58
- "output": 1.2,
59
- "cached_input": .03
60
- }
61
- },
62
- {
63
- "id": "minimax-m2.5-highspeed",
64
- "name": "MiniMax-M2.5-highspeed",
65
- "created_by": "minimax",
66
- "source": "official",
67
- "last_updated": "2026-03-21",
68
- "family": "minimax",
69
- "capabilities": {
70
- "streaming": true,
71
- "tool_call": true
72
- },
73
- "pricing": {
74
- "input": .6,
75
- "output": 2.4,
76
- "cached_input": .03
77
- }
78
- },
79
- {
80
- "id": "minimax-m2.5",
81
- "name": "MiniMax-M2.5",
82
- "created_by": "minimax",
83
- "source": "official",
84
- "last_updated": "2026-03-21",
85
- "family": "minimax",
86
- "capabilities": {
87
- "streaming": true,
88
- "tool_call": true
89
- },
90
- "pricing": {
91
- "input": .3,
92
- "output": 1.2,
93
- "cached_input": .03
94
- }
95
- },
96
- {
97
- "id": "minimax-m2.7-highspeed",
98
- "name": "MiniMax-M2.7-highspeed",
99
- "created_by": "minimax",
100
- "source": "official",
101
- "last_updated": "2026-03-21",
102
- "family": "minimax",
103
- "capabilities": {
104
- "streaming": true,
105
- "tool_call": true
106
- },
107
- "pricing": {
108
- "input": .6,
109
- "output": 2.4,
110
- "cached_input": .06
111
- }
112
- },
113
- {
114
- "id": "minimax-m2.7",
115
- "name": "MiniMax-M2.7",
116
- "created_by": "minimax",
117
- "source": "official",
118
- "last_updated": "2026-03-21",
119
- "family": "minimax",
120
- "capabilities": {
121
- "streaming": true,
122
- "tool_call": true
123
- },
124
- "pricing": {
125
- "input": .3,
126
- "output": 1.2,
127
- "cached_input": .06
128
- }
129
- },
130
- {
131
- "id": "minimax-m2",
132
- "name": "MiniMax-M2",
133
- "created_by": "minimax",
134
- "source": "official",
135
- "last_updated": "2026-03-21",
136
- "family": "minimax",
137
- "capabilities": {
138
- "streaming": true,
139
- "tool_call": true
140
- },
141
- "pricing": {
142
- "input": .3,
143
- "output": 1.2,
144
- "cached_input": .03
145
- }
146
- }
147
- ]
148
- };
149
- const models = provider.models.map((m) => ({
150
- ...m,
151
- provider: provider.id
152
- }));
153
- //#endregion
154
- export { models, provider };
1
+ const e={id:`minimax`,name:`MiniMax`,region:`CN`,url:`https://www.minimax.io`,api_url:`https://api.minimax.io/v1`,docs_url:`https://platform.minimax.io/docs`,pricing_url:`https://platform.minimax.io/docs/guides/pricing-paygo`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
2
+ <path d="M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z"/>
3
+ </svg>`,models:[{id:`m2-her`,name:`M2-her`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.3,output:1.2}},{id:`minimax-m2.1-highspeed`,name:`MiniMax-M2.1-highspeed`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.6,output:2.4,cached_input:.03}},{id:`minimax-m2.1`,name:`MiniMax-M2.1`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.3,output:1.2,cached_input:.03}},{id:`minimax-m2.5-highspeed`,name:`MiniMax-M2.5-highspeed`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.6,output:2.4,cached_input:.03}},{id:`minimax-m2.5`,name:`MiniMax-M2.5`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.3,output:1.2,cached_input:.03}},{id:`minimax-m2.7-highspeed`,name:`MiniMax-M2.7-highspeed`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.6,output:2.4,cached_input:.06}},{id:`minimax-m2.7`,name:`MiniMax-M2.7`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.3,output:1.2,cached_input:.06}},{id:`minimax-m2`,name:`MiniMax-M2`,created_by:`minimax`,source:`official`,last_updated:`2026-03-21`,family:`minimax`,capabilities:{streaming:!0,tool_call:!0},pricing:{input:.3,output:1.2,cached_input:.03}}]},t=e.models.map(t=>({...t,provider:e.id}));export{t as models,e as provider};