@llmgateway/models 1.384.1 → 1.386.0
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/dist/fal-flux-3-max.spec.d.ts +1 -0
- package/dist/fal-flux-3-max.spec.js +60 -0
- package/dist/fal-flux-3-max.spec.js.map +1 -0
- package/dist/model-family.js +1 -0
- package/dist/model-family.js.map +1 -1
- package/dist/models/black-forest-labs.d.ts +35 -0
- package/dist/models/black-forest-labs.js +44 -0
- package/dist/models/black-forest-labs.js.map +1 -0
- package/dist/models/deepseek.d.ts +105 -6
- package/dist/models/deepseek.js +135 -6
- package/dist/models/deepseek.js.map +1 -1
- package/dist/models/moonshot.d.ts +28 -0
- package/dist/models/moonshot.js +45 -0
- package/dist/models/moonshot.js.map +1 -1
- package/dist/models/stepfun.d.ts +23 -0
- package/dist/models/stepfun.js +26 -0
- package/dist/models/stepfun.js.map +1 -1
- package/dist/models/xiaomi.d.ts +36 -0
- package/dist/models/xiaomi.js +38 -0
- package/dist/models/xiaomi.js.map +1 -1
- package/dist/models/zai.d.ts +64 -0
- package/dist/models/zai.js +69 -0
- package/dist/models/zai.js.map +1 -1
- package/dist/models.d.ts +290 -6
- package/dist/models.js +2 -0
- package/dist/models.js.map +1 -1
- package/dist/providers.js +18 -0
- package/dist/providers.js.map +1 -1
- package/dist/tencent-models.spec.d.ts +1 -0
- package/dist/tencent-models.spec.js +119 -0
- package/dist/tencent-models.spec.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { afterEach, describe, expect, it, vi } from "vitest";
|
|
2
|
+
import { modelFamilyLabel } from "./model-family.js";
|
|
3
|
+
import { models } from "./models.js";
|
|
4
|
+
import { getProviderEnvKeys, getProviderEnvValue, getProviderEnvVar, } from "./provider.js";
|
|
5
|
+
import { getProviderDefinition } from "./providers.js";
|
|
6
|
+
afterEach(() => vi.unstubAllEnvs());
|
|
7
|
+
describe("fal FLUX 3 Max", () => {
|
|
8
|
+
it("discovers the exact API key and optional base URL for provider credentials", () => {
|
|
9
|
+
expect(getProviderDefinition("fal-ai")).toMatchObject({
|
|
10
|
+
name: "fal",
|
|
11
|
+
dataPolicy: null,
|
|
12
|
+
});
|
|
13
|
+
expect(getProviderEnvVar("fal-ai")).toBe("LLM_FAL_AI_API_KEY");
|
|
14
|
+
expect(getProviderEnvKeys("fal-ai")).toEqual([
|
|
15
|
+
{ key: "apiKey", envVar: "LLM_FAL_AI_API_KEY", required: true },
|
|
16
|
+
{ key: "baseUrl", envVar: "LLM_FAL_AI_BASE_URL", required: false },
|
|
17
|
+
]);
|
|
18
|
+
vi.stubEnv("LLM_FAL_AI_API_KEY", "test-token");
|
|
19
|
+
expect(getProviderEnvValue("fal-ai", "apiKey") === "test-token").toBe(true);
|
|
20
|
+
});
|
|
21
|
+
it("defines one canonical video-only model, not upstream mode aliases", () => {
|
|
22
|
+
const matches = models.filter((model) => model.id.startsWith("flux-3-max"));
|
|
23
|
+
expect(matches).toHaveLength(1);
|
|
24
|
+
const model = matches[0];
|
|
25
|
+
expect(model).toMatchObject({
|
|
26
|
+
id: "flux-3-max",
|
|
27
|
+
family: "black-forest-labs",
|
|
28
|
+
output: ["video"],
|
|
29
|
+
maxVideoDurationSeconds: 20,
|
|
30
|
+
releasedAt: new Date("2026-10-15"),
|
|
31
|
+
});
|
|
32
|
+
expect(modelFamilyLabel(model.family)).toBe("Black Forest Labs");
|
|
33
|
+
expect(model.providers).toHaveLength(1);
|
|
34
|
+
const mapping = model.providers[0];
|
|
35
|
+
expect(mapping).toMatchObject({
|
|
36
|
+
providerId: "fal-ai",
|
|
37
|
+
externalId: "blackforestlabs/flux-3-max",
|
|
38
|
+
streaming: false,
|
|
39
|
+
vision: true,
|
|
40
|
+
videoGenerations: true,
|
|
41
|
+
supportedVideoSizes: ["1280x720", "720x1280", "1920x1080", "1080x1920"],
|
|
42
|
+
supportsVideoAudio: true,
|
|
43
|
+
supportsVideoWithoutAudio: true,
|
|
44
|
+
});
|
|
45
|
+
const durations = Array.from({ length: 16 }, (_, index) => index + 5);
|
|
46
|
+
expect(mapping.supportedVideoDurationsSeconds).toEqual(durations);
|
|
47
|
+
expect(mapping.supportedVideoDurationsSecondsImageToVideo).toEqual(durations);
|
|
48
|
+
expect(mapping.reasoningEfforts).toBeUndefined();
|
|
49
|
+
expect(mapping.imageGenerations).toBeUndefined();
|
|
50
|
+
expect(mapping.perSecondPrice).toEqual({
|
|
51
|
+
default_audio: "0.17",
|
|
52
|
+
default_video: "0.17",
|
|
53
|
+
"720p_audio": "0.17",
|
|
54
|
+
"720p_video": "0.17",
|
|
55
|
+
"1080p_audio": "0.29",
|
|
56
|
+
"1080p_video": "0.29",
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
//# sourceMappingURL=fal-flux-3-max.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fal-flux-3-max.spec.js","sourceRoot":"","sources":["../src/fal-flux-3-max.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EACN,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,GACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAIvD,SAAS,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,aAAa,EAAE,CAAC,CAAC;AAEpC,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC/B,EAAE,CAAC,4EAA4E,EAAE,GAAG,EAAE;QACrF,MAAM,CAAC,qBAAqB,CAAC,QAAQ,C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AC,CAAC,CAAC"}
|
package/dist/model-family.js
CHANGED
package/dist/model-family.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-family.js","sourceRoot":"","sources":["../src/model-family.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAOvD,MAAM,mBAAmB,GAA2B;IACnD,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,aAAa;IACzB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,aAAa;IACvB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,WAAW;IACnB,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,MAAM;CACX,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAAC,MAAc;IAC9C,MAAM,KAAK,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAC1C,IAAI,KAAK,EAAE,CAAC;QACX,OAAO,KAAK,CAAC;IACd,CAAC;IACD,MAAM,UAAU,GAAG,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACjD,IAAI,UAAU,EAAE,IAAI,EAAE,CAAC;QACtB,OAAO,UAAU,CAAC,IAAI,CAAC;IACxB,CAAC;IACD,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACzD,CAAC;AAGD,MAAM,CAA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zD;KACC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;KAClD,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;AAEjD,MAAM,eAAe,GAAG,IAAI,GAAG,CAC9B,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,EAAY,EAAE,KAAK,CAAC,MAAgB,CAAC,CAAC,CACnE,CAAC;AAGF,MAAM,UAAU,cAAc,CAAC,OAAe;IAC7C,OAAO,eAAe,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC;AAC7C,CAAC;AAOD,MAAM,UAAU,oBAAoB,CAAC,SAAiB;IACrD,MAAM,KAAK,GAAG,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrC,MAAM,eAAe,GAAG,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;IAC9E,OAAO,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACtC,CAAC;AAOD,MAAM,UAAU,sBAAsB,CAAC,SAAiB;IACvD,OAAO,cAAc,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC,CAAC;AACxD,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const blackForestLabsModels: [{
|
|
2
|
+
readonly id: "flux-3-max";
|
|
3
|
+
readonly name: "FLUX 3 Max";
|
|
4
|
+
readonly description: "FLUX 3 Max text-to-video and image-to-video generation with optional audio.";
|
|
5
|
+
readonly family: "black-forest-labs";
|
|
6
|
+
readonly output: ["video"];
|
|
7
|
+
readonly maxVideoDurationSeconds: 20;
|
|
8
|
+
readonly releasedAt: Date;
|
|
9
|
+
readonly providers: [{
|
|
10
|
+
readonly test: "skip";
|
|
11
|
+
readonly providerId: "fal-ai";
|
|
12
|
+
readonly externalId: "blackforestlabs/flux-3-max";
|
|
13
|
+
readonly inputPrice: undefined;
|
|
14
|
+
readonly outputPrice: undefined;
|
|
15
|
+
readonly requestPrice: undefined;
|
|
16
|
+
readonly perSecondPrice: {
|
|
17
|
+
readonly default_audio: "0.17";
|
|
18
|
+
readonly default_video: "0.17";
|
|
19
|
+
readonly "720p_audio": "0.17";
|
|
20
|
+
readonly "720p_video": "0.17";
|
|
21
|
+
readonly "1080p_audio": "0.29";
|
|
22
|
+
readonly "1080p_video": "0.29";
|
|
23
|
+
};
|
|
24
|
+
readonly streaming: false;
|
|
25
|
+
readonly vision: true;
|
|
26
|
+
readonly tools: false;
|
|
27
|
+
readonly jsonOutput: false;
|
|
28
|
+
readonly videoGenerations: true;
|
|
29
|
+
readonly supportedVideoSizes: ["1280x720", "720x1280", "1920x1080", "1080x1920"];
|
|
30
|
+
readonly supportedVideoDurationsSeconds: [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20];
|
|
31
|
+
readonly supportedVideoDurationsSecondsImageToVideo: [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20];
|
|
32
|
+
readonly supportsVideoAudio: true;
|
|
33
|
+
readonly supportsVideoWithoutAudio: true;
|
|
34
|
+
}];
|
|
35
|
+
}];
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export const blackForestLabsModels = [
|
|
2
|
+
{
|
|
3
|
+
id: "flux-3-max",
|
|
4
|
+
name: "FLUX 3 Max",
|
|
5
|
+
description: "FLUX 3 Max text-to-video and image-to-video generation with optional audio.",
|
|
6
|
+
family: "black-forest-labs",
|
|
7
|
+
output: ["video"],
|
|
8
|
+
maxVideoDurationSeconds: 20,
|
|
9
|
+
releasedAt: new Date("2026-10-15"),
|
|
10
|
+
providers: [
|
|
11
|
+
{
|
|
12
|
+
test: "skip",
|
|
13
|
+
providerId: "fal-ai",
|
|
14
|
+
externalId: "blackforestlabs/flux-3-max",
|
|
15
|
+
inputPrice: undefined,
|
|
16
|
+
outputPrice: undefined,
|
|
17
|
+
requestPrice: undefined,
|
|
18
|
+
perSecondPrice: {
|
|
19
|
+
default_audio: "0.17",
|
|
20
|
+
default_video: "0.17",
|
|
21
|
+
"720p_audio": "0.17",
|
|
22
|
+
"720p_video": "0.17",
|
|
23
|
+
"1080p_audio": "0.29",
|
|
24
|
+
"1080p_video": "0.29",
|
|
25
|
+
},
|
|
26
|
+
streaming: false,
|
|
27
|
+
vision: true,
|
|
28
|
+
tools: false,
|
|
29
|
+
jsonOutput: false,
|
|
30
|
+
videoGenerations: true,
|
|
31
|
+
supportedVideoSizes: ["1280x720", "720x1280", "1920x1080", "1080x1920"],
|
|
32
|
+
supportedVideoDurationsSeconds: [
|
|
33
|
+
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
|
34
|
+
],
|
|
35
|
+
supportedVideoDurationsSecondsImageToVideo: [
|
|
36
|
+
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
|
37
|
+
],
|
|
38
|
+
supportsVideoAudio: true,
|
|
39
|
+
supportsVideoWithoutAudio: true,
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
//# sourceMappingURL=black-forest-labs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"black-forest-labs.js","sourceRoot":"","sources":["../../src/models/black-forest-labs.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC;QACC,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,YAAY;QAClB,WAAW,EACV,6EAA6E;QAC9E,MAAM,EA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23 @@ export declare const deepseekModels: [{
|
|
|
407
407
|
}, {
|
|
408
408
|
readonly providerId: "tencent";
|
|
409
409
|
readonly externalId: "deepseek-v4-pro-202606";
|
|
410
|
-
readonly inputPrice: "0.
|
|
411
|
-
readonly cachedInputPrice: "0.
|
|
412
|
-
readonly outputPrice: "
|
|
410
|
+
readonly inputPrice: "0.66e-6";
|
|
411
|
+
readonly cachedInputPrice: "0.022e-6";
|
|
412
|
+
readonly outputPrice: "1.98e-6";
|
|
413
|
+
readonly peakPricing: {
|
|
414
|
+
readonly peak: {
|
|
415
|
+
readonly inputPrice: "1.32e-6";
|
|
416
|
+
readonly outputPrice: "3.96e-6";
|
|
417
|
+
readonly cachedInputPrice: "0.044e-6";
|
|
418
|
+
};
|
|
419
|
+
readonly offPeak: {
|
|
420
|
+
readonly inputPrice: "0.66e-6";
|
|
421
|
+
readonly outputPrice: "1.98e-6";
|
|
422
|
+
readonly cachedInputPrice: "0.022e-6";
|
|
423
|
+
};
|
|
424
|
+
readonly hoursUtc: readonly [[1, 4], [6, 10]];
|
|
425
|
+
readonly offPeakDaysUtc: readonly [0, 6];
|
|
426
|
+
};
|
|
413
427
|
readonly requestPrice: "0";
|
|
414
428
|
readonly contextSize: 1000000;
|
|
415
429
|
readonly maxOutput: 393216;
|
|
@@ -419,6 +433,8 @@ export declare const deepseekModels: [{
|
|
|
419
433
|
readonly vision: false;
|
|
420
434
|
readonly tools: true;
|
|
421
435
|
readonly supportedToolChoices: ["auto", "none"];
|
|
436
|
+
readonly supportedToolChoicesWithThinkingDisabled: ["required", "function"];
|
|
437
|
+
readonly supportsDeveloperRole: false;
|
|
422
438
|
readonly jsonOutput: true;
|
|
423
439
|
readonly jsonOutputSchema: false;
|
|
424
440
|
}, {
|
|
@@ -644,9 +660,23 @@ export declare const deepseekModels: [{
|
|
|
644
660
|
}, {
|
|
645
661
|
readonly providerId: "tencent";
|
|
646
662
|
readonly externalId: "deepseek-v4-flash-202605";
|
|
647
|
-
readonly inputPrice: "0.
|
|
648
|
-
readonly cachedInputPrice: "0.
|
|
649
|
-
readonly outputPrice: "0.
|
|
663
|
+
readonly inputPrice: "0.15e-6";
|
|
664
|
+
readonly cachedInputPrice: "0.003e-6";
|
|
665
|
+
readonly outputPrice: "0.6e-6";
|
|
666
|
+
readonly peakPricing: {
|
|
667
|
+
readonly peak: {
|
|
668
|
+
readonly inputPrice: "0.3e-6";
|
|
669
|
+
readonly outputPrice: "1.2e-6";
|
|
670
|
+
readonly cachedInputPrice: "0.006e-6";
|
|
671
|
+
};
|
|
672
|
+
readonly offPeak: {
|
|
673
|
+
readonly inputPrice: "0.15e-6";
|
|
674
|
+
readonly outputPrice: "0.6e-6";
|
|
675
|
+
readonly cachedInputPrice: "0.003e-6";
|
|
676
|
+
};
|
|
677
|
+
readonly hoursUtc: readonly [[1, 4], [6, 10]];
|
|
678
|
+
readonly offPeakDaysUtc: readonly [0, 6];
|
|
679
|
+
};
|
|
650
680
|
readonly requestPrice: "0";
|
|
651
681
|
readonly contextSize: 1000000;
|
|
652
682
|
readonly maxOutput: 393216;
|
|
@@ -656,6 +686,8 @@ export declare const deepseekModels: [{
|
|
|
656
686
|
readonly vision: false;
|
|
657
687
|
readonly tools: true;
|
|
658
688
|
readonly supportedToolChoices: ["auto", "none"];
|
|
689
|
+
readonly supportedToolChoicesWithThinkingDisabled: ["required", "function"];
|
|
690
|
+
readonly supportsDeveloperRole: false;
|
|
659
691
|
readonly jsonOutput: true;
|
|
660
692
|
readonly jsonOutputSchema: false;
|
|
661
693
|
}, {
|
|
@@ -725,6 +757,39 @@ export declare const deepseekModels: [{
|
|
|
725
757
|
readonly family: "deepseek";
|
|
726
758
|
readonly releasedAt: Date;
|
|
727
759
|
readonly providers: [{
|
|
760
|
+
readonly providerId: "tencent";
|
|
761
|
+
readonly externalId: "deepseek-v4.1-flash";
|
|
762
|
+
readonly inputPrice: "0.15e-6";
|
|
763
|
+
readonly outputPrice: "0.6e-6";
|
|
764
|
+
readonly cachedInputPrice: "0.003e-6";
|
|
765
|
+
readonly peakPricing: {
|
|
766
|
+
readonly peak: {
|
|
767
|
+
readonly inputPrice: "0.3e-6";
|
|
768
|
+
readonly outputPrice: "1.2e-6";
|
|
769
|
+
readonly cachedInputPrice: "0.006e-6";
|
|
770
|
+
};
|
|
771
|
+
readonly offPeak: {
|
|
772
|
+
readonly inputPrice: "0.15e-6";
|
|
773
|
+
readonly outputPrice: "0.6e-6";
|
|
774
|
+
readonly cachedInputPrice: "0.003e-6";
|
|
775
|
+
};
|
|
776
|
+
readonly hoursUtc: readonly [[1, 4], [6, 10]];
|
|
777
|
+
readonly offPeakDaysUtc: readonly [0, 6];
|
|
778
|
+
};
|
|
779
|
+
readonly requestPrice: "0";
|
|
780
|
+
readonly contextSize: 1000000;
|
|
781
|
+
readonly maxOutput: 393216;
|
|
782
|
+
readonly streaming: true;
|
|
783
|
+
readonly reasoning: true;
|
|
784
|
+
readonly reasoningEfforts: ["none", "minimal", "low", "medium", "high", "xhigh", "max"];
|
|
785
|
+
readonly vision: true;
|
|
786
|
+
readonly requiresBase64Images: true;
|
|
787
|
+
readonly tools: true;
|
|
788
|
+
readonly supportedToolChoices: ["auto", "none", "function"];
|
|
789
|
+
readonly supportedToolChoicesWithThinkingDisabled: ["required"];
|
|
790
|
+
readonly jsonOutput: true;
|
|
791
|
+
readonly jsonOutputSchema: true;
|
|
792
|
+
}, {
|
|
728
793
|
readonly providerId: "deepseek";
|
|
729
794
|
readonly externalId: "deepseek-flash";
|
|
730
795
|
readonly deactivatedAt: Date;
|
|
@@ -943,6 +1008,40 @@ export declare const deepseekModels: [{
|
|
|
943
1008
|
readonly family: "deepseek";
|
|
944
1009
|
readonly releasedAt: Date;
|
|
945
1010
|
readonly providers: [{
|
|
1011
|
+
readonly providerId: "tencent";
|
|
1012
|
+
readonly externalId: "deepseek/deepseek-flash";
|
|
1013
|
+
readonly inputPrice: "0.15e-6";
|
|
1014
|
+
readonly outputPrice: "0.6e-6";
|
|
1015
|
+
readonly cachedInputPrice: "0.003e-6";
|
|
1016
|
+
readonly peakPricing: {
|
|
1017
|
+
readonly peak: {
|
|
1018
|
+
readonly inputPrice: "0.3e-6";
|
|
1019
|
+
readonly outputPrice: "1.2e-6";
|
|
1020
|
+
readonly cachedInputPrice: "0.006e-6";
|
|
1021
|
+
};
|
|
1022
|
+
readonly offPeak: {
|
|
1023
|
+
readonly inputPrice: "0.15e-6";
|
|
1024
|
+
readonly outputPrice: "0.6e-6";
|
|
1025
|
+
readonly cachedInputPrice: "0.003e-6";
|
|
1026
|
+
};
|
|
1027
|
+
readonly hoursUtc: readonly [[1, 4], [6, 10]];
|
|
1028
|
+
readonly offPeakDaysUtc: readonly [0, 6];
|
|
1029
|
+
};
|
|
1030
|
+
readonly requestPrice: "0";
|
|
1031
|
+
readonly contextSize: 1000000;
|
|
1032
|
+
readonly maxOutput: 393216;
|
|
1033
|
+
readonly streaming: true;
|
|
1034
|
+
readonly reasoning: true;
|
|
1035
|
+
readonly reasoningEfforts: ["none", "minimal", "low", "medium", "high", "xhigh", "max"];
|
|
1036
|
+
readonly vision: true;
|
|
1037
|
+
readonly requiresBase64Images: true;
|
|
1038
|
+
readonly tools: true;
|
|
1039
|
+
readonly supportedToolChoices: ["auto", "none"];
|
|
1040
|
+
readonly supportedToolChoicesWithThinkingDisabled: ["required", "function"];
|
|
1041
|
+
readonly supportsDeveloperRole: false;
|
|
1042
|
+
readonly jsonOutput: true;
|
|
1043
|
+
readonly jsonOutputSchema: false;
|
|
1044
|
+
}, {
|
|
946
1045
|
readonly providerId: "deepseek";
|
|
947
1046
|
readonly externalId: "deepseek-flash";
|
|
948
1047
|
readonly requiresBase64Images: true;
|
package/dist/models/deepseek.js
CHANGED
|
@@ -494,9 +494,26 @@ export const deepseekModels = [
|
|
|
494
494
|
{
|
|
495
495
|
providerId: "tencent",
|
|
496
496
|
externalId: "deepseek-v4-pro-202606",
|
|
497
|
-
inputPrice: "0.
|
|
498
|
-
cachedInputPrice: "0.
|
|
499
|
-
outputPrice: "
|
|
497
|
+
inputPrice: "0.66e-6",
|
|
498
|
+
cachedInputPrice: "0.022e-6",
|
|
499
|
+
outputPrice: "1.98e-6",
|
|
500
|
+
peakPricing: {
|
|
501
|
+
peak: {
|
|
502
|
+
inputPrice: "1.32e-6",
|
|
503
|
+
outputPrice: "3.96e-6",
|
|
504
|
+
cachedInputPrice: "0.044e-6",
|
|
505
|
+
},
|
|
506
|
+
offPeak: {
|
|
507
|
+
inputPrice: "0.66e-6",
|
|
508
|
+
outputPrice: "1.98e-6",
|
|
509
|
+
cachedInputPrice: "0.022e-6",
|
|
510
|
+
},
|
|
511
|
+
hoursUtc: [
|
|
512
|
+
[1, 4],
|
|
513
|
+
[6, 10],
|
|
514
|
+
],
|
|
515
|
+
offPeakDaysUtc: [0, 6],
|
|
516
|
+
},
|
|
500
517
|
requestPrice: "0",
|
|
501
518
|
contextSize: 1000000,
|
|
502
519
|
maxOutput: 393216,
|
|
@@ -514,6 +531,8 @@ export const deepseekModels = [
|
|
|
514
531
|
vision: false,
|
|
515
532
|
tools: true,
|
|
516
533
|
supportedToolChoices: ["auto", "none"],
|
|
534
|
+
supportedToolChoicesWithThinkingDisabled: ["required", "function"],
|
|
535
|
+
supportsDeveloperRole: false,
|
|
517
536
|
jsonOutput: true,
|
|
518
537
|
jsonOutputSchema: false,
|
|
519
538
|
},
|
|
@@ -814,9 +833,26 @@ export const deepseekModels = [
|
|
|
814
833
|
{
|
|
815
834
|
providerId: "tencent",
|
|
816
835
|
externalId: "deepseek-v4-flash-202605",
|
|
817
|
-
inputPrice: "0.
|
|
818
|
-
cachedInputPrice: "0.
|
|
819
|
-
outputPrice: "0.
|
|
836
|
+
inputPrice: "0.15e-6",
|
|
837
|
+
cachedInputPrice: "0.003e-6",
|
|
838
|
+
outputPrice: "0.6e-6",
|
|
839
|
+
peakPricing: {
|
|
840
|
+
peak: {
|
|
841
|
+
inputPrice: "0.3e-6",
|
|
842
|
+
outputPrice: "1.2e-6",
|
|
843
|
+
cachedInputPrice: "0.006e-6",
|
|
844
|
+
},
|
|
845
|
+
offPeak: {
|
|
846
|
+
inputPrice: "0.15e-6",
|
|
847
|
+
outputPrice: "0.6e-6",
|
|
848
|
+
cachedInputPrice: "0.003e-6",
|
|
849
|
+
},
|
|
850
|
+
hoursUtc: [
|
|
851
|
+
[1, 4],
|
|
852
|
+
[6, 10],
|
|
853
|
+
],
|
|
854
|
+
offPeakDaysUtc: [0, 6],
|
|
855
|
+
},
|
|
820
856
|
requestPrice: "0",
|
|
821
857
|
contextSize: 1000000,
|
|
822
858
|
maxOutput: 393216,
|
|
@@ -834,6 +870,8 @@ export const deepseekModels = [
|
|
|
834
870
|
vision: false,
|
|
835
871
|
tools: true,
|
|
836
872
|
supportedToolChoices: ["auto", "none"],
|
|
873
|
+
supportedToolChoicesWithThinkingDisabled: ["required", "function"],
|
|
874
|
+
supportsDeveloperRole: false,
|
|
837
875
|
jsonOutput: true,
|
|
838
876
|
jsonOutputSchema: false,
|
|
839
877
|
},
|
|
@@ -931,6 +969,51 @@ export const deepseekModels = [
|
|
|
931
969
|
family: "deepseek",
|
|
932
970
|
releasedAt: new Date("2026-09-10"),
|
|
933
971
|
providers: [
|
|
972
|
+
{
|
|
973
|
+
providerId: "tencent",
|
|
974
|
+
externalId: "deepseek-v4.1-flash",
|
|
975
|
+
inputPrice: "0.15e-6",
|
|
976
|
+
outputPrice: "0.6e-6",
|
|
977
|
+
cachedInputPrice: "0.003e-6",
|
|
978
|
+
peakPricing: {
|
|
979
|
+
peak: {
|
|
980
|
+
inputPrice: "0.3e-6",
|
|
981
|
+
outputPrice: "1.2e-6",
|
|
982
|
+
cachedInputPrice: "0.006e-6",
|
|
983
|
+
},
|
|
984
|
+
offPeak: {
|
|
985
|
+
inputPrice: "0.15e-6",
|
|
986
|
+
outputPrice: "0.6e-6",
|
|
987
|
+
cachedInputPrice: "0.003e-6",
|
|
988
|
+
},
|
|
989
|
+
hoursUtc: [
|
|
990
|
+
[1, 4],
|
|
991
|
+
[6, 10],
|
|
992
|
+
],
|
|
993
|
+
offPeakDaysUtc: [0, 6],
|
|
994
|
+
},
|
|
995
|
+
requestPrice: "0",
|
|
996
|
+
contextSize: 1000000,
|
|
997
|
+
maxOutput: 393216,
|
|
998
|
+
streaming: true,
|
|
999
|
+
reasoning: true,
|
|
1000
|
+
reasoningEfforts: [
|
|
1001
|
+
"none",
|
|
1002
|
+
"minimal",
|
|
1003
|
+
"low",
|
|
1004
|
+
"medium",
|
|
1005
|
+
"high",
|
|
1006
|
+
"xhigh",
|
|
1007
|
+
"max",
|
|
1008
|
+
],
|
|
1009
|
+
vision: true,
|
|
1010
|
+
requiresBase64Images: true,
|
|
1011
|
+
tools: true,
|
|
1012
|
+
supportedToolChoices: ["auto", "none", "function"],
|
|
1013
|
+
supportedToolChoicesWithThinkingDisabled: ["required"],
|
|
1014
|
+
jsonOutput: true,
|
|
1015
|
+
jsonOutputSchema: true,
|
|
1016
|
+
},
|
|
934
1017
|
{
|
|
935
1018
|
providerId: "deepseek",
|
|
936
1019
|
externalId: "deepseek-flash",
|
|
@@ -1207,6 +1290,52 @@ export const deepseekModels = [
|
|
|
1207
1290
|
family: "deepseek",
|
|
1208
1291
|
releasedAt: new Date("2026-10-17"),
|
|
1209
1292
|
providers: [
|
|
1293
|
+
{
|
|
1294
|
+
providerId: "tencent",
|
|
1295
|
+
externalId: "deepseek/deepseek-flash",
|
|
1296
|
+
inputPrice: "0.15e-6",
|
|
1297
|
+
outputPrice: "0.6e-6",
|
|
1298
|
+
cachedInputPrice: "0.003e-6",
|
|
1299
|
+
peakPricing: {
|
|
1300
|
+
peak: {
|
|
1301
|
+
inputPrice: "0.3e-6",
|
|
1302
|
+
outputPrice: "1.2e-6",
|
|
1303
|
+
cachedInputPrice: "0.006e-6",
|
|
1304
|
+
},
|
|
1305
|
+
offPeak: {
|
|
1306
|
+
inputPrice: "0.15e-6",
|
|
1307
|
+
outputPrice: "0.6e-6",
|
|
1308
|
+
cachedInputPrice: "0.003e-6",
|
|
1309
|
+
},
|
|
1310
|
+
hoursUtc: [
|
|
1311
|
+
[1, 4],
|
|
1312
|
+
[6, 10],
|
|
1313
|
+
],
|
|
1314
|
+
offPeakDaysUtc: [0, 6],
|
|
1315
|
+
},
|
|
1316
|
+
requestPrice: "0",
|
|
1317
|
+
contextSize: 1000000,
|
|
1318
|
+
maxOutput: 393216,
|
|
1319
|
+
streaming: true,
|
|
1320
|
+
reasoning: true,
|
|
1321
|
+
reasoningEfforts: [
|
|
1322
|
+
"none",
|
|
1323
|
+
"minimal",
|
|
1324
|
+
"low",
|
|
1325
|
+
"medium",
|
|
1326
|
+
"high",
|
|
1327
|
+
"xhigh",
|
|
1328
|
+
"max",
|
|
1329
|
+
],
|
|
1330
|
+
vision: true,
|
|
1331
|
+
requiresBase64Images: true,
|
|
1332
|
+
tools: true,
|
|
1333
|
+
supportedToolChoices: ["auto", "none"],
|
|
1334
|
+
supportedToolChoicesWithThinkingDisabled: ["required", "function"],
|
|
1335
|
+
supportsDeveloperRole: false,
|
|
1336
|
+
jsonOutput: true,
|
|
1337
|
+
jsonOutputSchema: false,
|
|
1338
|
+
},
|
|
1210
1339
|
{
|
|
1211
1340
|
providerId: "deepseek",
|
|
1212
1341
|
externalId: "deepseek-flash",
|