@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,131 @@
1
+ export declare const bytedanceModels: [{
2
+ readonly id: "seed-1-6-250615";
3
+ readonly name: "Seed 1.6 (250615)";
4
+ readonly description: "ByteDance Seed 1.6 vision model with thinking/non-thinking modes, multimodal inputs, and 256K context window";
5
+ readonly family: "bytedance";
6
+ readonly releasedAt: Date;
7
+ readonly providers: [{
8
+ readonly providerId: "bytedance";
9
+ readonly modelName: "seed-1-6-250615";
10
+ readonly inputPrice: number;
11
+ readonly outputPrice: number;
12
+ readonly cachedInputPrice: number;
13
+ readonly requestPrice: 0;
14
+ readonly contextSize: 256000;
15
+ readonly maxOutput: undefined;
16
+ readonly streaming: true;
17
+ readonly reasoning: true;
18
+ readonly vision: true;
19
+ readonly tools: true;
20
+ readonly jsonOutput: true;
21
+ }];
22
+ }, {
23
+ readonly id: "seed-1-6-250915";
24
+ readonly name: "Seed 1.6 (250915)";
25
+ readonly description: "ByteDance Seed 1.6 vision model released September 15, 2025 with thinking/non-thinking modes and multimodal inputs";
26
+ readonly family: "bytedance";
27
+ readonly releasedAt: Date;
28
+ readonly providers: [{
29
+ readonly providerId: "bytedance";
30
+ readonly modelName: "seed-1-6-250915";
31
+ readonly inputPrice: number;
32
+ readonly cachedInputPrice: number;
33
+ readonly outputPrice: number;
34
+ readonly requestPrice: 0;
35
+ readonly contextSize: 256000;
36
+ readonly maxOutput: undefined;
37
+ readonly streaming: true;
38
+ readonly reasoning: true;
39
+ readonly vision: true;
40
+ readonly tools: true;
41
+ readonly jsonOutput: true;
42
+ }];
43
+ }, {
44
+ readonly id: "seed-1-6-flash-250715";
45
+ readonly name: "Seed 1.6 Flash (250715)";
46
+ readonly description: "ByteDance Seed 1.6 Flash - faster, cost-effective vision model released July 15, 2025";
47
+ readonly family: "bytedance";
48
+ readonly releasedAt: Date;
49
+ readonly providers: [{
50
+ readonly providerId: "bytedance";
51
+ readonly modelName: "seed-1-6-flash-250715";
52
+ readonly inputPrice: number;
53
+ readonly cachedInputPrice: number;
54
+ readonly outputPrice: number;
55
+ readonly requestPrice: 0;
56
+ readonly contextSize: 256000;
57
+ readonly maxOutput: undefined;
58
+ readonly streaming: true;
59
+ readonly reasoning: true;
60
+ readonly vision: true;
61
+ readonly tools: true;
62
+ readonly jsonOutput: true;
63
+ }];
64
+ }, {
65
+ readonly id: "seed-1-8-251228";
66
+ readonly name: "Seed 1.8 (251228)";
67
+ readonly description: "ByteDance Seed 1.8 advanced vision model released December 28, 2025 with enhanced capabilities";
68
+ readonly family: "bytedance";
69
+ readonly releasedAt: Date;
70
+ readonly providers: [{
71
+ readonly providerId: "bytedance";
72
+ readonly modelName: "seed-1-8-251228";
73
+ readonly inputPrice: number;
74
+ readonly cachedInputPrice: number;
75
+ readonly outputPrice: number;
76
+ readonly requestPrice: 0;
77
+ readonly contextSize: 256000;
78
+ readonly maxOutput: undefined;
79
+ readonly streaming: true;
80
+ readonly reasoning: true;
81
+ readonly vision: true;
82
+ readonly tools: true;
83
+ readonly jsonOutput: true;
84
+ }];
85
+ }, {
86
+ readonly id: "seedream-4-0";
87
+ readonly name: "Seedream 4.0";
88
+ readonly description: "ByteDance Seedream 4.0 text-to-image generation model with high-quality visual output";
89
+ readonly family: "bytedance";
90
+ readonly output: ["text", "image"];
91
+ readonly releasedAt: Date;
92
+ readonly providers: [{
93
+ readonly test: "skip";
94
+ readonly providerId: "bytedance";
95
+ readonly modelName: "seedream-4-0-250828";
96
+ readonly inputPrice: 0;
97
+ readonly outputPrice: 0;
98
+ readonly requestPrice: 0.035;
99
+ readonly discount: 0.1;
100
+ readonly contextSize: 2000;
101
+ readonly maxOutput: 4096;
102
+ readonly streaming: false;
103
+ readonly vision: false;
104
+ readonly tools: false;
105
+ readonly jsonOutput: false;
106
+ readonly imageGenerations: true;
107
+ }];
108
+ }, {
109
+ readonly id: "seedream-4-5";
110
+ readonly name: "Seedream 4.5";
111
+ readonly description: "ByteDance Seedream 4.5 advanced text-to-image generation model with enhanced quality and consistency";
112
+ readonly family: "bytedance";
113
+ readonly output: ["text", "image"];
114
+ readonly releasedAt: Date;
115
+ readonly providers: [{
116
+ readonly test: "skip";
117
+ readonly providerId: "bytedance";
118
+ readonly modelName: "seedream-4-5-251128";
119
+ readonly inputPrice: 0;
120
+ readonly outputPrice: 0;
121
+ readonly requestPrice: 0.045;
122
+ readonly discount: 0.1;
123
+ readonly contextSize: 2000;
124
+ readonly maxOutput: 4096;
125
+ readonly streaming: false;
126
+ readonly vision: false;
127
+ readonly tools: false;
128
+ readonly jsonOutput: false;
129
+ readonly imageGenerations: true;
130
+ }];
131
+ }];
@@ -0,0 +1,151 @@
1
+ export const bytedanceModels = [
2
+ {
3
+ id: "seed-1-6-250615",
4
+ name: "Seed 1.6 (250615)",
5
+ description: "ByteDance Seed 1.6 vision model with thinking/non-thinking modes, multimodal inputs, and 256K context window",
6
+ family: "bytedance",
7
+ releasedAt: new Date("2025-06-25"),
8
+ providers: [
9
+ {
10
+ providerId: "bytedance",
11
+ modelName: "seed-1-6-250615",
12
+ inputPrice: 0.00025 / 1000,
13
+ outputPrice: 0.002 / 1000,
14
+ cachedInputPrice: 0.00005 / 1000,
15
+ requestPrice: 0,
16
+ contextSize: 256000,
17
+ maxOutput: undefined,
18
+ streaming: true,
19
+ reasoning: true,
20
+ vision: true,
21
+ tools: true,
22
+ jsonOutput: true,
23
+ },
24
+ ],
25
+ },
26
+ {
27
+ id: "seed-1-6-250915",
28
+ name: "Seed 1.6 (250915)",
29
+ description: "ByteDance Seed 1.6 vision model released September 15, 2025 with thinking/non-thinking modes and multimodal inputs",
30
+ family: "bytedance",
31
+ releasedAt: new Date("2025-09-15"),
32
+ providers: [
33
+ {
34
+ providerId: "bytedance",
35
+ modelName: "seed-1-6-250915",
36
+ inputPrice: 0.00025 / 1000,
37
+ cachedInputPrice: 0.00005 / 1000,
38
+ outputPrice: 0.002 / 1000,
39
+ requestPrice: 0,
40
+ contextSize: 256000,
41
+ maxOutput: undefined,
42
+ streaming: true,
43
+ reasoning: true,
44
+ vision: true,
45
+ tools: true,
46
+ jsonOutput: true,
47
+ },
48
+ ],
49
+ },
50
+ {
51
+ id: "seed-1-6-flash-250715",
52
+ name: "Seed 1.6 Flash (250715)",
53
+ description: "ByteDance Seed 1.6 Flash - faster, cost-effective vision model released July 15, 2025",
54
+ family: "bytedance",
55
+ releasedAt: new Date("2025-07-26"),
56
+ providers: [
57
+ {
58
+ providerId: "bytedance",
59
+ modelName: "seed-1-6-flash-250715",
60
+ inputPrice: 0.00007 / 1000,
61
+ cachedInputPrice: 0.000015 / 1000,
62
+ outputPrice: 0.0003 / 1000,
63
+ requestPrice: 0,
64
+ contextSize: 256000,
65
+ maxOutput: undefined,
66
+ streaming: true,
67
+ reasoning: true,
68
+ vision: true,
69
+ tools: true,
70
+ jsonOutput: true,
71
+ },
72
+ ],
73
+ },
74
+ {
75
+ id: "seed-1-8-251228",
76
+ name: "Seed 1.8 (251228)",
77
+ description: "ByteDance Seed 1.8 advanced vision model released December 28, 2025 with enhanced capabilities",
78
+ family: "bytedance",
79
+ releasedAt: new Date("2025-12-18"),
80
+ providers: [
81
+ {
82
+ providerId: "bytedance",
83
+ modelName: "seed-1-8-251228",
84
+ inputPrice: 0.00025 / 1000,
85
+ cachedInputPrice: 0.00005 / 1000,
86
+ outputPrice: 0.002 / 1000,
87
+ requestPrice: 0,
88
+ contextSize: 256000,
89
+ maxOutput: undefined,
90
+ streaming: true,
91
+ reasoning: true,
92
+ vision: true,
93
+ tools: true,
94
+ jsonOutput: true,
95
+ },
96
+ ],
97
+ },
98
+ {
99
+ id: "seedream-4-0",
100
+ name: "Seedream 4.0",
101
+ description: "ByteDance Seedream 4.0 text-to-image generation model with high-quality visual output",
102
+ family: "bytedance",
103
+ output: ["text", "image"],
104
+ releasedAt: new Date("2025-09-16"),
105
+ providers: [
106
+ {
107
+ test: "skip",
108
+ providerId: "bytedance",
109
+ modelName: "seedream-4-0-250828",
110
+ inputPrice: 0,
111
+ outputPrice: 0,
112
+ requestPrice: 0.035,
113
+ discount: 0.1,
114
+ contextSize: 2000,
115
+ maxOutput: 4096,
116
+ streaming: false,
117
+ vision: false,
118
+ tools: false,
119
+ jsonOutput: false,
120
+ imageGenerations: true,
121
+ },
122
+ ],
123
+ },
124
+ {
125
+ id: "seedream-4-5",
126
+ name: "Seedream 4.5",
127
+ description: "ByteDance Seedream 4.5 advanced text-to-image generation model with enhanced quality and consistency",
128
+ family: "bytedance",
129
+ output: ["text", "image"],
130
+ releasedAt: new Date("2025-12-03"),
131
+ providers: [
132
+ {
133
+ test: "skip",
134
+ providerId: "bytedance",
135
+ modelName: "seedream-4-5-251128",
136
+ inputPrice: 0,
137
+ outputPrice: 0,
138
+ requestPrice: 0.045,
139
+ discount: 0.1,
140
+ contextSize: 2000,
141
+ maxOutput: 4096,
142
+ streaming: false,
143
+ vision: false,
144
+ tools: false,
145
+ jsonOutput: false,
146
+ imageGenerations: true,
147
+ },
148
+ ],
149
+ },
150
+ ];
151
+ //# sourceMappingURL=bytedance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bytedance.js","sourceRoot":"","sources":["../../src/models/bytedance.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B;QACC,EAAE,EAAE,iBAAiB;QACrB,IAAI,EAAE,mBAAmB;QACzB,WAAW,EACV,8GAA8G;QAC/G,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC;QAClC,SAAS,EAAE;YACV;gBACC,UAAU,EAAE,WAAW;gBACvB,SAAS,EAAE,iBAAiB;gBAC5B,UAAU,EAAE,OAAO,GAAG,IAAI;gBAC1B,WAAW,EAAE,KAAK,GAAG,IAAI;gBACzB,gBAAgB,EAAE,OAAO,GAAG,IAAI;gBAChC,YAAY,EAAE,CAAC;gBACf,WAAW,EAAE,MAAM;gBACnB,SAAS,EAAE,SAAS;gBACpB,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,IAAI;gBACf,MAAM,EAAE,IAAI;gBACZ,KAAK,EAAE,IAAI;gBACX,UAAU,EAAE,IAAI;aAChB;SACD;KACD;IACD;QACC,EAAE,EAAE,iBAAiB;QACrB,IAAI,EAAE,mBAAmB;QACzB,WAAW,EACV,oHAAoH;QACrH,MAAM,EAAE,WAAW;QACnB,UAAU,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC;QAClC,SAAS,EAAE;YACV;gBACC,UAAU,EAAE,WAAW;gBACvB,SAAS,EAAE,iBAAiB;gBAC5B,UAAU,EAAE,OAAO,GAAG,IAAI;gBAC1B,gBAAgB,EAAE,OAAO,GAAG,IAAI;gBAChC,WAAW,EAAE,KAAK,GAAG,IAAI;gBACzB,YAAY,EAAE,CAAC;gBACf,WAAW,EAAE,MAAM;gBACn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AC"}
@@ -0,0 +1,175 @@
1
+ export declare const deepseekModels: [{
2
+ readonly id: "deepseek-v3";
3
+ readonly name: "DeepSeek V3";
4
+ readonly description: "Large-scale Chinese AI model with strong multilingual capabilities.";
5
+ readonly family: "deepseek";
6
+ readonly releasedAt: Date;
7
+ readonly providers: [{
8
+ readonly providerId: "cloudrift";
9
+ readonly modelName: "deepseek-ai/DeepSeek-V3";
10
+ readonly inputPrice: number;
11
+ readonly outputPrice: number;
12
+ readonly requestPrice: 0;
13
+ readonly contextSize: 163840;
14
+ readonly maxOutput: undefined;
15
+ readonly streaming: true;
16
+ readonly vision: false;
17
+ readonly tools: false;
18
+ readonly jsonOutput: false;
19
+ }, {
20
+ readonly providerId: "nebius";
21
+ readonly stability: "unstable";
22
+ readonly modelName: "deepseek-ai/DeepSeek-V3";
23
+ readonly inputPrice: number;
24
+ readonly outputPrice: number;
25
+ readonly requestPrice: 0;
26
+ readonly contextSize: 64000;
27
+ readonly maxOutput: undefined;
28
+ readonly streaming: true;
29
+ readonly vision: false;
30
+ readonly tools: false;
31
+ readonly jsonOutput: false;
32
+ readonly deactivatedAt: Date;
33
+ }];
34
+ }, {
35
+ readonly id: "deepseek-r1-0528";
36
+ readonly name: "DeepSeek R1 (0528)";
37
+ readonly description: "May 2028 version of DeepSeek R1 reasoning model.";
38
+ readonly family: "deepseek";
39
+ readonly releasedAt: Date;
40
+ readonly providers: [{
41
+ readonly providerId: "cloudrift";
42
+ readonly modelName: "deepseek-ai/DeepSeek-R1-0528";
43
+ readonly inputPrice: number;
44
+ readonly outputPrice: number;
45
+ readonly requestPrice: 0;
46
+ readonly contextSize: 32770;
47
+ readonly maxOutput: undefined;
48
+ readonly streaming: true;
49
+ readonly vision: false;
50
+ readonly tools: false;
51
+ readonly stability: "unstable";
52
+ readonly jsonOutput: false;
53
+ }, {
54
+ readonly providerId: "nebius";
55
+ readonly modelName: "deepseek-ai/DeepSeek-R1-0528";
56
+ readonly inputPrice: number;
57
+ readonly outputPrice: number;
58
+ readonly requestPrice: 0;
59
+ readonly contextSize: 64000;
60
+ readonly maxOutput: undefined;
61
+ readonly streaming: true;
62
+ readonly vision: false;
63
+ readonly tools: false;
64
+ readonly stability: "unstable";
65
+ readonly jsonOutput: false;
66
+ }];
67
+ }, {
68
+ readonly id: "deepseek-r1-distill-llama-70b";
69
+ readonly name: "DeepSeek R1 Distill Llama 70B";
70
+ readonly description: "DeepSeek R1 distilled into Llama 70B architecture.";
71
+ readonly family: "deepseek";
72
+ readonly stability: "beta";
73
+ readonly releasedAt: Date;
74
+ readonly providers: [{
75
+ readonly providerId: "groq";
76
+ readonly modelName: "deepseek-r1-distill-llama-70b";
77
+ readonly inputPrice: number;
78
+ readonly outputPrice: number;
79
+ readonly requestPrice: 0;
80
+ readonly contextSize: 131072;
81
+ readonly maxOutput: undefined;
82
+ readonly streaming: true;
83
+ readonly vision: false;
84
+ readonly tools: true;
85
+ readonly jsonOutput: true;
86
+ readonly deactivatedAt: Date;
87
+ }];
88
+ }, {
89
+ readonly id: "deepseek-v3.1";
90
+ readonly name: "DeepSeek V3.1";
91
+ readonly description: "Updated DeepSeek V3 with vision, tools, and improved performance.";
92
+ readonly family: "deepseek";
93
+ readonly releasedAt: Date;
94
+ readonly providers: [{
95
+ readonly providerId: "canopywave";
96
+ readonly modelName: "deepseek/deepseek-chat-v3.1";
97
+ readonly deactivatedAt: Date;
98
+ readonly inputPrice: number;
99
+ readonly outputPrice: number;
100
+ readonly discount: 0.9;
101
+ readonly requestPrice: 0;
102
+ readonly contextSize: 128000;
103
+ readonly maxOutput: undefined;
104
+ readonly streaming: true;
105
+ readonly vision: true;
106
+ readonly tools: true;
107
+ readonly jsonOutputSchema: false;
108
+ readonly jsonOutput: true;
109
+ }, {
110
+ readonly providerId: "bytedance";
111
+ readonly modelName: "deepseek-v3-1-250821";
112
+ readonly inputPrice: number;
113
+ readonly cachedInputPrice: number;
114
+ readonly outputPrice: number;
115
+ readonly requestPrice: 0;
116
+ readonly contextSize: 128000;
117
+ readonly maxOutput: 32768;
118
+ readonly reasoning: true;
119
+ readonly reasoningOutput: "omit";
120
+ readonly streaming: true;
121
+ readonly vision: false;
122
+ readonly tools: true;
123
+ readonly jsonOutput: false;
124
+ }];
125
+ }, {
126
+ readonly id: "deepseek-v3.2";
127
+ readonly name: "DeepSeek V3.2";
128
+ readonly description: "Latest DeepSeek V3 with vision, tools, and improved performance.";
129
+ readonly family: "deepseek";
130
+ readonly releasedAt: Date;
131
+ readonly providers: [{
132
+ readonly providerId: "deepseek";
133
+ readonly modelName: "deepseek-chat";
134
+ readonly inputPrice: number;
135
+ readonly outputPrice: number;
136
+ readonly cachedInputPrice: number;
137
+ readonly requestPrice: 0;
138
+ readonly contextSize: 163840;
139
+ readonly maxOutput: undefined;
140
+ readonly jsonOutput: true;
141
+ readonly streaming: true;
142
+ readonly vision: true;
143
+ readonly tools: true;
144
+ }, {
145
+ readonly providerId: "canopywave";
146
+ readonly modelName: "deepseek/deepseek-chat-v3.2";
147
+ readonly test: "skip";
148
+ readonly inputPrice: number;
149
+ readonly outputPrice: number;
150
+ readonly discount: 0.3;
151
+ readonly requestPrice: 0;
152
+ readonly contextSize: 128000;
153
+ readonly maxOutput: undefined;
154
+ readonly streaming: true;
155
+ readonly vision: true;
156
+ readonly tools: true;
157
+ readonly jsonOutputSchema: false;
158
+ readonly jsonOutput: true;
159
+ }, {
160
+ readonly providerId: "bytedance";
161
+ readonly modelName: "deepseek-v3-2-251201";
162
+ readonly inputPrice: number;
163
+ readonly cachedInputPrice: number;
164
+ readonly outputPrice: number;
165
+ readonly requestPrice: 0;
166
+ readonly contextSize: 131072;
167
+ readonly reasoning: true;
168
+ readonly reasoningOutput: "omit";
169
+ readonly maxOutput: 131072;
170
+ readonly streaming: true;
171
+ readonly vision: false;
172
+ readonly tools: true;
173
+ readonly jsonOutput: false;
174
+ }];
175
+ }];
@@ -0,0 +1,197 @@
1
+ export const deepseekModels = [
2
+ {
3
+ id: "deepseek-v3",
4
+ name: "DeepSeek V3",
5
+ description: "Large-scale Chinese AI model with strong multilingual capabilities.",
6
+ family: "deepseek",
7
+ releasedAt: new Date("2024-12-26"),
8
+ providers: [
9
+ {
10
+ providerId: "cloudrift",
11
+ modelName: "deepseek-ai/DeepSeek-V3",
12
+ inputPrice: 0.15 / 1e6,
13
+ outputPrice: 0.4 / 1e6,
14
+ requestPrice: 0,
15
+ contextSize: 163840,
16
+ maxOutput: undefined,
17
+ streaming: true,
18
+ vision: false,
19
+ tools: false,
20
+ jsonOutput: false,
21
+ },
22
+ {
23
+ providerId: "nebius",
24
+ stability: "unstable",
25
+ modelName: "deepseek-ai/DeepSeek-V3",
26
+ inputPrice: 0.5 / 1e6,
27
+ outputPrice: 1.5 / 1e6,
28
+ requestPrice: 0,
29
+ contextSize: 64000,
30
+ maxOutput: undefined,
31
+ streaming: true,
32
+ vision: false,
33
+ tools: false,
34
+ jsonOutput: false,
35
+ deactivatedAt: new Date("2025-11-03"),
36
+ },
37
+ ],
38
+ },
39
+ {
40
+ id: "deepseek-r1-0528",
41
+ name: "DeepSeek R1 (0528)",
42
+ description: "May 2028 version of DeepSeek R1 reasoning model.",
43
+ family: "deepseek",
44
+ releasedAt: new Date("2025-05-28"),
45
+ providers: [
46
+ {
47
+ providerId: "cloudrift",
48
+ modelName: "deepseek-ai/DeepSeek-R1-0528",
49
+ inputPrice: 0.25 / 1e6,
50
+ outputPrice: 1 / 1e6,
51
+ requestPrice: 0,
52
+ contextSize: 32770,
53
+ maxOutput: undefined,
54
+ streaming: true,
55
+ vision: false,
56
+ tools: false,
57
+ stability: "unstable",
58
+ jsonOutput: false,
59
+ },
60
+ {
61
+ providerId: "nebius",
62
+ modelName: "deepseek-ai/DeepSeek-R1-0528",
63
+ inputPrice: 0.8 / 1e6,
64
+ outputPrice: 2.4 / 1e6,
65
+ requestPrice: 0,
66
+ contextSize: 64000,
67
+ maxOutput: undefined,
68
+ streaming: true,
69
+ vision: false,
70
+ tools: false,
71
+ stability: "unstable",
72
+ jsonOutput: false,
73
+ },
74
+ ],
75
+ },
76
+ {
77
+ id: "deepseek-r1-distill-llama-70b",
78
+ name: "DeepSeek R1 Distill Llama 70B",
79
+ description: "DeepSeek R1 distilled into Llama 70B architecture.",
80
+ family: "deepseek",
81
+ stability: "beta",
82
+ releasedAt: new Date("2025-01-20"),
83
+ providers: [
84
+ {
85
+ providerId: "groq",
86
+ modelName: "deepseek-r1-distill-llama-70b",
87
+ inputPrice: 0.75 / 1e6,
88
+ outputPrice: 0.99 / 1e6,
89
+ requestPrice: 0,
90
+ contextSize: 131072,
91
+ maxOutput: undefined,
92
+ streaming: true,
93
+ vision: false,
94
+ tools: true,
95
+ jsonOutput: true,
96
+ deactivatedAt: new Date("2025-10-09"),
97
+ },
98
+ ],
99
+ },
100
+ {
101
+ id: "deepseek-v3.1",
102
+ name: "DeepSeek V3.1",
103
+ description: "Updated DeepSeek V3 with vision, tools, and improved performance.",
104
+ family: "deepseek",
105
+ releasedAt: new Date("2025-08-21"),
106
+ providers: [
107
+ {
108
+ providerId: "canopywave",
109
+ modelName: "deepseek/deepseek-chat-v3.1",
110
+ deactivatedAt: new Date("2025-12-15"),
111
+ inputPrice: 0.27 / 1e6,
112
+ outputPrice: 1.0 / 1e6,
113
+ discount: 0.9,
114
+ requestPrice: 0,
115
+ contextSize: 128000,
116
+ maxOutput: undefined,
117
+ streaming: true,
118
+ vision: true,
119
+ tools: true,
120
+ jsonOutputSchema: false,
121
+ jsonOutput: true,
122
+ },
123
+ {
124
+ providerId: "bytedance",
125
+ modelName: "deepseek-v3-1-250821",
126
+ inputPrice: 0.56 / 1e6,
127
+ cachedInputPrice: 0.112 / 1e6,
128
+ outputPrice: 1.68 / 1e6,
129
+ requestPrice: 0,
130
+ contextSize: 128000,
131
+ maxOutput: 32768,
132
+ reasoning: true,
133
+ reasoningOutput: "omit",
134
+ streaming: true,
135
+ vision: false,
136
+ tools: true,
137
+ jsonOutput: false,
138
+ },
139
+ ],
140
+ },
141
+ {
142
+ id: "deepseek-v3.2",
143
+ name: "DeepSeek V3.2",
144
+ description: "Latest DeepSeek V3 with vision, tools, and improved performance.",
145
+ family: "deepseek",
146
+ releasedAt: new Date("2025-09-29"),
147
+ providers: [
148
+ {
149
+ providerId: "deepseek",
150
+ modelName: "deepseek-chat",
151
+ inputPrice: 0.28 / 1e6,
152
+ outputPrice: 0.42 / 1e6,
153
+ cachedInputPrice: 0.028 / 1e6,
154
+ requestPrice: 0,
155
+ contextSize: 163840,
156
+ maxOutput: undefined,
157
+ jsonOutput: true,
158
+ streaming: true,
159
+ vision: true,
160
+ tools: true,
161
+ },
162
+ {
163
+ providerId: "canopywave",
164
+ modelName: "deepseek/deepseek-chat-v3.2",
165
+ test: "skip",
166
+ inputPrice: 0.28 / 1e6,
167
+ outputPrice: 0.42 / 1e6,
168
+ discount: 0.3,
169
+ requestPrice: 0,
170
+ contextSize: 128000,
171
+ maxOutput: undefined,
172
+ streaming: true,
173
+ vision: true,
174
+ tools: true,
175
+ jsonOutputSchema: false,
176
+ jsonOutput: true,
177
+ },
178
+ {
179
+ providerId: "bytedance",
180
+ modelName: "deepseek-v3-2-251201",
181
+ inputPrice: 0.28 / 1e6,
182
+ cachedInputPrice: 0.056 / 1e6,
183
+ outputPrice: 0.42 / 1e6,
184
+ requestPrice: 0,
185
+ contextSize: 131072,
186
+ reasoning: true,
187
+ reasoningOutput: "omit",
188
+ maxOutput: 131072,
189
+ streaming: true,
190
+ vision: false,
191
+ tools: true,
192
+ jsonOutput: false,
193
+ },
194
+ ],
195
+ },
196
+ ];
197
+ //# sourceMappingURL=deepseek.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deepseek.js","sourceRoot":"","sources":["../../src/models/deepseek.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC7B;QACC,EAAE,EAAE,aAAa;QACjB,IAAI,EAAE,aAAa;QACnB,WAAW,EACV,qEAAqE;QACtE,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,IAAI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