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.
- package/README.md +135 -0
- package/dist/index.cjs +1 -101
- package/dist/index.mjs +1 -92
- package/dist/providers/alibaba.cjs +4 -835
- package/dist/providers/alibaba.mjs +4 -833
- package/dist/providers/amazon.cjs +4 -1484
- package/dist/providers/amazon.mjs +4 -1482
- package/dist/providers/anthropic.cjs +3 -698
- package/dist/providers/anthropic.mjs +3 -696
- package/dist/providers/azure.cjs +6 -1491
- package/dist/providers/azure.mjs +6 -1489
- package/dist/providers/baseten.cjs +3 -279
- package/dist/providers/baseten.mjs +3 -277
- package/dist/providers/cerebras.cjs +4 -145
- package/dist/providers/cerebras.mjs +4 -143
- package/dist/providers/cloudflare.cjs +4 -826
- package/dist/providers/cloudflare.mjs +4 -824
- package/dist/providers/cohere.cjs +5 -525
- package/dist/providers/cohere.mjs +5 -523
- package/dist/providers/cursor.cjs +1 -856
- package/dist/providers/cursor.mjs +1 -854
- package/dist/providers/deepseek.cjs +3 -64
- package/dist/providers/deepseek.mjs +3 -62
- package/dist/providers/fireworks.cjs +3 -3794
- package/dist/providers/fireworks.mjs +3 -3792
- package/dist/providers/google.cjs +6 -972
- package/dist/providers/google.mjs +6 -970
- package/dist/providers/groq.cjs +3 -353
- package/dist/providers/groq.mjs +3 -351
- package/dist/providers/huggingface.cjs +3 -1022
- package/dist/providers/huggingface.mjs +3 -1020
- package/dist/providers/meta.cjs +3 -481
- package/dist/providers/meta.mjs +3 -479
- package/dist/providers/minimax.cjs +3 -156
- package/dist/providers/minimax.mjs +3 -154
- package/dist/providers/mistral.cjs +3 -1594
- package/dist/providers/mistral.mjs +3 -1592
- package/dist/providers/moonshot.cjs +3 -138
- package/dist/providers/moonshot.mjs +3 -136
- package/dist/providers/nvidia.cjs +3 -2040
- package/dist/providers/nvidia.mjs +3 -2038
- package/dist/providers/ollama.cjs +3 -326
- package/dist/providers/ollama.mjs +3 -324
- package/dist/providers/openai.cjs +3 -9079
- package/dist/providers/openai.mjs +3 -9077
- package/dist/providers/opencode.cjs +3 -367
- package/dist/providers/opencode.mjs +3 -365
- package/dist/providers/openrouter.cjs +12 -7835
- package/dist/providers/openrouter.mjs +12 -7833
- package/dist/providers/perplexity.cjs +3 -311
- package/dist/providers/perplexity.mjs +3 -309
- package/dist/providers/qwen.cjs +3 -835
- package/dist/providers/qwen.mjs +3 -833
- package/dist/providers/together.cjs +4 -360
- package/dist/providers/together.mjs +4 -358
- package/dist/providers/vercel.cjs +3 -4037
- package/dist/providers/vercel.mjs +3 -4035
- package/dist/providers/vertex.cjs +10 -1072
- package/dist/providers/vertex.mjs +10 -1070
- package/dist/providers/xai.cjs +3 -301
- package/dist/providers/xai.mjs +3 -299
- package/dist/providers/zai.cjs +3 -243
- package/dist/providers/zai.mjs +3 -241
- package/package.json +1 -1
package/dist/providers/zai.cjs
CHANGED
|
@@ -1,243 +1,3 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"id": "zai",
|
|
5
|
-
"name": "Z.AI (Zhipu)",
|
|
6
|
-
"region": "CN",
|
|
7
|
-
"url": "https://z.ai",
|
|
8
|
-
"api_url": "https://api.z.ai/api/paas/v4",
|
|
9
|
-
"docs_url": "https://docs.z.ai",
|
|
10
|
-
"pricing_url": "https://z.ai/pricing",
|
|
11
|
-
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z\"/>\n</svg>",
|
|
12
|
-
"models": [
|
|
13
|
-
{
|
|
14
|
-
"id": "glm-4-32b-0414-128k",
|
|
15
|
-
"name": "GLM-4-32B-0414-128K",
|
|
16
|
-
"created_by": "zhipu",
|
|
17
|
-
"source": "official",
|
|
18
|
-
"last_updated": "2026-03-21",
|
|
19
|
-
"context_window": 128e3,
|
|
20
|
-
"max_output_tokens": 16e3,
|
|
21
|
-
"capabilities": {
|
|
22
|
-
"streaming": true,
|
|
23
|
-
"tool_call": true,
|
|
24
|
-
"structured_output": true
|
|
25
|
-
},
|
|
26
|
-
"modalities": {
|
|
27
|
-
"input": ["text"],
|
|
28
|
-
"output": ["text"]
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"id": "glm-4.5",
|
|
33
|
-
"name": "GLM-4.5",
|
|
34
|
-
"created_by": "zhipu",
|
|
35
|
-
"source": "official",
|
|
36
|
-
"last_updated": "2026-03-21",
|
|
37
|
-
"context_window": 128e3,
|
|
38
|
-
"max_output_tokens": 96e3,
|
|
39
|
-
"capabilities": {
|
|
40
|
-
"streaming": true,
|
|
41
|
-
"tool_call": true,
|
|
42
|
-
"structured_output": true,
|
|
43
|
-
"reasoning": true
|
|
44
|
-
},
|
|
45
|
-
"modalities": {
|
|
46
|
-
"input": ["text"],
|
|
47
|
-
"output": ["text"]
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"id": "glm-4.5v",
|
|
52
|
-
"name": "GLM-4.5V",
|
|
53
|
-
"created_by": "zhipu",
|
|
54
|
-
"source": "official",
|
|
55
|
-
"last_updated": "2026-03-21",
|
|
56
|
-
"max_output_tokens": 16e3,
|
|
57
|
-
"capabilities": {
|
|
58
|
-
"streaming": true,
|
|
59
|
-
"reasoning": true
|
|
60
|
-
},
|
|
61
|
-
"modalities": {
|
|
62
|
-
"input": ["text"],
|
|
63
|
-
"output": ["text"]
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"id": "glm-4.6",
|
|
68
|
-
"name": "GLM-4.6",
|
|
69
|
-
"created_by": "zhipu",
|
|
70
|
-
"source": "official",
|
|
71
|
-
"last_updated": "2026-03-21",
|
|
72
|
-
"context_window": 2e5,
|
|
73
|
-
"max_output_tokens": 128e3,
|
|
74
|
-
"capabilities": { "streaming": true },
|
|
75
|
-
"modalities": {
|
|
76
|
-
"input": ["text"],
|
|
77
|
-
"output": ["text"]
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"id": "glm-4.6v-flash",
|
|
82
|
-
"name": "GLM-4.6V-Flash",
|
|
83
|
-
"created_by": "zhipu",
|
|
84
|
-
"source": "official",
|
|
85
|
-
"last_updated": "2026-03-21",
|
|
86
|
-
"context_window": 128e3,
|
|
87
|
-
"capabilities": {
|
|
88
|
-
"streaming": true,
|
|
89
|
-
"tool_call": true
|
|
90
|
-
},
|
|
91
|
-
"modalities": {
|
|
92
|
-
"input": ["text"],
|
|
93
|
-
"output": ["text"]
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"id": "glm-4.6v-flashx",
|
|
98
|
-
"name": "GLM-4.6V-FlashX",
|
|
99
|
-
"created_by": "zhipu",
|
|
100
|
-
"source": "official",
|
|
101
|
-
"last_updated": "2026-03-21",
|
|
102
|
-
"context_window": 128e3,
|
|
103
|
-
"capabilities": {
|
|
104
|
-
"streaming": true,
|
|
105
|
-
"tool_call": true
|
|
106
|
-
},
|
|
107
|
-
"modalities": {
|
|
108
|
-
"input": ["text"],
|
|
109
|
-
"output": ["text"]
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"id": "glm-4.6v",
|
|
114
|
-
"name": "GLM-4.6V",
|
|
115
|
-
"created_by": "zhipu",
|
|
116
|
-
"source": "official",
|
|
117
|
-
"last_updated": "2026-03-21",
|
|
118
|
-
"context_window": 128e3,
|
|
119
|
-
"capabilities": {
|
|
120
|
-
"streaming": true,
|
|
121
|
-
"tool_call": true
|
|
122
|
-
},
|
|
123
|
-
"modalities": {
|
|
124
|
-
"input": ["text"],
|
|
125
|
-
"output": ["text"]
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"id": "glm-4.7-flash",
|
|
130
|
-
"name": "GLM-4.7-Flash",
|
|
131
|
-
"created_by": "zhipu",
|
|
132
|
-
"source": "official",
|
|
133
|
-
"last_updated": "2026-03-21",
|
|
134
|
-
"context_window": 2e5,
|
|
135
|
-
"max_output_tokens": 128e3,
|
|
136
|
-
"capabilities": {
|
|
137
|
-
"streaming": true,
|
|
138
|
-
"tool_call": true,
|
|
139
|
-
"structured_output": true,
|
|
140
|
-
"reasoning": true
|
|
141
|
-
},
|
|
142
|
-
"modalities": {
|
|
143
|
-
"input": ["text"],
|
|
144
|
-
"output": ["text"]
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"id": "glm-4.7-flashx",
|
|
149
|
-
"name": "GLM-4.7-FlashX",
|
|
150
|
-
"created_by": "zhipu",
|
|
151
|
-
"source": "official",
|
|
152
|
-
"last_updated": "2026-03-21",
|
|
153
|
-
"context_window": 2e5,
|
|
154
|
-
"max_output_tokens": 128e3,
|
|
155
|
-
"capabilities": {
|
|
156
|
-
"streaming": true,
|
|
157
|
-
"tool_call": true,
|
|
158
|
-
"structured_output": true,
|
|
159
|
-
"reasoning": true
|
|
160
|
-
},
|
|
161
|
-
"modalities": {
|
|
162
|
-
"input": ["text"],
|
|
163
|
-
"output": ["text"]
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"id": "glm-4.7",
|
|
168
|
-
"name": "GLM-4.7",
|
|
169
|
-
"created_by": "zhipu",
|
|
170
|
-
"source": "official",
|
|
171
|
-
"last_updated": "2026-03-21",
|
|
172
|
-
"context_window": 2e5,
|
|
173
|
-
"max_output_tokens": 128e3,
|
|
174
|
-
"capabilities": {
|
|
175
|
-
"streaming": true,
|
|
176
|
-
"tool_call": true,
|
|
177
|
-
"structured_output": true,
|
|
178
|
-
"reasoning": true
|
|
179
|
-
},
|
|
180
|
-
"modalities": {
|
|
181
|
-
"input": ["text"],
|
|
182
|
-
"output": ["text"]
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"id": "glm-5-turbo",
|
|
187
|
-
"name": "GLM-5-TURBO",
|
|
188
|
-
"created_by": "zhipu",
|
|
189
|
-
"source": "official",
|
|
190
|
-
"last_updated": "2026-03-21",
|
|
191
|
-
"context_window": 2e5,
|
|
192
|
-
"max_output_tokens": 128e3,
|
|
193
|
-
"capabilities": {
|
|
194
|
-
"streaming": true,
|
|
195
|
-
"tool_call": true,
|
|
196
|
-
"structured_output": true,
|
|
197
|
-
"reasoning": true
|
|
198
|
-
},
|
|
199
|
-
"modalities": {
|
|
200
|
-
"input": ["text"],
|
|
201
|
-
"output": ["text"]
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"id": "glm-5",
|
|
206
|
-
"name": "GLM-5",
|
|
207
|
-
"created_by": "zhipu",
|
|
208
|
-
"source": "official",
|
|
209
|
-
"last_updated": "2026-03-21",
|
|
210
|
-
"context_window": 2e5,
|
|
211
|
-
"max_output_tokens": 128e3,
|
|
212
|
-
"capabilities": {
|
|
213
|
-
"streaming": true,
|
|
214
|
-
"tool_call": true,
|
|
215
|
-
"structured_output": true,
|
|
216
|
-
"reasoning": true
|
|
217
|
-
},
|
|
218
|
-
"modalities": {
|
|
219
|
-
"input": ["text"],
|
|
220
|
-
"output": ["text"]
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"id": "glm-ocr",
|
|
225
|
-
"name": "GLM-OCR",
|
|
226
|
-
"created_by": "zhipu",
|
|
227
|
-
"source": "official",
|
|
228
|
-
"last_updated": "2026-03-21",
|
|
229
|
-
"capabilities": { "streaming": true },
|
|
230
|
-
"modalities": {
|
|
231
|
-
"input": ["text"],
|
|
232
|
-
"output": ["text"]
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
]
|
|
236
|
-
};
|
|
237
|
-
const models = provider.models.map((m) => ({
|
|
238
|
-
...m,
|
|
239
|
-
provider: provider.id
|
|
240
|
-
}));
|
|
241
|
-
//#endregion
|
|
242
|
-
exports.models = models;
|
|
243
|
-
exports.provider = provider;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e={id:`zai`,name:`Z.AI (Zhipu)`,region:`CN`,url:`https://z.ai`,api_url:`https://api.z.ai/api/paas/v4`,docs_url:`https://docs.z.ai`,pricing_url:`https://z.ai/pricing`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
|
|
2
|
+
<path d="M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z"/>
|
|
3
|
+
</svg>`,models:[{id:`glm-4-32b-0414-128k`,name:`GLM-4-32B-0414-128K`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,max_output_tokens:16e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.5`,name:`GLM-4.5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,max_output_tokens:96e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.5v`,name:`GLM-4.5V`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,max_output_tokens:16e3,capabilities:{streaming:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6`,name:`GLM-4.6`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6v-flash`,name:`GLM-4.6V-Flash`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6v-flashx`,name:`GLM-4.6V-FlashX`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6v`,name:`GLM-4.6V`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.7-flash`,name:`GLM-4.7-Flash`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.7-flashx`,name:`GLM-4.7-FlashX`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.7`,name:`GLM-4.7`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-5-turbo`,name:`GLM-5-TURBO`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-5`,name:`GLM-5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-ocr`,name:`GLM-OCR`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]}}]},t=e.models.map(t=>({...t,provider:e.id}));exports.models=t,exports.provider=e;
|
package/dist/providers/zai.mjs
CHANGED
|
@@ -1,241 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"name": "Z.AI (Zhipu)",
|
|
5
|
-
"region": "CN",
|
|
6
|
-
"url": "https://z.ai",
|
|
7
|
-
"api_url": "https://api.z.ai/api/paas/v4",
|
|
8
|
-
"docs_url": "https://docs.z.ai",
|
|
9
|
-
"pricing_url": "https://z.ai/pricing",
|
|
10
|
-
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" fill-rule=\"evenodd\">\n <path d=\"M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z\"/>\n</svg>",
|
|
11
|
-
"models": [
|
|
12
|
-
{
|
|
13
|
-
"id": "glm-4-32b-0414-128k",
|
|
14
|
-
"name": "GLM-4-32B-0414-128K",
|
|
15
|
-
"created_by": "zhipu",
|
|
16
|
-
"source": "official",
|
|
17
|
-
"last_updated": "2026-03-21",
|
|
18
|
-
"context_window": 128e3,
|
|
19
|
-
"max_output_tokens": 16e3,
|
|
20
|
-
"capabilities": {
|
|
21
|
-
"streaming": true,
|
|
22
|
-
"tool_call": true,
|
|
23
|
-
"structured_output": true
|
|
24
|
-
},
|
|
25
|
-
"modalities": {
|
|
26
|
-
"input": ["text"],
|
|
27
|
-
"output": ["text"]
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"id": "glm-4.5",
|
|
32
|
-
"name": "GLM-4.5",
|
|
33
|
-
"created_by": "zhipu",
|
|
34
|
-
"source": "official",
|
|
35
|
-
"last_updated": "2026-03-21",
|
|
36
|
-
"context_window": 128e3,
|
|
37
|
-
"max_output_tokens": 96e3,
|
|
38
|
-
"capabilities": {
|
|
39
|
-
"streaming": true,
|
|
40
|
-
"tool_call": true,
|
|
41
|
-
"structured_output": true,
|
|
42
|
-
"reasoning": true
|
|
43
|
-
},
|
|
44
|
-
"modalities": {
|
|
45
|
-
"input": ["text"],
|
|
46
|
-
"output": ["text"]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"id": "glm-4.5v",
|
|
51
|
-
"name": "GLM-4.5V",
|
|
52
|
-
"created_by": "zhipu",
|
|
53
|
-
"source": "official",
|
|
54
|
-
"last_updated": "2026-03-21",
|
|
55
|
-
"max_output_tokens": 16e3,
|
|
56
|
-
"capabilities": {
|
|
57
|
-
"streaming": true,
|
|
58
|
-
"reasoning": true
|
|
59
|
-
},
|
|
60
|
-
"modalities": {
|
|
61
|
-
"input": ["text"],
|
|
62
|
-
"output": ["text"]
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"id": "glm-4.6",
|
|
67
|
-
"name": "GLM-4.6",
|
|
68
|
-
"created_by": "zhipu",
|
|
69
|
-
"source": "official",
|
|
70
|
-
"last_updated": "2026-03-21",
|
|
71
|
-
"context_window": 2e5,
|
|
72
|
-
"max_output_tokens": 128e3,
|
|
73
|
-
"capabilities": { "streaming": true },
|
|
74
|
-
"modalities": {
|
|
75
|
-
"input": ["text"],
|
|
76
|
-
"output": ["text"]
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"id": "glm-4.6v-flash",
|
|
81
|
-
"name": "GLM-4.6V-Flash",
|
|
82
|
-
"created_by": "zhipu",
|
|
83
|
-
"source": "official",
|
|
84
|
-
"last_updated": "2026-03-21",
|
|
85
|
-
"context_window": 128e3,
|
|
86
|
-
"capabilities": {
|
|
87
|
-
"streaming": true,
|
|
88
|
-
"tool_call": true
|
|
89
|
-
},
|
|
90
|
-
"modalities": {
|
|
91
|
-
"input": ["text"],
|
|
92
|
-
"output": ["text"]
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"id": "glm-4.6v-flashx",
|
|
97
|
-
"name": "GLM-4.6V-FlashX",
|
|
98
|
-
"created_by": "zhipu",
|
|
99
|
-
"source": "official",
|
|
100
|
-
"last_updated": "2026-03-21",
|
|
101
|
-
"context_window": 128e3,
|
|
102
|
-
"capabilities": {
|
|
103
|
-
"streaming": true,
|
|
104
|
-
"tool_call": true
|
|
105
|
-
},
|
|
106
|
-
"modalities": {
|
|
107
|
-
"input": ["text"],
|
|
108
|
-
"output": ["text"]
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"id": "glm-4.6v",
|
|
113
|
-
"name": "GLM-4.6V",
|
|
114
|
-
"created_by": "zhipu",
|
|
115
|
-
"source": "official",
|
|
116
|
-
"last_updated": "2026-03-21",
|
|
117
|
-
"context_window": 128e3,
|
|
118
|
-
"capabilities": {
|
|
119
|
-
"streaming": true,
|
|
120
|
-
"tool_call": true
|
|
121
|
-
},
|
|
122
|
-
"modalities": {
|
|
123
|
-
"input": ["text"],
|
|
124
|
-
"output": ["text"]
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"id": "glm-4.7-flash",
|
|
129
|
-
"name": "GLM-4.7-Flash",
|
|
130
|
-
"created_by": "zhipu",
|
|
131
|
-
"source": "official",
|
|
132
|
-
"last_updated": "2026-03-21",
|
|
133
|
-
"context_window": 2e5,
|
|
134
|
-
"max_output_tokens": 128e3,
|
|
135
|
-
"capabilities": {
|
|
136
|
-
"streaming": true,
|
|
137
|
-
"tool_call": true,
|
|
138
|
-
"structured_output": true,
|
|
139
|
-
"reasoning": true
|
|
140
|
-
},
|
|
141
|
-
"modalities": {
|
|
142
|
-
"input": ["text"],
|
|
143
|
-
"output": ["text"]
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"id": "glm-4.7-flashx",
|
|
148
|
-
"name": "GLM-4.7-FlashX",
|
|
149
|
-
"created_by": "zhipu",
|
|
150
|
-
"source": "official",
|
|
151
|
-
"last_updated": "2026-03-21",
|
|
152
|
-
"context_window": 2e5,
|
|
153
|
-
"max_output_tokens": 128e3,
|
|
154
|
-
"capabilities": {
|
|
155
|
-
"streaming": true,
|
|
156
|
-
"tool_call": true,
|
|
157
|
-
"structured_output": true,
|
|
158
|
-
"reasoning": true
|
|
159
|
-
},
|
|
160
|
-
"modalities": {
|
|
161
|
-
"input": ["text"],
|
|
162
|
-
"output": ["text"]
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"id": "glm-4.7",
|
|
167
|
-
"name": "GLM-4.7",
|
|
168
|
-
"created_by": "zhipu",
|
|
169
|
-
"source": "official",
|
|
170
|
-
"last_updated": "2026-03-21",
|
|
171
|
-
"context_window": 2e5,
|
|
172
|
-
"max_output_tokens": 128e3,
|
|
173
|
-
"capabilities": {
|
|
174
|
-
"streaming": true,
|
|
175
|
-
"tool_call": true,
|
|
176
|
-
"structured_output": true,
|
|
177
|
-
"reasoning": true
|
|
178
|
-
},
|
|
179
|
-
"modalities": {
|
|
180
|
-
"input": ["text"],
|
|
181
|
-
"output": ["text"]
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"id": "glm-5-turbo",
|
|
186
|
-
"name": "GLM-5-TURBO",
|
|
187
|
-
"created_by": "zhipu",
|
|
188
|
-
"source": "official",
|
|
189
|
-
"last_updated": "2026-03-21",
|
|
190
|
-
"context_window": 2e5,
|
|
191
|
-
"max_output_tokens": 128e3,
|
|
192
|
-
"capabilities": {
|
|
193
|
-
"streaming": true,
|
|
194
|
-
"tool_call": true,
|
|
195
|
-
"structured_output": true,
|
|
196
|
-
"reasoning": true
|
|
197
|
-
},
|
|
198
|
-
"modalities": {
|
|
199
|
-
"input": ["text"],
|
|
200
|
-
"output": ["text"]
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"id": "glm-5",
|
|
205
|
-
"name": "GLM-5",
|
|
206
|
-
"created_by": "zhipu",
|
|
207
|
-
"source": "official",
|
|
208
|
-
"last_updated": "2026-03-21",
|
|
209
|
-
"context_window": 2e5,
|
|
210
|
-
"max_output_tokens": 128e3,
|
|
211
|
-
"capabilities": {
|
|
212
|
-
"streaming": true,
|
|
213
|
-
"tool_call": true,
|
|
214
|
-
"structured_output": true,
|
|
215
|
-
"reasoning": true
|
|
216
|
-
},
|
|
217
|
-
"modalities": {
|
|
218
|
-
"input": ["text"],
|
|
219
|
-
"output": ["text"]
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"id": "glm-ocr",
|
|
224
|
-
"name": "GLM-OCR",
|
|
225
|
-
"created_by": "zhipu",
|
|
226
|
-
"source": "official",
|
|
227
|
-
"last_updated": "2026-03-21",
|
|
228
|
-
"capabilities": { "streaming": true },
|
|
229
|
-
"modalities": {
|
|
230
|
-
"input": ["text"],
|
|
231
|
-
"output": ["text"]
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
]
|
|
235
|
-
};
|
|
236
|
-
const models = provider.models.map((m) => ({
|
|
237
|
-
...m,
|
|
238
|
-
provider: provider.id
|
|
239
|
-
}));
|
|
240
|
-
//#endregion
|
|
241
|
-
export { models, provider };
|
|
1
|
+
const e={id:`zai`,name:`Z.AI (Zhipu)`,region:`CN`,url:`https://z.ai`,api_url:`https://api.z.ai/api/paas/v4`,docs_url:`https://docs.z.ai`,pricing_url:`https://z.ai/pricing`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
|
|
2
|
+
<path d="M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z"/>
|
|
3
|
+
</svg>`,models:[{id:`glm-4-32b-0414-128k`,name:`GLM-4-32B-0414-128K`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,max_output_tokens:16e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.5`,name:`GLM-4.5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,max_output_tokens:96e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.5v`,name:`GLM-4.5V`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,max_output_tokens:16e3,capabilities:{streaming:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6`,name:`GLM-4.6`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6v-flash`,name:`GLM-4.6V-Flash`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6v-flashx`,name:`GLM-4.6V-FlashX`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6v`,name:`GLM-4.6V`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.7-flash`,name:`GLM-4.7-Flash`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.7-flashx`,name:`GLM-4.7-FlashX`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.7`,name:`GLM-4.7`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-5-turbo`,name:`GLM-5-TURBO`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-5`,name:`GLM-5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-ocr`,name:`GLM-OCR`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]}}]},t=e.models.map(t=>({...t,provider:e.id}));export{t as models,e as provider};
|
package/package.json
CHANGED