@hebo-ai/gateway 0.11.5 → 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.
- package/README.md +8 -8
- package/dist/lifecycle.js +2 -0
- package/dist/models/alibaba/presets.d.ts +96 -27
- package/dist/models/alibaba/presets.js +27 -2
- package/dist/models/anthropic/middleware.js +11 -4
- package/dist/models/anthropic/presets.d.ts +96 -15
- package/dist/models/anthropic/presets.js +23 -2
- package/dist/models/deepseek/presets.d.ts +106 -3
- package/dist/models/deepseek/presets.js +19 -2
- package/dist/models/google/presets.d.ts +47 -23
- package/dist/models/google/presets.js +9 -2
- package/dist/models/minimax/presets.d.ts +49 -6
- package/dist/models/minimax/presets.js +24 -1
- package/dist/models/moonshot/presets.d.ts +49 -2
- package/dist/models/moonshot/presets.js +14 -2
- package/dist/models/types.d.ts +1 -1
- package/dist/models/types.js +12 -0
- package/dist/models/xai/presets.d.ts +81 -1
- package/dist/models/xai/presets.js +14 -1
- package/dist/models/zai/presets.d.ts +44 -2
- package/dist/models/zai/presets.js +10 -2
- package/dist/providers/bedrock/canonical.js +2 -0
- package/dist/providers/bedrock/middleware.js +7 -11
- package/dist/providers/xai/canonical.js +2 -0
- package/dist/providers/zai/canonical.js +1 -0
- package/package.json +36 -36
|
@@ -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-
|
|
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["
|
|
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-
|
|
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["
|
|
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/
|
|
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: [
|
|
68
|
+
latest: [minimaxM3],
|
|
46
69
|
all: Object.values(minimaxAtomic).flat(),
|
|
47
70
|
};
|
|
@@ -22,11 +22,24 @@ export declare const kimiK26: import("../../utils").Preset<"moonshot/kimi-k2.6",
|
|
|
22
22
|
capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
|
|
23
23
|
context: number;
|
|
24
24
|
}>;
|
|
25
|
+
export declare const kimiK27Code: import("../../utils").Preset<"moonshot/kimi-k2.7-code", CatalogModel, {
|
|
26
|
+
name: string;
|
|
27
|
+
created: string;
|
|
28
|
+
knowledge: string;
|
|
29
|
+
providers: readonly ["moonshot", "deepinfra", "togetherai"];
|
|
30
|
+
modalities: {
|
|
31
|
+
input: readonly ["text", "image"];
|
|
32
|
+
output: readonly ["text"];
|
|
33
|
+
};
|
|
34
|
+
capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
|
|
35
|
+
context: number;
|
|
36
|
+
}>;
|
|
25
37
|
export declare const kimi: {
|
|
26
|
-
readonly latest: readonly [import("../../utils").Preset<"moonshot/kimi-k2.
|
|
38
|
+
readonly latest: readonly [import("../../utils").Preset<"moonshot/kimi-k2.7-code", CatalogModel, {
|
|
27
39
|
name: string;
|
|
28
40
|
created: string;
|
|
29
|
-
|
|
41
|
+
knowledge: string;
|
|
42
|
+
providers: readonly ["moonshot", "deepinfra", "togetherai"];
|
|
30
43
|
modalities: {
|
|
31
44
|
input: readonly ["text", "image"];
|
|
32
45
|
output: readonly ["text"];
|
|
@@ -55,6 +68,17 @@ export declare const kimi: {
|
|
|
55
68
|
};
|
|
56
69
|
capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
|
|
57
70
|
context: number;
|
|
71
|
+
}> | import("../../utils").Preset<"moonshot/kimi-k2.7-code", CatalogModel, {
|
|
72
|
+
name: string;
|
|
73
|
+
created: string;
|
|
74
|
+
knowledge: string;
|
|
75
|
+
providers: readonly ["moonshot", "deepinfra", "togetherai"];
|
|
76
|
+
modalities: {
|
|
77
|
+
input: readonly ["text", "image"];
|
|
78
|
+
output: readonly ["text"];
|
|
79
|
+
};
|
|
80
|
+
capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
|
|
81
|
+
context: number;
|
|
58
82
|
}>)[];
|
|
59
83
|
readonly "k2.x": readonly [import("../../utils").Preset<"moonshot/kimi-k2.5", CatalogModel, {
|
|
60
84
|
name: string;
|
|
@@ -77,6 +101,17 @@ export declare const kimi: {
|
|
|
77
101
|
};
|
|
78
102
|
capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
|
|
79
103
|
context: number;
|
|
104
|
+
}>, import("../../utils").Preset<"moonshot/kimi-k2.7-code", CatalogModel, {
|
|
105
|
+
name: string;
|
|
106
|
+
created: string;
|
|
107
|
+
knowledge: string;
|
|
108
|
+
providers: readonly ["moonshot", "deepinfra", "togetherai"];
|
|
109
|
+
modalities: {
|
|
110
|
+
input: readonly ["text", "image"];
|
|
111
|
+
output: readonly ["text"];
|
|
112
|
+
};
|
|
113
|
+
capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
|
|
114
|
+
context: number;
|
|
80
115
|
}>];
|
|
81
116
|
readonly "k2.5": readonly [import("../../utils").Preset<"moonshot/kimi-k2.5", CatalogModel, {
|
|
82
117
|
name: string;
|
|
@@ -101,4 +136,16 @@ export declare const kimi: {
|
|
|
101
136
|
capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
|
|
102
137
|
context: number;
|
|
103
138
|
}>];
|
|
139
|
+
readonly "k2.7": readonly [import("../../utils").Preset<"moonshot/kimi-k2.7-code", CatalogModel, {
|
|
140
|
+
name: string;
|
|
141
|
+
created: string;
|
|
142
|
+
knowledge: string;
|
|
143
|
+
providers: readonly ["moonshot", "deepinfra", "togetherai"];
|
|
144
|
+
modalities: {
|
|
145
|
+
input: readonly ["text", "image"];
|
|
146
|
+
output: readonly ["text"];
|
|
147
|
+
};
|
|
148
|
+
capabilities: readonly ["reasoning", "tool_call", "structured_output", "temperature"];
|
|
149
|
+
context: number;
|
|
150
|
+
}>];
|
|
104
151
|
};
|
|
@@ -21,16 +21,28 @@ export const kimiK26 = presetFor()("moonshot/kimi-k2.6", {
|
|
|
21
21
|
created: "2026-04-20",
|
|
22
22
|
providers: ["moonshot", "fireworks"],
|
|
23
23
|
});
|
|
24
|
+
export const kimiK27Code = presetFor()("moonshot/kimi-k2.7-code", {
|
|
25
|
+
...KIMI_BASE,
|
|
26
|
+
name: "Kimi K2.7 Code",
|
|
27
|
+
created: "2026-06-12",
|
|
28
|
+
knowledge: "2025-01",
|
|
29
|
+
providers: [
|
|
30
|
+
"moonshot",
|
|
31
|
+
"deepinfra",
|
|
32
|
+
"togetherai",
|
|
33
|
+
],
|
|
34
|
+
});
|
|
24
35
|
const kimiAtomic = {
|
|
25
36
|
"k2.5": [kimiK25],
|
|
26
37
|
"k2.6": [kimiK26],
|
|
38
|
+
"k2.7": [kimiK27Code],
|
|
27
39
|
};
|
|
28
40
|
const kimiGroups = {
|
|
29
|
-
"k2.x": [...kimiAtomic["k2.5"], ...kimiAtomic["k2.6"]],
|
|
41
|
+
"k2.x": [...kimiAtomic["k2.5"], ...kimiAtomic["k2.6"], ...kimiAtomic["k2.7"]],
|
|
30
42
|
};
|
|
31
43
|
export const kimi = {
|
|
32
44
|
...kimiAtomic,
|
|
33
45
|
...kimiGroups,
|
|
34
|
-
latest: [...kimiAtomic["k2.
|
|
46
|
+
latest: [...kimiAtomic["k2.7"]],
|
|
35
47
|
all: Object.values(kimiAtomic).flat(),
|
|
36
48
|
};
|
package/dist/models/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ProviderId } from "../providers/types";
|
|
2
|
-
export declare const CANONICAL_MODEL_IDS: readonly ["anthropic/claude-opus-4.7", "anthropic/claude-opus-4.6", "anthropic/claude-sonnet-4.6", "anthropic/claude-haiku-4.5", "anthropic/claude-sonnet-4.5", "anthropic/claude-opus-4.5", "anthropic/claude-opus-4.1", "anthropic/claude-opus-4", "anthropic/claude-sonnet-4", "anthropic/claude-sonnet-3.7", "anthropic/claude-sonnet-3.5", "anthropic/claude-haiku-3.5", "anthropic/claude-haiku-3", "openai/gpt-oss-20b", "openai/gpt-oss-120b", "openai/gpt-5", "openai/gpt-5-pro", "openai/gpt-5.2", "openai/gpt-5.2-chat", "openai/gpt-5.2-pro", "openai/gpt-5.2-codex", "openai/gpt-5.3-codex", "openai/gpt-5.3-codex-spark", "openai/gpt-5.3-chat", "openai/gpt-5.4", "openai/gpt-5.4-mini", "openai/gpt-5.4-nano", "openai/gpt-5.4-pro", "openai/gpt-5.5", "openai/gpt-5.5-pro", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-5-codex", "openai/gpt-5.1-codex", "openai/gpt-5.1-codex-max", "openai/gpt-5.1-codex-mini", "openai/gpt-5.1-chat", "openai/gpt-5.1", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "amazon/nova-micro", "amazon/nova-lite", "amazon/nova-pro", "amazon/nova-premier", "amazon/nova-2-lite", "amazon/nova-2-multimodal-embeddings", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "google/gemini-3-flash-preview", "google/gemini-3.1-flash-lite-preview", "google/gemini-3.1-pro-preview", "google/gemini-embedding-2", "google/embedding-001", "google/gemma-3-1b", "google/gemma-3-4b", "google/gemma-3-12b", "google/gemma-3-27b", "google/gemma-4-e2b", "google/gemma-4-e4b", "google/gemma-4-26b-a4b", "google/gemma-4-31b", "meta/llama-3.1-8b", "meta/llama-3.1-70b", "meta/llama-3.1-405b", "meta/llama-3.2-1b", "meta/llama-3.2-3b", "meta/llama-3.2-11b", "meta/llama-3.2-90b", "meta/llama-3.3-70b", "meta/llama-4-scout", "meta/llama-4-maverick", "cohere/embed-v4.0", "cohere/embed-english-v3.0", "cohere/embed-english-light-v3.0", "cohere/embed-multilingual-v3.0", "cohere/embed-multilingual-light-v3.0", "cohere/command-a", "cohere/command-r7b", "cohere/command-a-translate", "cohere/command-a-reasoning", "cohere/command-a-vision", "cohere/command-r", "cohere/command-r-plus", "minimax/m2.5", "minimax/m2.7", "moonshot/kimi-k2.5", "moonshot/kimi-k2.6", "xai/grok-4.1-fast", "xai/grok-4.1-fast-reasoning", "xai/grok-4.2", "xai/grok-4.2-reasoning", "xai/grok-4.2-multi-agent", "xai/grok-4.3", "deepseek/deepseek-v3.2", "voyage/voyage-2-code", "voyage/voyage-2-law", "voyage/voyage-2-finance", "voyage/voyage-3-code", "voyage/voyage-3-large", "voyage/voyage-3.5-lite", "voyage/voyage-3.5", "voyage/voyage-4-lite", "voyage/voyage-4", "voyage/voyage-4-large", "alibaba/qwen3-235b", "alibaba/qwen3-32b", "alibaba/qwen3.5-plus", "alibaba/qwen3.5-flash", "alibaba/qwen3.5-397b", "alibaba/qwen3.5-122b", "alibaba/qwen3.5-35b", "alibaba/qwen3.5-27b", "alibaba/qwen3.5-9b", "alibaba/qwen3.5-4b", "alibaba/qwen3.5-2b", "alibaba/qwen3.5-0.8b", "alibaba/qwen3.6-plus", "alibaba/qwen3.6-flash", "alibaba/qwen3.6-27b", "alibaba/qwen3.6-max-preview", "alibaba/qwen3-coder-next", "alibaba/qwen3-vl-235b", "alibaba/qwen3-embedding-0.6b", "alibaba/qwen3-embedding-4b", "alibaba/qwen3-embedding-8b", "zhipu/glm-5", "zhipu/glm-5-turbo", "zhipu/glm-5.1"];
|
|
2
|
+
export declare const CANONICAL_MODEL_IDS: readonly ["anthropic/claude-fable-5", "anthropic/claude-opus-4.8", "anthropic/claude-opus-4.7", "anthropic/claude-opus-4.6", "anthropic/claude-sonnet-4.6", "anthropic/claude-haiku-4.5", "anthropic/claude-sonnet-4.5", "anthropic/claude-opus-4.5", "anthropic/claude-opus-4.1", "anthropic/claude-opus-4", "anthropic/claude-sonnet-4", "anthropic/claude-sonnet-3.7", "anthropic/claude-sonnet-3.5", "anthropic/claude-haiku-3.5", "anthropic/claude-haiku-3", "openai/gpt-oss-20b", "openai/gpt-oss-120b", "openai/gpt-5", "openai/gpt-5-pro", "openai/gpt-5.2", "openai/gpt-5.2-chat", "openai/gpt-5.2-pro", "openai/gpt-5.2-codex", "openai/gpt-5.3-codex", "openai/gpt-5.3-codex-spark", "openai/gpt-5.3-chat", "openai/gpt-5.4", "openai/gpt-5.4-mini", "openai/gpt-5.4-nano", "openai/gpt-5.4-pro", "openai/gpt-5.5", "openai/gpt-5.5-pro", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-5-codex", "openai/gpt-5.1-codex", "openai/gpt-5.1-codex-max", "openai/gpt-5.1-codex-mini", "openai/gpt-5.1-chat", "openai/gpt-5.1", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "amazon/nova-micro", "amazon/nova-lite", "amazon/nova-pro", "amazon/nova-premier", "amazon/nova-2-lite", "amazon/nova-2-multimodal-embeddings", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "google/gemini-3-flash-preview", "google/gemini-3.1-flash-lite-preview", "google/gemini-3.1-pro-preview", "google/gemini-3.5-flash", "google/gemini-embedding-2", "google/embedding-001", "google/gemma-3-1b", "google/gemma-3-4b", "google/gemma-3-12b", "google/gemma-3-27b", "google/gemma-4-e2b", "google/gemma-4-e4b", "google/gemma-4-26b-a4b", "google/gemma-4-31b", "meta/llama-3.1-8b", "meta/llama-3.1-70b", "meta/llama-3.1-405b", "meta/llama-3.2-1b", "meta/llama-3.2-3b", "meta/llama-3.2-11b", "meta/llama-3.2-90b", "meta/llama-3.3-70b", "meta/llama-4-scout", "meta/llama-4-maverick", "cohere/embed-v4.0", "cohere/embed-english-v3.0", "cohere/embed-english-light-v3.0", "cohere/embed-multilingual-v3.0", "cohere/embed-multilingual-light-v3.0", "cohere/command-a", "cohere/command-r7b", "cohere/command-a-translate", "cohere/command-a-reasoning", "cohere/command-a-vision", "cohere/command-r", "cohere/command-r-plus", "minimax/m2.5", "minimax/m2.7", "minimax/m3", "moonshot/kimi-k2.5", "moonshot/kimi-k2.6", "moonshot/kimi-k2.7-code", "xai/grok-4.1-fast", "xai/grok-4.1-fast-reasoning", "xai/grok-4.2", "xai/grok-4.2-reasoning", "xai/grok-4.2-multi-agent", "xai/grok-4.3", "xai/grok-4.20", "xai/grok-4.20-multi-agent", "deepseek/deepseek-v3.2", "deepseek/deepseek-v4-flash", "deepseek/deepseek-v4-pro", "voyage/voyage-2-code", "voyage/voyage-2-law", "voyage/voyage-2-finance", "voyage/voyage-3-code", "voyage/voyage-3-large", "voyage/voyage-3.5-lite", "voyage/voyage-3.5", "voyage/voyage-4-lite", "voyage/voyage-4", "voyage/voyage-4-large", "alibaba/qwen3-235b", "alibaba/qwen3-32b", "alibaba/qwen3.5-plus", "alibaba/qwen3.5-flash", "alibaba/qwen3.5-397b", "alibaba/qwen3.5-122b", "alibaba/qwen3.5-35b", "alibaba/qwen3.5-27b", "alibaba/qwen3.5-9b", "alibaba/qwen3.5-4b", "alibaba/qwen3.5-2b", "alibaba/qwen3.5-0.8b", "alibaba/qwen3.6-plus", "alibaba/qwen3.6-flash", "alibaba/qwen3.6-27b", "alibaba/qwen3.6-max-preview", "alibaba/qwen3.7-plus", "alibaba/qwen3.7-max", "alibaba/qwen3-coder-next", "alibaba/qwen3-vl-235b", "alibaba/qwen3-embedding-0.6b", "alibaba/qwen3-embedding-4b", "alibaba/qwen3-embedding-8b", "zhipu/glm-5", "zhipu/glm-5-turbo", "zhipu/glm-5.1", "zhipu/glm-5.2"];
|
|
3
3
|
export type CanonicalModelId = (typeof CANONICAL_MODEL_IDS)[number];
|
|
4
4
|
export type ModelId = CanonicalModelId | (string & {});
|
|
5
5
|
export type CatalogModel = {
|
package/dist/models/types.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export const CANONICAL_MODEL_IDS = [
|
|
2
2
|
// Anthropic
|
|
3
|
+
"anthropic/claude-fable-5",
|
|
4
|
+
"anthropic/claude-opus-4.8",
|
|
3
5
|
"anthropic/claude-opus-4.7",
|
|
4
6
|
"anthropic/claude-opus-4.6",
|
|
5
7
|
"anthropic/claude-sonnet-4.6",
|
|
@@ -55,6 +57,7 @@ export const CANONICAL_MODEL_IDS = [
|
|
|
55
57
|
"google/gemini-3-flash-preview",
|
|
56
58
|
"google/gemini-3.1-flash-lite-preview",
|
|
57
59
|
"google/gemini-3.1-pro-preview",
|
|
60
|
+
"google/gemini-3.5-flash",
|
|
58
61
|
"google/gemini-embedding-2",
|
|
59
62
|
"google/embedding-001",
|
|
60
63
|
"google/gemma-3-1b",
|
|
@@ -92,9 +95,11 @@ export const CANONICAL_MODEL_IDS = [
|
|
|
92
95
|
// MiniMax
|
|
93
96
|
"minimax/m2.5",
|
|
94
97
|
"minimax/m2.7",
|
|
98
|
+
"minimax/m3",
|
|
95
99
|
// Moonshot
|
|
96
100
|
"moonshot/kimi-k2.5",
|
|
97
101
|
"moonshot/kimi-k2.6",
|
|
102
|
+
"moonshot/kimi-k2.7-code",
|
|
98
103
|
// xAI
|
|
99
104
|
"xai/grok-4.1-fast",
|
|
100
105
|
"xai/grok-4.1-fast-reasoning",
|
|
@@ -102,8 +107,12 @@ export const CANONICAL_MODEL_IDS = [
|
|
|
102
107
|
"xai/grok-4.2-reasoning",
|
|
103
108
|
"xai/grok-4.2-multi-agent",
|
|
104
109
|
"xai/grok-4.3",
|
|
110
|
+
"xai/grok-4.20",
|
|
111
|
+
"xai/grok-4.20-multi-agent",
|
|
105
112
|
// DeepSeek
|
|
106
113
|
"deepseek/deepseek-v3.2",
|
|
114
|
+
"deepseek/deepseek-v4-flash",
|
|
115
|
+
"deepseek/deepseek-v4-pro",
|
|
107
116
|
// Voyage
|
|
108
117
|
"voyage/voyage-2-code",
|
|
109
118
|
"voyage/voyage-2-law",
|
|
@@ -132,6 +141,8 @@ export const CANONICAL_MODEL_IDS = [
|
|
|
132
141
|
"alibaba/qwen3.6-flash",
|
|
133
142
|
"alibaba/qwen3.6-27b",
|
|
134
143
|
"alibaba/qwen3.6-max-preview",
|
|
144
|
+
"alibaba/qwen3.7-plus",
|
|
145
|
+
"alibaba/qwen3.7-max",
|
|
135
146
|
"alibaba/qwen3-coder-next",
|
|
136
147
|
"alibaba/qwen3-vl-235b",
|
|
137
148
|
"alibaba/qwen3-embedding-0.6b",
|
|
@@ -141,4 +152,5 @@ export const CANONICAL_MODEL_IDS = [
|
|
|
141
152
|
"zhipu/glm-5",
|
|
142
153
|
"zhipu/glm-5-turbo",
|
|
143
154
|
"zhipu/glm-5.1",
|
|
155
|
+
"zhipu/glm-5.2",
|
|
144
156
|
];
|