@hebo-ai/gateway 0.11.4 → 0.11.6

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 (43) hide show
  1. package/README.md +8 -8
  2. package/dist/endpoints/chat-completions/converters.js +14 -8
  3. package/dist/endpoints/chat-completions/schema.d.ts +301 -281
  4. package/dist/endpoints/chat-completions/schema.js +40 -25
  5. package/dist/endpoints/conversations/handler.js +9 -2
  6. package/dist/endpoints/conversations/schema.d.ts +453 -453
  7. package/dist/endpoints/messages/converters.d.ts +2 -2
  8. package/dist/endpoints/messages/converters.js +12 -6
  9. package/dist/endpoints/messages/schema.d.ts +88 -70
  10. package/dist/endpoints/messages/schema.js +26 -13
  11. package/dist/endpoints/responses/converters.js +25 -19
  12. package/dist/endpoints/responses/otel.js +3 -1
  13. package/dist/endpoints/responses/schema.d.ts +543 -525
  14. package/dist/endpoints/responses/schema.js +49 -34
  15. package/dist/endpoints/shared/converters.d.ts +1 -1
  16. package/dist/endpoints/shared/converters.js +1 -1
  17. package/dist/endpoints/shared/schema.d.ts +2 -2
  18. package/dist/endpoints/shared/schema.js +1 -1
  19. package/dist/lifecycle.js +2 -0
  20. package/dist/models/alibaba/presets.d.ts +96 -27
  21. package/dist/models/alibaba/presets.js +27 -2
  22. package/dist/models/anthropic/middleware.js +11 -4
  23. package/dist/models/anthropic/presets.d.ts +96 -15
  24. package/dist/models/anthropic/presets.js +23 -2
  25. package/dist/models/deepseek/presets.d.ts +106 -3
  26. package/dist/models/deepseek/presets.js +19 -2
  27. package/dist/models/google/presets.d.ts +47 -23
  28. package/dist/models/google/presets.js +9 -2
  29. package/dist/models/minimax/presets.d.ts +49 -6
  30. package/dist/models/minimax/presets.js +24 -1
  31. package/dist/models/moonshot/presets.d.ts +49 -2
  32. package/dist/models/moonshot/presets.js +14 -2
  33. package/dist/models/types.d.ts +1 -1
  34. package/dist/models/types.js +12 -0
  35. package/dist/models/xai/presets.d.ts +81 -1
  36. package/dist/models/xai/presets.js +14 -1
  37. package/dist/models/zai/presets.d.ts +44 -2
  38. package/dist/models/zai/presets.js +10 -2
  39. package/dist/providers/bedrock/canonical.js +2 -0
  40. package/dist/providers/bedrock/middleware.js +7 -11
  41. package/dist/providers/xai/canonical.js +2 -0
  42. package/dist/providers/zai/canonical.js +1 -0
  43. package/package.json +57 -65
@@ -107,6 +107,30 @@ export declare const claudeOpus45: import("../../utils").Preset<"anthropic/claud
107
107
  context: number;
108
108
  providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
109
109
  }>;
110
+ export declare const claudeOpus48: import("../../utils").Preset<"anthropic/claude-opus-4.8", CatalogModel, {
111
+ name: string;
112
+ capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
113
+ context: number;
114
+ created: string;
115
+ knowledge: string;
116
+ modalities: {
117
+ input: readonly ["text", "image", "pdf", "file"];
118
+ output: readonly ["text"];
119
+ };
120
+ providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
121
+ }>;
122
+ export declare const claudeFable5: import("../../utils").Preset<"anthropic/claude-fable-5", CatalogModel, {
123
+ name: string;
124
+ capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
125
+ context: number;
126
+ created: string;
127
+ knowledge: string;
128
+ modalities: {
129
+ input: readonly ["text", "image", "pdf", "file"];
130
+ output: readonly ["text"];
131
+ };
132
+ providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
133
+ }>;
110
134
  export declare const claudeOpus47: import("../../utils").Preset<"anthropic/claude-opus-4.7", CatalogModel, {
111
135
  name: string;
112
136
  capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
@@ -156,7 +180,7 @@ export declare const claudeOpus4: import("../../utils").Preset<"anthropic/claude
156
180
  providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
157
181
  }>;
