-
Notifications
You must be signed in to change notification settings - Fork 157
Expand file tree
/
Copy pathbytedance.ts
More file actions
294 lines (293 loc) · 7.16 KB
/
Copy pathbytedance.ts
File metadata and controls
294 lines (293 loc) · 7.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
import type { ModelDefinition } from "@/models.js";
export const bytedanceModels = [
{
id: "seed-1-6-250615",
name: "Seed 1.6 (250615)",
description:
"ByteDance Seed 1.6 vision model with thinking/non-thinking modes, multimodal inputs, and 256K context window",
family: "bytedance",
releasedAt: new Date("2025-06-25"),
providers: [
{
providerId: "bytedance",
externalId: "seed-1-6-250615",
inputPrice: "0.25e-6",
outputPrice: "2e-6",
cachedInputPrice: "0.05e-6",
requestPrice: "0",
contextSize: 256000,
maxOutput: undefined,
streaming: true,
reasoning: true,
vision: true,
tools: true,
jsonOutput: true,
},
],
},
{
id: "seed-1-6-250915",
name: "Seed 1.6 (250915)",
description:
"ByteDance Seed 1.6 vision model released September 15, 2025 with thinking/non-thinking modes and multimodal inputs",
family: "bytedance",
releasedAt: new Date("2025-09-15"),
providers: [
{
providerId: "bytedance",
externalId: "seed-1-6-250915",
inputPrice: "0.25e-6",
cachedInputPrice: "0.05e-6",
outputPrice: "2e-6",
requestPrice: "0",
contextSize: 256000,
maxOutput: undefined,
streaming: true,
reasoning: true,
vision: true,
tools: true,
jsonOutput: true,
},
],
},
{
id: "seed-1-6-flash-250715",
name: "Seed 1.6 Flash (250715)",
description:
"ByteDance Seed 1.6 Flash - faster, cost-effective vision model released July 15, 2025",
family: "bytedance",
releasedAt: new Date("2025-07-26"),
providers: [
{
providerId: "bytedance",
externalId: "seed-1-6-flash-250715",
inputPrice: "0.07e-6",
cachedInputPrice: "0.015e-6",
outputPrice: "0.3e-6",
requestPrice: "0",
contextSize: 256000,
maxOutput: undefined,
streaming: true,
reasoning: true,
vision: true,
tools: true,
jsonOutput: true,
},
],
},
{
id: "seed-1-8-251228",
name: "Seed 1.8 (251228)",
description:
"ByteDance Seed 1.8 advanced vision model released December 28, 2025 with enhanced capabilities",
family: "bytedance",
releasedAt: new Date("2025-12-18"),
providers: [
{
providerId: "bytedance",
externalId: "seed-1-8-251228",
inputPrice: "0.25e-6",
cachedInputPrice: "0.05e-6",
outputPrice: "2e-6",
requestPrice: "0",
contextSize: 256000,
maxOutput: undefined,
streaming: true,
reasoning: true,
vision: true,
tools: true,
jsonOutput: true,
},
],
},
{
id: "seedream-4-0",
name: "Seedream 4.0",
description:
"ByteDance Seedream 4.0 text-to-image generation model with high-quality visual output",
family: "bytedance",
output: ["text", "image"],
releasedAt: new Date("2025-09-16"),
providers: [
{
test: "skip",
providerId: "bytedance",
externalId: "seedream-4-0-250828",
inputPrice: "0",
outputPrice: "0",
requestPrice: "0.035",
contextSize: 2000,
maxOutput: 4096,
streaming: false,
vision: false,
tools: false,
jsonOutput: false,
imageGenerations: true,
},
],
},
{
id: "seedance-2-0",
name: "Seedance 2.0",
description:
"ByteDance Seedance 2.0 high-quality video generation model with text-to-video and image-to-video support",
family: "bytedance",
output: ["video"],
releasedAt: new Date("2026-04-14"),
providers: [
{
test: "skip",
providerId: "bytedance",
externalId: "dreamina-seedance-2-0-260128",
inputPrice: undefined,
outputPrice: undefined,
requestPrice: undefined,
perSecondPrice: {
default_audio: "0.1512",
default_video: "0.1512",
"1080p_audio": "0.3402",
"1080p_video": "0.3402",
},
contextSize: 2000,
maxOutput: 1,
streaming: false,
vision: false,
tools: false,
jsonOutput: false,
videoGenerations: true,
supportedVideoSizes: ["1280x720", "720x1280", "1920x1080", "1080x1920"],
supportedVideoDurationsSeconds: [
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
],
supportsVideoAudio: true,
supportsVideoWithoutAudio: true,
},
],
},
{
id: "seedance-2-0-fast",
name: "Seedance 2.0 Fast",
description:
"ByteDance Seedance 2.0 Fast - accelerated video generation model for quicker outputs",
family: "bytedance",
output: ["video"],
releasedAt: new Date("2026-04-14"),
providers: [
{
test: "skip",
providerId: "bytedance",
externalId: "dreamina-seedance-2-0-fast-260128",
inputPrice: undefined,
outputPrice: undefined,
requestPrice: undefined,
perSecondPrice: {
default_audio: "0.121",
default_video: "0.121",
"1080p_audio": "0.2722",
"1080p_video": "0.2722",
},
contextSize: 2000,
maxOutput: 1,
streaming: false,
vision: false,
tools: false,
jsonOutput: false,
videoGenerations: true,
supportedVideoSizes: ["1280x720", "720x1280"],
supportedVideoDurationsSeconds: [
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
],
supportsVideoAudio: true,
supportsVideoWithoutAudio: true,
},
],
},
{
id: "seedance-1-5-pro",
name: "Seedance 1.5 Pro",
description:
"ByteDance Seedance 1.5 Pro - professional video generation model with complex instruction following and native audio",
family: "bytedance",
output: ["video"],
releasedAt: new Date("2026-03-23"),
providers: [
{
test: "skip",
providerId: "bytedance",
externalId: "seedance-1-5-pro-251215",
inputPrice: undefined,
outputPrice: undefined,
requestPrice: undefined,
perSecondPrice: {
default_audio: "0.05184",
default_video: "0.02592",
"1080p_audio": "0.1166",
"1080p_video": "0.05832",
},
contextSize: 2000,
maxOutput: 1,
streaming: false,
vision: false,
tools: false,
jsonOutput: false,
videoGenerations: true,
supportedVideoSizes: ["1280x720", "720x1280", "1920x1080", "1080x1920"],
supportedVideoDurationsSeconds: [5, 10],
supportsVideoAudio: true,
supportsVideoWithoutAudio: true,
},
],
},
{
id: "glm-5-2",
name: "GLM-5.2 (260617)",
description:
"ByteDance-hosted GLM-5.2 flagship text model with tunable reasoning, strong coding, and 1M context for long-horizon tasks",
family: "bytedance",
releasedAt: new Date("2026-06-17"),
providers: [
{
providerId: "bytedance",
externalId: "glm-5-2-260617",
inputPrice: "1.4e-6",
cachedInputPrice: "0.26e-6",
outputPrice: "4.4e-6",
requestPrice: "0",
contextSize: 1024000,
maxOutput: 128000,
streaming: true,
reasoning: true,
vision: false,
tools: true,
jsonOutput: true,
healStreamingJsonOutput: true,
},
],
},
{
id: "seedream-4-5",
name: "Seedream 4.5",
description:
"ByteDance Seedream 4.5 advanced text-to-image generation model with enhanced quality and consistency",
family: "bytedance",
output: ["text", "image"],
releasedAt: new Date("2025-12-03"),
providers: [
{
test: "skip",
providerId: "bytedance",
externalId: "seedream-4-5-251128",
inputPrice: "0",
outputPrice: "0",
requestPrice: "0.045",
contextSize: 2000,
maxOutput: 4096,
streaming: false,
vision: false,
tools: false,
jsonOutput: false,
imageGenerations: true,
},
],
},
] as const satisfies ModelDefinition[];