@llmgateway/models 0.0.1

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 (112) hide show
  1. package/dist/get-cheapest-from-available-providers.d.ts +30 -0
  2. package/dist/get-cheapest-from-available-providers.js +183 -0
  3. package/dist/get-cheapest-from-available-providers.js.map +1 -0
  4. package/dist/get-cheapest-model-for-provider.d.ts +2 -0
  5. package/dist/get-cheapest-model-for-provider.js +49 -0
  6. package/dist/get-cheapest-model-for-provider.js.map +1 -0
  7. package/dist/get-provider-endpoint.d.ts +3 -0
  8. package/dist/get-provider-endpoint.js +243 -0
  9. package/dist/get-provider-endpoint.js.map +1 -0
  10. package/dist/get-provider-headers.d.ts +5 -0
  11. package/dist/get-provider-headers.js +45 -0
  12. package/dist/get-provider-headers.js.map +1 -0
  13. package/dist/helpers.d.ts +1 -0
  14. package/dist/helpers.js +27 -0
  15. package/dist/helpers.js.map +1 -0
  16. package/dist/index.d.ts +16 -0
  17. package/dist/index.js +17 -0
  18. package/dist/index.js.map +1 -0
  19. package/dist/models/alibaba.d.ts +686 -0
  20. package/dist/models/alibaba.js +789 -0
  21. package/dist/models/alibaba.js.map +1 -0
  22. package/dist/models/anthropic.d.ts +572 -0
  23. package/dist/models/anthropic.js +638 -0
  24. package/dist/models/anthropic.js.map +1 -0
  25. package/dist/models/aws-bedrock.d.ts +1 -0
  26. package/dist/models/aws-bedrock.js +2 -0
  27. package/dist/models/aws-bedrock.js.map +1 -0
  28. package/dist/models/bytedance.d.ts +131 -0
  29. package/dist/models/bytedance.js +151 -0
  30. package/dist/models/bytedance.js.map +1 -0
  31. package/dist/models/deepseek.d.ts +175 -0
  32. package/dist/models/deepseek.js +197 -0
  33. package/dist/models/deepseek.js.map +1 -0
  34. package/dist/models/google.d.ts +1065 -0
  35. package/dist/models/google.js +1201 -0
  36. package/dist/models/google.js.map +1 -0
  37. package/dist/models/llmgateway.d.ts +39 -0
  38. package/dist/models/llmgateway.js +59 -0
  39. package/dist/models/llmgateway.js.map +1 -0
  40. package/dist/models/meta.d.ts +263 -0
  41. package/dist/models/meta.js +300 -0
  42. package/dist/models/meta.js.map +1 -0
  43. package/dist/models/microsoft.d.ts +1 -0
  44. package/dist/models/microsoft.js +2 -0
  45. package/dist/models/microsoft.js.map +1 -0
  46. package/dist/models/minimax.d.ts +59 -0
  47. package/dist/models/minimax.js +68 -0
  48. package/dist/models/minimax.js.map +1 -0
  49. package/dist/models/mistral.d.ts +78 -0
  50. package/dist/models/mistral.js +92 -0
  51. package/dist/models/mistral.js.map +1 -0
  52. package/dist/models/moonshot.d.ts +165 -0
  53. package/dist/models/moonshot.js +184 -0
  54. package/dist/models/moonshot.js.map +1 -0
  55. package/dist/models/nousresearch.d.ts +21 -0
  56. package/dist/models/nousresearch.js +26 -0
  57. package/dist/models/nousresearch.js.map +1 -0
  58. package/dist/models/openai.d.ts +1018 -0
  59. package/dist/models/openai.js +1213 -0
  60. package/dist/models/openai.js.map +1 -0
  61. package/dist/models/perplexity.d.ts +67 -0
  62. package/dist/models/perplexity.js +78 -0
  63. package/dist/models/perplexity.js.map +1 -0
  64. package/dist/models/routeway.d.ts +161 -0
  65. package/dist/models/routeway.js +187 -0
  66. package/dist/models/routeway.js.map +1 -0
  67. package/dist/models/xai.d.ts +270 -0
  68. package/dist/models/xai.js +311 -0
  69. package/dist/models/xai.js.map +1 -0
  70. package/dist/models/zai.d.ts +492 -0
  71. package/dist/models/zai.js +551 -0
  72. package/dist/models/zai.js.map +1 -0
  73. package/dist/models.d.ts +5304 -0
  74. package/dist/models.js +37 -0
  75. package/dist/models.js.map +1 -0
  76. package/dist/models.spec.d.ts +1 -0
  77. package/dist/models.spec.js +263 -0
  78. package/dist/models.spec.js.map +1 -0
  79. package/dist/prepare-request-body.d.ts +10 -0
  80. package/dist/prepare-request-body.js +1081 -0
  81. package/dist/prepare-request-body.js.map +1 -0
  82. package/dist/prepare-request-body.spec.d.ts +1 -0
  83. package/dist/prepare-request-body.spec.js +231 -0
  84. package/dist/prepare-request-body.spec.js.map +1 -0
  85. package/dist/process-image-url.d.ts +4 -0
  86. package/dist/process-image-url.js +121 -0
  87. package/dist/process-image-url.js.map +1 -0
  88. package/dist/provider.d.ts +9 -0
  89. package/dist/provider.js +64 -0
  90. package/dist/provider.js.map +1 -0
  91. package/dist/providers.d.ts +405 -0
  92. package/dist/providers.js +413 -0
  93. package/dist/providers.js.map +1 -0
  94. package/dist/testing.d.ts +7 -0
  95. package/dist/testing.js +19 -0
  96. package/dist/testing.js.map +1 -0
  97. package/dist/transform-anthropic-messages.d.ts +2 -0
  98. package/dist/transform-anthropic-messages.js +185 -0
  99. package/dist/transform-anthropic-messages.js.map +1 -0
  100. package/dist/transform-google-messages.d.ts +25 -0
  101. package/dist/transform-google-messages.js +122 -0
  102. package/dist/transform-google-messages.js.map +1 -0
  103. package/dist/type-guards.d.ts +20 -0
  104. package/dist/type-guards.js +35 -0
  105. package/dist/type-guards.js.map +1 -0
  106. package/dist/types.d.ts +291 -0
  107. package/dist/types.js +28 -0
  108. package/dist/types.js.map +1 -0
  109. package/dist/validate-provider-key.d.ts +4 -0
  110. package/dist/validate-provider-key.js +113 -0
  111. package/dist/validate-provider-key.js.map +1 -0
  112. package/package.json +29 -0