158
182
  export declare const claude: {
159
- readonly latest: readonly [import("../../utils").Preset<"anthropic/claude-opus-4.7", CatalogModel, {
183
+ readonly latest: readonly [import("../../utils").Preset<"anthropic/claude-opus-4.8", CatalogModel, {
160
184
  name: string;
161
185
  capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
162
186
  context: number;
@@ -167,27 +191,16 @@ export declare const claude: {
167
191
  output: readonly ["text"];
168
192
  };
169
193
  providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
170
- }>, import("../../utils").Preset<"anthropic/claude-sonnet-4.6", CatalogModel, {
194
+ }>, import("../../utils").Preset<"anthropic/claude-fable-5", CatalogModel, {
171
195
  name: string;
172
196
  capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
173
- created: string;
174
- knowledge: string;
175
- modalities: {
176
- input: readonly ["text", "image", "pdf", "file"];
177
- output: readonly ["text"];
178
- };
179
197
  context: number;
180
- providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
181
- }>, import("../../utils").Preset<"anthropic/claude-opus-4.6", CatalogModel, {
182
- name: string;
183
- capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
184
198
  created: string;
185
199
  knowledge: string;
186
200
  modalities: {
187
201
  input: readonly ["text", "image", "pdf", "file"];
188
202
  output: readonly ["text"];
189
203
  };
190
- context: number;
191
204
  providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
192
205
  }>];
193
206
  readonly all: (import("../../utils").Preset<"anthropic/claude-haiku-4.5", CatalogModel, {
@@ -289,6 +302,28 @@ export declare const claude: {
289
302
  };
290
303
  context: number;
291
304
  providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
305
+ }> | import("../../utils").Preset<"anthropic/claude-opus-4.8", CatalogModel, {
306
+ name: string;
307
+ capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
308
+ context: number;
309
+ created: string;
310
+ knowledge: string;
311
+ modalities: {
312
+ input: readonly ["text", "image", "pdf", "file"];
313
+ output: readonly ["text"];
314
+ };
315
+ providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
316
+ }> | import("../../utils").Preset<"anthropic/claude-fable-5", CatalogModel, {
317
+ name: string;
318
+ capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
319
+ context: number;
320
+ created: string;
321
+ knowledge: string;
322
+ modalities: {
323
+ input: readonly ["text", "image", "pdf", "file"];
324
+ output: readonly ["text"];
325
+ };
326
+ providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
292
327
  }> | import("../../utils").Preset<"anthropic/claude-opus-4.7", CatalogModel, {
293
328
  name: string;
294
329
  capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
@@ -334,7 +369,18 @@ export declare const claude: {
334
369
  context: number;
335
370
  providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
336
371
  }>)[];
337
- readonly "v4.x": readonly [import("../../utils").Preset<"anthropic/claude-opus-4.7", CatalogModel, {
372
+ readonly "v4.x": readonly [import("../../utils").Preset<"anthropic/claude-opus-4.8", CatalogModel, {
373
+ name: string;
374
+ capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
375
+ context: number;
376
+ created: string;
377
+ knowledge: string;
378
+ modalities: {
379
+ input: readonly ["text", "image", "pdf", "file"];
380
+ output: readonly ["text"];
381
+ };
382
+ providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
383
+ }>, import("../../utils").Preset<"anthropic/claude-opus-4.7", CatalogModel, {
338
384
  name: string;
339
385
  capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
340
386
  context: number;
@@ -479,6 +525,18 @@ export declare const claude: {
479
525
  context: number;
480
526
  providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
481
527
  }>];
528
+ readonly "v4.8": readonly [import("../../utils").Preset<"anthropic/claude-opus-4.8", CatalogModel, {
529
+ name: string;
530
+ capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
531
+ context: number;
532
+ created: string;
533
+ knowledge: string;
534
+ modalities: {
535
+ input: readonly ["text", "image", "pdf", "file"];
536
+ output: readonly ["text"];
537
+ };
538
+ providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
539
+ }>];
482
540
  readonly "v4.7": readonly [import("../../utils").Preset<"anthropic/claude-opus-4.7", CatalogModel, {
483
541
  name: string;
484
542
  capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
@@ -630,6 +688,18 @@ export declare const claude: {
630
688
  context: number;
631
689
  providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
632
690
  }>];
691
+ readonly fable: readonly [import("../../utils").Preset<"anthropic/claude-fable-5", CatalogModel, {
692
+ name: string;
693
+ capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
694
+ context: number;
695
+ created: string;
696
+ knowledge: string;
697
+ modalities: {
698
+ input: readonly ["text", "image", "pdf", "file"];
699
+ output: readonly ["text"];
700
+ };
701
+ providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
702
+ }>];
633
703
  readonly haiku: readonly [import("../../utils").Preset<"anthropic/claude-haiku-4.5", CatalogModel, {
634
704
  name: string;
635
705
  capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
@@ -720,7 +790,18 @@ export declare const claude: {
720
790
  context: number;
721
791
  providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
722
792
  }>];
723
- readonly opus: readonly [import("../../utils").Preset<"anthropic/claude-opus-4.7", CatalogModel, {
793
+ readonly opus: readonly [import("../../utils").Preset<"anthropic/claude-opus-4.8", CatalogModel, {
794
+ name: string;
795
+ capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
796
+ context: number;
797
+ created: string;
798
+ knowledge: string;
799
+ modalities: {
800
+ input: readonly ["text", "image", "pdf", "file"];
801
+ output: readonly ["text"];
802
+ };
803
+ providers: readonly ["anthropic", "bedrock", "vertex", "azure"];
804
+ }>, import("../../utils").Preset<"anthropic/claude-opus-4.7", CatalogModel, {
724
805
  name: string;
725
806
  capabilities: ("reasoning" | "temperature" | "attachments" | "tool_call" | "structured_output")[];
726
807
  context: number;
@@ -87,6 +87,24 @@ export const claudeOpus45 = presetFor()("anthropic/claude-opus-4.5", {
87
87
  created: "2025-11-01",
88
88
  knowledge: "2025-05",
89
89
  });
90
+ export const claudeOpus48 = presetFor()("anthropic/claude-opus-4.8", {
91
+ ...CLAUDE_BASE,
92
+ ...CLAUDE_PDF_MODALITIES,
93
+ name: "Claude Opus 4.8",
94
+ capabilities: [...CLAUDE_BASE.capabilities, "reasoning"],
95
+ context: 1_000_000,
96
+ created: "2026-05-28",
97
+ knowledge: "2026-02",
98
+ });
99
+ export const claudeFable5 = presetFor()("anthropic/claude-fable-5", {
100
+ ...CLAUDE_BASE,
101
+ ...CLAUDE_PDF_MODALITIES,
102
+ name: "Claude Fable 5",
103
+ capabilities: [...CLAUDE_BASE.capabilities, "reasoning"],
104
+ context: 1_000_000,
105
+ created: "2026-06-09",
106
+ knowledge: "2026-01",
107
+ });
90
108
  export const claudeOpus47 = presetFor()("anthropic/claude-opus-4.7", {
91
109
  ...CLAUDE_BASE,
92
110
  ...CLAUDE_PDF_MODALITIES,
@@ -121,6 +139,7 @@ export const claudeOpus4 = presetFor()("anthropic/claude-opus-4", {
121
139
  knowledge: "2025-03",
122
140
  });
123
141
  const claudeAtomic = {
142
+ "v4.8": [claudeOpus48],
124
143
  "v4.7": [claudeOpus47],
125
144
  "v4.6": [claudeSonnet46, claudeOpus46],
126
145
  "v4.5": [claudeHaiku45, claudeSonnet45, claudeOpus45],
@@ -129,12 +148,14 @@ const claudeAtomic = {
129
148
  "v3.7": [claudeSonnet37],
130
149
  "v3.5": [claudeSonnet35, claudeHaiku35],
131
150
  v3: [claudeHaiku3],
151
+ fable: [claudeFable5],
132
152
  haiku: [claudeHaiku45, claudeHaiku35, claudeHaiku3],
133
153
  sonnet: [claudeSonnet46, claudeSonnet45, claudeSonnet4, claudeSonnet37, claudeSonnet35],
134
- opus: [claudeOpus47, claudeOpus46, claudeOpus45, claudeOpus41, claudeOpus4],
154
+ opus: [claudeOpus48, claudeOpus47, claudeOpus46, claudeOpus45, claudeOpus41, claudeOpus4],
135
155
  };
136
156
  const claudeGroups = {
137
157
  "v4.x": [
158
+ ...claudeAtomic["v4.8"],
138
159
  ...claudeAtomic["v4.7"],
139
160
  ...claudeAtomic["v4.6"],
140
161
  ...claudeAtomic["v4.5"],
@@ -146,6 +167,6 @@ const claudeGroups = {
146
167
  export const claude = {
147
168
  ...claudeAtomic,
148
169
  ...claudeGroups,
149
- latest: [...claudeAtomic["v4.7"], ...claudeAtomic["v4.6"]],
170
+ latest: [...claudeAtomic["v4.8"], ...claudeAtomic["fable"]],
150
171
  all: Object.values(claudeAtomic).flat(),
151
172
  };
@@ -11,8 +11,43 @@ export declare const deepseekV32: import("../../utils").Preset<"deepseek/deepsee
11
11
  capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
12
12
  providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
13
13
  }>;
14
+ export declare const deepseekV4Flash: import("../../utils").Preset<"deepseek/deepseek-v4-flash", CatalogModel, {
15
+ name: string;
16
+ created: string;
17
+ knowledge: string;
18
+ context: number;
19
+ modalities: {
20
+ input: readonly ["text"];
21
+ output: readonly ["text"];
22
+ };
23
+ capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
24
+ providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
25
+ }>;
26
+ export declare const deepseekV4Pro: import("../../utils").Preset<"deepseek/deepseek-v4-pro", CatalogModel, {
27
+ name: string;
28
+ created: string;
29
+ knowledge: string;
30
+ context: number;
31
+ modalities: {
32
+ input: readonly ["text"];
33
+ output: readonly ["text"];
34
+ };
35
+ capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
36
+ providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
37
+ }>;
14
38
  export declare const deepseek: {
15
- readonly latest: readonly [import("../../utils").Preset<"deepseek/deepseek-v3.2", CatalogModel, {
39
+ readonly latest: readonly [import("../../utils").Preset<"deepseek/deepseek-v4-flash", CatalogModel, {
40
+ name: string;
41
+ created: string;
42
+ knowledge: string;
43
+ context: number;
44
+ modalities: {
45
+ input: readonly ["text"];
46
+ output: readonly ["text"];
47
+ };
48
+ capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
49
+ providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
50
+ }>, import("../../utils").Preset<"deepseek/deepseek-v4-pro", CatalogModel, {
16
51
  name: string;
17
52
  created: string;
18
53
  knowledge: string;
@@ -24,7 +59,41 @@ export declare const deepseek: {
24
59
  capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
25
60
  providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
26
61
  }>];
27
- readonly all: import("../../utils").Preset<"deepseek/deepseek-v3.2", CatalogModel, {
62
+ readonly all: (import("../../utils").Preset<"deepseek/deepseek-v3.2", CatalogModel, {
63
+ name: string;
64
+ created: string;
65
+ knowledge: string;
66
+ context: number;
67
+ modalities: {
68
+ input: readonly ["text"];
69
+ output: readonly ["text"];
70
+ };
71
+ capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
72
+ providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
73
+ }> | import("../../utils").Preset<"deepseek/deepseek-v4-flash", CatalogModel, {
74
+ name: string;
75
+ created: string;
76
+ knowledge: string;
77
+ context: number;
78
+ modalities: {
79
+ input: readonly ["text"];
80
+ output: readonly ["text"];
81
+ };
82
+ capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
83
+ providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
84
+ }> | import("../../utils").Preset<"deepseek/deepseek-v4-pro", CatalogModel, {
85
+ name: string;
86
+ created: string;
87
+ knowledge: string;
88
+ context: number;
89
+ modalities: {
90
+ input: readonly ["text"];
91
+ output: readonly ["text"];
92
+ };
93
+ capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
94
+ providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
95
+ }>)[];
96
+ readonly "v4.x": readonly [import("../../utils").Preset<"deepseek/deepseek-v4-flash", CatalogModel, {
28
97
  name: string;
29
98
  created: string;
30
99
  knowledge: string;
@@ -35,7 +104,18 @@ export declare const deepseek: {
35
104
  };
36
105
  capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
37
106
  providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
38
- }>[];
107
+ }>, import("../../utils").Preset<"deepseek/deepseek-v4-pro", CatalogModel, {
108
+ name: string;
109
+ created: string;
110
+ knowledge: string;
111
+ context: number;
112
+ modalities: {
113
+ input: readonly ["text"];
114
+ output: readonly ["text"];
115
+ };
116
+ capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
117
+ providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
118
+ }>];
39
119
  readonly "v3.2": readonly [import("../../utils").Preset<"deepseek/deepseek-v3.2", CatalogModel, {
40
120
  name: string;
41
121
  created: string;
@@ -48,4 +128,27 @@ export declare const deepseek: {
48
128
  capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
49
129
  providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
50
130
  }>];
131
+ readonly v4: readonly [import("../../utils").Preset<"deepseek/deepseek-v4-flash", CatalogModel, {
132
+ name: string;
133
+ created: string;
134
+ knowledge: string;
135
+ context: number;
136
+ modalities: {
137
+ input: readonly ["text"];
138
+ output: readonly ["text"];
139
+ };
140
+ capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
141
+ providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
142
+ }>, import("../../utils").Preset<"deepseek/deepseek-v4-pro", CatalogModel, {
143
+ name: string;
144
+ created: string;
145
+ knowledge: string;
146
+ context: number;
147
+ modalities: {
148
+ input: readonly ["text"];
149
+ output: readonly ["text"];
150
+ };
151
+ capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
152
+ providers: readonly ["deepseek", "alibaba", "deepinfra", "fireworks", "chutes", "vertex"];
153
+ }>];
51
154
  };
@@ -21,13 +21,30 @@ export const deepseekV32 = presetFor()("deepseek/deepseek-v3.2", {
21
21
  knowledge: "2024-12",
22
22
  context: 131072,
23
23
  });
24
+ export const deepseekV4Flash = presetFor()("deepseek/deepseek-v4-flash", {
25
+ ...DEEPSEEK_BASE,
26
+ name: "DeepSeek V4 Flash",
27
+ created: "2026-04-23",
28
+ knowledge: "2025-05",
29
+ context: 1_000_000,
30
+ });
31
+ export const deepseekV4Pro = presetFor()("deepseek/deepseek-v4-pro", {
32
+ ...DEEPSEEK_BASE,
33
+ name: "DeepSeek V4 Pro",
34
+ created: "2026-04-23",
35
+ knowledge: "2025-05",
36
+ context: 1_000_000,
37
+ });
24
38
  const deepseekAtomic = {
25
39
  "v3.2": [deepseekV32],
40
+ v4: [deepseekV4Flash, deepseekV4Pro],
41
+ };
42
+ const deepseekGroups = {
43
+ "v4.x": [...deepseekAtomic["v4"]],
26
44
  };
27
- const deepseekGroups = {};
28
45
  export const deepseek = {
29
46
  ...deepseekAtomic,
30
47
  ...deepseekGroups,
31
- latest: [...deepseekAtomic["v3.2"]],
48
+ latest: [...deepseekAtomic["v4"]],
32
49
  all: Object.values(deepseekAtomic).flat(),
33
50
  };
@@ -55,6 +55,18 @@ export declare const gemini31ProPreview: import("../../utils").Preset<"google/ge
55
55
  context: number;
56
56
  providers: readonly ["vertex"];
57
57
  }>;
58
+ export declare const gemini35Flash: import("../../utils").Preset<"google/gemini-3.5-flash", CatalogModel, {
59
+ name: string;
60
+ created: string;
61
+ knowledge: string;
62
+ modalities: {
63
+ input: readonly ["text", "image", "pdf", "file", "audio", "video"];
64
+ output: readonly ["text"];
65
+ };
66
+ capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
67
+ context: number;
68
+ providers: readonly ["vertex"];
69
+ }>;
58
70
  export declare const gemini25FlashLite: import("../../utils").Preset<"google/gemini-2.5-flash-lite", CatalogModel, {
59
71
  name: string;
60
72
  created: string;
@@ -504,29 +516,7 @@ export declare const gemma: {
504
516
  }>];
505
517
  };
506
518
  export declare const gemini: {
507
- readonly latest: readonly [import("../../utils").Preset<"google/gemini-2.5-flash-lite", CatalogModel, {
508
- name: string;
509
- created: string;
510
- knowledge: string;
511
- modalities: {
512
- input: readonly ["text", "image", "pdf", "file", "audio", "video"];
513
- output: readonly ["text"];
514
- };
515
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
516
- context: number;
517
- providers: readonly ["vertex"];
518
- }>, import("../../utils").Preset<"google/gemini-2.5-flash", CatalogModel, {
519
- name: string;
520
- created: string;
521
- knowledge: string;
522
- modalities: {
523
- input: readonly ["text", "image", "pdf", "file", "audio", "video"];
524
- output: readonly ["text"];
525
- };
526
- capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
527
- context: number;
528
- providers: readonly ["vertex"];
529
- }>, import("../../utils").Preset<"google/gemini-2.5-pro", CatalogModel, {
519
+ readonly latest: readonly [import("../../utils").Preset<"google/gemini-3.5-flash", CatalogModel, {
530
520
  name: string;
531
521
  created: string;
532
522
  knowledge: string;
@@ -642,6 +632,17 @@ export declare const gemini: {
642
632
  capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
643
633
  context: number;
644
634
  providers: readonly ["vertex"];
635
+ }> | import("../../utils").Preset<"google/gemini-3.5-flash", CatalogModel, {
636
+ name: string;
637
+ created: string;
638
+ knowledge: string;
639
+ modalities: {
640
+ input: readonly ["text", "image", "pdf", "file", "audio", "video"];
641
+ output: readonly ["text"];
642
+ };
643
+ capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
644
+ context: number;
645
+ providers: readonly ["vertex"];
645
646
  }> | import("../../utils").Preset<"google/gemini-2.5-flash-lite", CatalogModel, {
646
647
  name: string;
647
648
  created: string;
@@ -743,6 +744,17 @@ export declare const gemini: {
743
744
  capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
744
745
  context: number;
745
746
  providers: readonly ["vertex"];
747
+ }>, import("../../utils").Preset<"google/gemini-3.5-flash", CatalogModel, {
748
+ name: string;
749
+ created: string;
750
+ knowledge: string;
751
+ modalities: {
752
+ input: readonly ["text", "image", "pdf", "file", "audio", "video"];
753
+ output: readonly ["text"];
754
+ };
755
+ capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
756
+ context: number;
757
+ providers: readonly ["vertex"];
746
758
  }>];
747
759
  readonly "v2.5": readonly [import("../../utils").Preset<"google/gemini-2.5-flash-lite", CatalogModel, {
748
760
  name: string;
@@ -778,6 +790,18 @@ export declare const gemini: {
778
790
  context: number;
779
791
  providers: readonly ["vertex"];
780
792
  }>];
793
+ readonly "v3.5": readonly [import("../../utils").Preset<"google/gemini-3.5-flash", CatalogModel, {
794
+ name: string;
795
+ created: string;
796
+ knowledge: string;
797
+ modalities: {
798
+ input: readonly ["text", "image", "pdf", "file", "audio", "video"];
799
+ output: readonly ["text"];
800
+ };
801
+ capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
802
+ context: number;
803
+ providers: readonly ["vertex"];
804
+ }>];
781
805
  readonly "v3-preview": readonly [import("../../utils").Preset<"google/gemini-3-flash-preview", CatalogModel, {
782
806
  name: string;
783
807
  created: string;
@@ -55,6 +55,12 @@ export const gemini31ProPreview = presetFor()("google/gemini-3.1-pro-preview", {
55
55
  created: "2026-02-19",
56
56
  knowledge: "2025-01",
57
57
  });
58
+ export const gemini35Flash = presetFor()("google/gemini-3.5-flash", {
59
+ ...GEMINI_BASE,
60
+ name: "Gemini 3.5 Flash",
61
+ created: "2026-05-19",
62
+ knowledge: "2025-01",
63
+ });
58
64
  export const gemini25FlashLite = presetFor()("google/gemini-2.5-flash-lite", {
59
65
  ...GEMINI_BASE,
60
66
  name: "Gemini 2.5 Flash Lite",
@@ -173,17 +179,18 @@ export const gemma = {
173
179
  // ---------------------------------------------------------------------------
174
180
  const geminiAtomic = {
175
181
  "v2.5": [gemini25FlashLite, gemini25Flash, gemini25Pro],
182
+ "v3.5": [gemini35Flash],
176
183
  "v3-preview": [gemini3FlashPreview, gemini31FlashLitePreview, gemini31ProPreview],
177
184
  embeddings: [geminiEmbedding001, geminiEmbedding2],
178
185
  };
179
186
  const geminiGroups = {
180
187
  "v2.x": [...geminiAtomic["v2.5"]],
181
- "v3.x": [...geminiAtomic["v3-preview"]],
188
+ "v3.x": [...geminiAtomic["v3-preview"], ...geminiAtomic["v3.5"]],
182
189
  };
183
190
  export const gemini = {
184
191
  ...geminiAtomic,
185
192
  ...geminiGroups,
186
- latest: [...geminiAtomic["v2.5"]],
193
+ latest: [...geminiAtomic["v3.5"]],
187
194
  preview: [...geminiAtomic["v3-preview"]],
188
195
  embeddings: [...geminiAtomic["embeddings"]],
189
196
  all: Object.values(geminiAtomic).flat(),
@@ -21,17 +21,28 @@ export declare const minimaxM27: import("../../utils").Preset<"minimax/m2.7", Ca
21
21
  capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
22
22
  context: number;
23
23
  }>;
24
+ export declare const minimaxM3: import("../../utils").Preset<"minimax/m3", CatalogModel, {
25
+ modalities: {
26
+ input: readonly ["text", "image", "video"];
27
+ output: readonly ["text"];
28
+ };
29
+ capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
30
+ context: number;
31
+ name: string;
32
+ created: string;
33
+ providers: readonly ["minimax", "togetherai"];
34
+ }>;
24
35
  export declare const minimax: {
25
- readonly latest: readonly [import("../../utils").Preset<"minimax/m2.7", CatalogModel, {
26
- name: string;
27
- created: string;
28
- providers: readonly ["minimax", "togetherai", "fireworks"];
36
+ readonly latest: readonly [import("../../utils").Preset<"minimax/m3", CatalogModel, {
29
37
  modalities: {
30
- input: readonly ["text"];
38
+ input: readonly ["text", "image", "video"];
31
39
  output: readonly ["text"];
32
40
  };
33
- capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
41
+ capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
34
42
  context: number;
43
+ name: string;
44
+ created: string;
45
+ providers: readonly ["minimax", "togetherai"];
35
46
  }>];
36
47
  readonly all: (import("../../utils").Preset<"minimax/m2.5", CatalogModel, {
37
48
  name: string;
@@ -53,6 +64,16 @@ export declare const minimax: {
53
64
  };
54
65
  capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
55
66
  context: number;
67
+ }> | import("../../utils").Preset<"minimax/m3", CatalogModel, {
68
+ modalities: {
69
+ input: readonly ["text", "image", "video"];
70
+ output: readonly ["text"];
71
+ };
72
+ capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
73
+ context: number;
74
+ name: string;
75
+ created: string;
76
+ providers: readonly ["minimax", "togetherai"];
56
77
  }>)[];
57
78
  readonly "v2.x": readonly [import("../../utils").Preset<"minimax/m2.5", CatalogModel, {
58
79
  name: string;
@@ -75,6 +96,17 @@ export declare const minimax: {
75
96
  capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
76
97
  context: number;
77
98
  }>];
99
+ readonly "v3.x": readonly [import("../../utils").Preset<"minimax/m3", CatalogModel, {
100
+ modalities: {
101
+ input: readonly ["text", "image", "video"];
102
+ output: readonly ["text"];
103
+ };
104
+ capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
105
+ context: number;
106
+ name: string;
107
+ created: string;
108
+ providers: readonly ["minimax", "togetherai"];
109
+ }>];
78
110
  readonly v2: readonly [import("../../utils").Preset<"minimax/m2.5", CatalogModel, {
79
111
  name: string;
80
112
  created: string;
@@ -96,4 +128,15 @@ export declare const minimax: {
96
128
  capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
97
129
  context: number;
98
130
  }>];
131
+ readonly v3: readonly [import("../../utils").Preset<"minimax/m3", CatalogModel, {
132
+ modalities: {
133
+ input: readonly ["text", "image", "video"];
134
+ output: readonly ["text"];
135
+ };
136
+ capabilities: readonly ["attachments", "reasoning", "tool_call", "structured_output", "temperature"];
137
+ context: number;
138
+ name: string;
139
+ created: string;
140
+ providers: readonly ["minimax", "togetherai"];
141
+ }>];
99
142
  };
@@ -33,15 +33,38 @@ export const minimaxM27 = presetFor()("minimax/m2.7", {
33
33
  "fireworks",
34
34
  ],
35
35
  });
36
+ export const minimaxM3 = presetFor()("minimax/m3", {
37
+ ...MINIMAX_BASE,
38
+ modalities: {
39
+ input: ["text", "image", "video"],
40
+ output: ["text"],
41
+ },
42
+ capabilities: [
43
+ "attachments",
44
+ "reasoning",
45
+ "tool_call",
46
+ "structured_output",
47
+ "temperature",
48
+ ],
49
+ context: 524288,
50
+ name: "MiniMax M3",
51
+ created: "2026-05-31",
52
+ providers: [
53
+ "minimax",
54
+ "togetherai",
55
+ ],
56
+ });
36
57
  const minimaxAtomic = {
37
58
  v2: [minimaxM25, minimaxM27],
59
+ v3: [minimaxM3],
38
60
  };
39
61
  const minimaxGroups = {
40
62
  "v2.x": [...minimaxAtomic["v2"]],
63
+ "v3.x": [...minimaxAtomic["v3"]],
41
64
  };
42
65
  export const minimax = {
43
66
  ...minimaxAtomic,
44
67
  ...minimaxGroups,
45
- latest: [minimaxM27],
68
+ latest: [minimaxM3],
46
69
  all: Object.values(minimaxAtomic).flat(),
47
70
  };