@@ -0,0 +1,492 @@
1
+ export declare const zaiModels: [{
2
+ readonly id: "glm-4.5";
3
+ readonly name: "GLM-4.5";
4
+ readonly description: "Zhipu GLM-4.5 with reasoning capabilities.";
5
+ readonly family: "glm";
6
+ readonly releasedAt: Date;
7
+ readonly providers: [{
8
+ readonly providerId: "zai";
9
+ readonly modelName: "glm-4.5";
10
+ readonly inputPrice: number;
11
+ readonly cachedInputPrice: number;
12
+ readonly outputPrice: number;
13
+ readonly discount: 0.1;
14
+ readonly requestPrice: 0;
15
+ readonly contextSize: 128000;
16
+ readonly maxOutput: undefined;
17
+ readonly streaming: true;
18
+ readonly reasoning: true;
19
+ readonly vision: false;
20
+ readonly tools: true;
21
+ readonly webSearch: true;
22
+ readonly webSearchPrice: 0.01;
23
+ readonly jsonOutput: true;
24
+ }];
25
+ }, {
26
+ readonly id: "glm-4.5v";
27
+ readonly name: "GLM-4.5V";
28
+ readonly description: "GLM-4.5 with vision support.";
29
+ readonly family: "glm";
30
+ readonly releasedAt: Date;
31
+ readonly providers: [{
32
+ readonly providerId: "zai";
33
+ readonly modelName: "glm-4.5v";
34
+ readonly inputPrice: number;
35
+ readonly cachedInputPrice: number;
36
+ readonly outputPrice: number;
37
+ readonly discount: 0.1;
38
+ readonly requestPrice: 0;
39
+ readonly contextSize: 128000;
40
+ readonly maxOutput: 16000;
41
+ readonly streaming: true;
42
+ readonly reasoning: true;
43
+ readonly reasoningOutput: "omit";
44
+ readonly vision: true;
45
+ readonly tools: true;
46
+ readonly jsonOutput: true;
47
+ }, {
48
+ readonly providerId: "novita";
49
+ readonly modelName: "zai-org/glm-4.5v";
50
+ readonly inputPrice: number;
51
+ readonly cachedInputPrice: number;
52
+ readonly outputPrice: number;
53
+ readonly requestPrice: 0;
54
+ readonly contextSize: 65536;
55
+ readonly maxOutput: 16000;
56
+ readonly streaming: true;
57
+ readonly reasoning: true;
58
+ readonly reasoningOutput: "omit";
59
+ readonly vision: true;
60
+ readonly tools: true;
61
+ readonly jsonOutput: true;
62
+ }];
63
+ }, {
64
+ readonly id: "glm-4.5-air";
65
+ readonly name: "GLM-4.5 Air";
66
+ readonly description: "Lightweight GLM-4.5 variant.";
67
+ readonly family: "glm";
68
+ readonly releasedAt: Date;
69
+ readonly providers: [{
70
+ readonly providerId: "zai";
71
+ readonly modelName: "glm-4.5-air";
72
+ readonly inputPrice: number;
73
+ readonly cachedInputPrice: number;
74
+ readonly outputPrice: number;
75
+ readonly discount: 0.1;
76
+ readonly requestPrice: 0;
77
+ readonly contextSize: 128000;
78
+ readonly maxOutput: undefined;
79
+ readonly streaming: true;
80
+ readonly reasoning: false;
81
+ readonly vision: false;
82
+ readonly tools: true;
83
+ readonly jsonOutput: true;
84
+ }];
85
+ }, {
86
+ readonly id: "glm-4.5-x";
87
+ readonly name: "GLM-4.5 X";
88
+ readonly description: "Extended GLM-4.5 with advanced reasoning.";
89
+ readonly family: "glm";
90
+ readonly releasedAt: Date;
91
+ readonly providers: [{
92
+ readonly providerId: "zai";
93
+ readonly modelName: "glm-4.5-x";
94
+ readonly inputPrice: number;
95
+ readonly cachedInputPrice: number;
96
+ readonly outputPrice: number;
97
+ readonly discount: 0.1;
98
+ readonly requestPrice: 0;
99
+ readonly contextSize: 128000;
100
+ readonly maxOutput: undefined;
101
+ readonly streaming: true;
102
+ readonly reasoning: true;
103
+ readonly vision: false;
104
+ readonly tools: true;
105
+ readonly stability: "unstable";
106
+ readonly jsonOutput: true;
107
+ }];
108
+ }, {
109
+ readonly id: "glm-4.5-airx";
110
+ readonly name: "GLM-4.5 AirX";
111
+ readonly description: "Enhanced GLM-4.5 Air variant.";
112
+ readonly family: "glm";
113
+ readonly releasedAt: Date;
114
+ readonly providers: [{
115
+ readonly providerId: "zai";
116
+ readonly modelName: "glm-4.5-airx";
117
+ readonly inputPrice: number;
118
+ readonly cachedInputPrice: number;
119
+ readonly outputPrice: number;
120
+ readonly discount: 0.1;
121
+ readonly requestPrice: 0;
122
+ readonly contextSize: 128000;
123
+ readonly maxOutput: undefined;
124
+ readonly streaming: true;
125
+ readonly reasoning: false;
126
+ readonly vision: false;
127
+ readonly tools: true;
128
+ readonly jsonOutput: true;
129
+ }];
130
+ }, {
131
+ readonly id: "glm-4.5-flash";
132
+ readonly name: "GLM-4.5 Flash";
133
+ readonly description: "Free, fast GLM-4.5 model.";
134
+ readonly family: "glm";
135
+ readonly free: true;
136
+ readonly releasedAt: Date;
137
+ readonly providers: [{
138
+ readonly providerId: "zai";
139
+ readonly modelName: "glm-4.5-flash";
140
+ readonly inputPrice: 0;
141
+ readonly cachedInputPrice: 0;
142
+ readonly outputPrice: 0;
143
+ readonly requestPrice: 0;
144
+ readonly contextSize: 128000;
145
+ readonly maxOutput: undefined;
146
+ readonly streaming: true;
147
+ readonly reasoning: false;
148
+ readonly vision: false;
149
+ readonly tools: true;
150
+ readonly jsonOutput: true;
151
+ }];
152
+ }, {
153
+ readonly id: "glm-4.7";
154
+ readonly name: "GLM-4.7";
155
+ readonly description: "Latest GLM with enhanced reasoning capabilities.";
156
+ readonly family: "glm";
157
+ readonly releasedAt: Date;
158
+ readonly providers: [{
159
+ readonly providerId: "zai";
160
+ readonly modelName: "glm-4.7";
161
+ readonly inputPrice: number;
162
+ readonly cachedInputPrice: number;
163
+ readonly outputPrice: number;
164
+ readonly discount: 0.1;
165
+ readonly requestPrice: 0;
166
+ readonly contextSize: 200000;
167
+ readonly maxOutput: 128000;
168
+ readonly streaming: true;
169
+ readonly reasoning: true;
170
+ readonly vision: false;
171
+ readonly tools: true;
172
+ readonly webSearch: true;
173
+ readonly webSearchPrice: 0.01;
174
+ readonly jsonOutput: true;
175
+ }, {
176
+ readonly providerId: "canopywave";
177
+ readonly modelName: "zai/glm-4.7";
178
+ readonly inputPrice: number;
179
+ readonly outputPrice: number;
180
+ readonly discount: 0.25;
181
+ readonly requestPrice: 0;
182
+ readonly contextSize: 200000;
183
+ readonly maxOutput: 128000;
184
+ readonly streaming: true;
185
+ readonly reasoning: true;
186
+ readonly vision: false;
187
+ readonly tools: true;
188
+ readonly jsonOutput: true;
189
+ }, {
190
+ readonly providerId: "novita";
191
+ readonly test: "skip";
192
+ readonly modelName: "zai-org/glm-4.7";
193
+ readonly inputPrice: number;
194
+ readonly cachedInputPrice: number;
195
+ readonly outputPrice: number;
196
+ readonly requestPrice: 0;
197
+ readonly contextSize: 204800;
198
+ readonly maxOutput: 128000;
199
+ readonly streaming: true;
200
+ readonly reasoning: true;
201
+ readonly vision: false;
202
+ readonly tools: true;
203
+ readonly jsonOutput: true;
204
+ }, {
205
+ readonly providerId: "cerebras";
206
+ readonly test: "skip";
207
+ readonly modelName: "zai-glm-4.7";
208
+ readonly inputPrice: number;
209
+ readonly outputPrice: number;
210
+ readonly requestPrice: 0;
211
+ readonly contextSize: 200000;
212
+ readonly maxOutput: 128000;
213
+ readonly streaming: true;
214
+ readonly reasoning: true;
215
+ readonly vision: false;
216
+ readonly tools: true;
217
+ readonly jsonOutput: true;
218
+ }, {
219
+ readonly providerId: "bytedance";
220
+ readonly modelName: "glm-4-7-251222";
221
+ readonly inputPrice: number;
222
+ readonly cachedInputPrice: number;
223
+ readonly outputPrice: number;
224
+ readonly requestPrice: 0;
225
+ readonly contextSize: 200000;
226
+ readonly maxOutput: 128000;
227
+ readonly streaming: true;
228
+ readonly reasoning: true;
229
+ readonly vision: false;
230
+ readonly tools: true;
231
+ readonly jsonOutput: false;
232
+ }];
233
+ }, {
234
+ readonly id: "glm-4.7-flashx";
235
+ readonly name: "GLM-4.7 FlashX";
236
+ readonly description: "Lightweight, high-speed GLM-4.7 variant.";
237
+ readonly family: "glm";
238
+ readonly releasedAt: Date;
239
+ readonly providers: [{
240
+ readonly providerId: "zai";
241
+ readonly modelName: "glm-4.7-flashx";
242
+ readonly inputPrice: number;
243
+ readonly cachedInputPrice: number;
244
+ readonly outputPrice: number;
245
+ readonly discount: 0.1;
246
+ readonly requestPrice: 0;
247
+ readonly contextSize: 200000;
248
+ readonly maxOutput: 128000;
249
+ readonly streaming: true;
250
+ readonly reasoning: true;
251
+ readonly vision: false;
252
+ readonly tools: true;
253
+ readonly jsonOutput: true;
254
+ }];
255
+ }, {
256
+ readonly id: "glm-4.7-flash";
257
+ readonly name: "GLM-4.7 Flash";
258
+ readonly description: "Free, lightweight GLM-4.7 model.";
259
+ readonly family: "glm";
260
+ readonly free: true;
261
+ readonly releasedAt: Date;
262
+ readonly providers: [{
263
+ readonly providerId: "zai";
264
+ readonly modelName: "glm-4.7-flash";
265
+ readonly inputPrice: 0;
266
+ readonly cachedInputPrice: 0;
267
+ readonly outputPrice: 0;
268
+ readonly requestPrice: 0;
269
+ readonly contextSize: 200000;
270
+ readonly maxOutput: 128000;
271
+ readonly streaming: true;
272
+ readonly reasoning: true;
273
+ readonly vision: false;
274
+ readonly tools: true;
275
+ readonly jsonOutput: true;
276
+ }];
277
+ }, {
278
+ readonly id: "glm-4.6";
279
+ readonly name: "GLM-4.6";
280
+ readonly description: "Updated GLM with reasoning capabilities.";
281
+ readonly family: "glm";
282
+ readonly releasedAt: Date;
283
+ readonly providers: [{
284
+ readonly providerId: "zai";
285
+ readonly modelName: "glm-4.6";
286
+ readonly inputPrice: number;
287
+ readonly cachedInputPrice: number;
288
+ readonly outputPrice: number;
289
+ readonly discount: 0.1;
290
+ readonly requestPrice: 0;
291
+ readonly contextSize: 200000;
292
+ readonly maxOutput: undefined;
293
+ readonly streaming: true;
294
+ readonly reasoning: true;
295
+ readonly vision: false;
296
+ readonly tools: true;
297
+ readonly webSearch: true;
298
+ readonly webSearchPrice: 0.01;
299
+ readonly jsonOutput: true;
300
+ }, {
301
+ readonly providerId: "cerebras";
302
+ readonly test: "skip";
303
+ readonly modelName: "zai-glm-4.6";
304
+ readonly inputPrice: number;
305
+ readonly outputPrice: number;
306
+ readonly requestPrice: 0;
307
+ readonly contextSize: 200000;
308
+ readonly maxOutput: undefined;
309
+ readonly streaming: true;
310
+ readonly reasoning: true;
311
+ readonly vision: false;
312
+ readonly tools: true;
313
+ readonly jsonOutput: true;
314
+ }, {
315
+ readonly providerId: "canopywave";
316
+ readonly deactivatedAt: Date;
317
+ readonly modelName: "zai/glm-4.6";
318
+ readonly inputPrice: number;
319
+ readonly outputPrice: number;
320
+ readonly discount: 0.75;
321
+ readonly requestPrice: 0;
322
+ readonly contextSize: 202752;
323
+ readonly maxOutput: undefined;
324
+ readonly streaming: true;
325
+ readonly reasoning: true;
326
+ readonly vision: false;
327
+ readonly tools: true;
328
+ readonly jsonOutput: true;
329
+ }, {
330
+ readonly providerId: "novita";
331
+ readonly modelName: "zai-org/glm-4.6";
332
+ readonly inputPrice: number;
333
+ readonly cachedInputPrice: number;
334
+ readonly outputPrice: number;
335
+ readonly requestPrice: 0;
336
+ readonly contextSize: 204800;
337
+ readonly maxOutput: undefined;
338
+ readonly streaming: true;
339
+ readonly reasoning: true;
340
+ readonly vision: false;
341
+ readonly tools: true;
342
+ readonly jsonOutput: true;
343
+ }];
344
+ }, {
345
+ readonly id: "glm-4-32b-0414-128k";
346
+ readonly name: "GLM-4 32B (0414-128k)";
347
+ readonly description: "GLM-4 32B instruction-tuned model.";
348
+ readonly family: "glm";
349
+ readonly releasedAt: Date;
350
+ readonly providers: [{
351
+ readonly providerId: "zai";
352
+ readonly modelName: "glm-4-32b-0414-128k";
353
+ readonly inputPrice: number;
354
+ readonly cachedInputPrice: 0;
355
+ readonly outputPrice: number;
356
+ readonly discount: 0.1;
357
+ readonly requestPrice: 0;
358
+ readonly contextSize: 128000;
359
+ readonly maxOutput: undefined;
360
+ readonly streaming: true;
361
+ readonly reasoning: false;
362
+ readonly vision: false;
363
+ readonly tools: true;
364
+ readonly jsonOutput: true;
365
+ }];
366
+ }, {
367
+ readonly id: "glm-4.6v";
368
+ readonly name: "GLM-4.6V";
369
+ readonly description: "Flagship vision-language model (106B) with native function calling support.";
370
+ readonly family: "glm";
371
+ readonly releasedAt: Date;
372
+ readonly providers: [{
373
+ readonly providerId: "zai";
374
+ readonly modelName: "glm-4.6v";
375
+ readonly inputPrice: number;
376
+ readonly cachedInputPrice: number;
377
+ readonly outputPrice: number;
378
+ readonly discount: 0.1;
379
+ readonly requestPrice: 0;
380
+ readonly contextSize: 128000;
381
+ readonly maxOutput: 16000;
382
+ readonly streaming: true;
383
+ readonly reasoning: true;
384
+ readonly vision: true;
385
+ readonly tools: true;
386
+ readonly jsonOutput: true;
387
+ }, {
388
+ readonly providerId: "novita";
389
+ readonly modelName: "zai-org/glm-4.6v";
390
+ readonly inputPrice: number;
391
+ readonly cachedInputPrice: number;
392
+ readonly outputPrice: number;
393
+ readonly requestPrice: 0;
394
+ readonly contextSize: 131072;
395
+ readonly maxOutput: 16000;
396
+ readonly streaming: true;
397
+ readonly reasoning: true;
398
+ readonly vision: true;
399
+ readonly tools: true;
400
+ readonly jsonOutput: true;
401
+ }];
402
+ }, {
403
+ readonly id: "glm-4.6v-flashx";
404
+ readonly name: "GLM-4.6V FlashX";
405
+ readonly description: "Fast vision-language model with extended capabilities.";
406
+ readonly family: "glm";
407
+ readonly releasedAt: Date;
408
+ readonly providers: [{
409
+ readonly providerId: "zai";
410
+ readonly modelName: "glm-4.6v-flashx";
411
+ readonly inputPrice: number;
412
+ readonly cachedInputPrice: number;
413
+ readonly outputPrice: number;
414
+ readonly discount: 0.1;
415
+ readonly requestPrice: 0;
416
+ readonly contextSize: 128000;
417
+ readonly maxOutput: 16000;
418
+ readonly streaming: true;
419
+ readonly reasoning: true;
420
+ readonly vision: true;
421
+ readonly tools: true;
422
+ readonly jsonOutput: true;
423
+ }];
424
+ }, {
425
+ readonly id: "glm-4.6v-flash";
426
+ readonly name: "GLM-4.6V Flash";
427
+ readonly description: "Ultra-fast, lightweight vision-language model (9B) for low-latency workloads.";
428
+ readonly family: "glm";
429
+ readonly free: true;
430
+ readonly releasedAt: Date;
431
+ readonly providers: [{
432
+ readonly providerId: "zai";
433
+ readonly modelName: "glm-4.6v-flash";
434
+ readonly inputPrice: 0;
435
+ readonly cachedInputPrice: 0;
436
+ readonly outputPrice: 0;
437
+ readonly requestPrice: 0;
438
+ readonly contextSize: 128000;
439
+ readonly maxOutput: 16000;
440
+ readonly streaming: true;
441
+ readonly reasoning: true;
442
+ readonly vision: true;
443
+ readonly tools: true;
444
+ readonly jsonOutput: true;
445
+ }];
446
+ }, {
447
+ readonly id: "cogview-4";
448
+ readonly name: "CogView-4";
449
+ readonly description: "Z.AI's CogView-4 text-to-image generation model with bilingual support and excellent text rendering.";
450
+ readonly family: "zai";
451
+ readonly output: ["text", "image"];
452
+ readonly releasedAt: Date;
453
+ readonly providers: [{
454
+ readonly test: "skip";
455
+ readonly providerId: "zai";
456
+ readonly modelName: "cogView-4-250304";
457
+ readonly inputPrice: 0;
458
+ readonly outputPrice: 0;
459
+ readonly requestPrice: 0.01;
460
+ readonly discount: 0.1;
461
+ readonly contextSize: 2000;
462
+ readonly maxOutput: 4096;
463
+ readonly streaming: false;
464
+ readonly vision: false;
465
+ readonly tools: false;
466
+ readonly jsonOutput: false;
467
+ readonly imageGenerations: true;
468
+ }];
469
+ }, {
470
+ readonly id: "glm-image";
471
+ readonly name: "GLM-Image";
472
+ readonly description: "Z.AI's GLM-Image text-to-image generation model with hybrid auto-regressive architecture, excellent for text-rendering and knowledge-intensive generation.";
473
+ readonly family: "glm";
474
+ readonly output: ["text", "image"];
475
+ readonly releasedAt: Date;
476
+ readonly providers: [{
477
+ readonly test: "skip";
478
+ readonly providerId: "zai";
479
+ readonly modelName: "glm-image";
480
+ readonly inputPrice: 0;
481
+ readonly outputPrice: 0;
482
+ readonly requestPrice: 0.015;
483
+ readonly discount: 0.1;
484
+ readonly contextSize: 2000;
485
+ readonly maxOutput: 4096;
486
+ readonly streaming: false;
487
+ readonly vision: false;
488
+ readonly tools: false;
489
+ readonly jsonOutput: false;
490
+ readonly imageGenerations: true;
491
+ }];
492
+ }];