@llmgateway/models 1.42.0 → 1.43.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/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/models/alibaba.d.ts +423 -58
- package/dist/models/alibaba.js +530 -88
- package/dist/models/alibaba.js.map +1 -1
- package/dist/models/deepseek.d.ts +40 -5
- package/dist/models/deepseek.js +43 -5
- package/dist/models/deepseek.js.map +1 -1
- package/dist/models/google.d.ts +87 -0
- package/dist/models/google.js +89 -0
- package/dist/models/google.js.map +1 -1
- package/dist/models/moonshot.d.ts +51 -0
- package/dist/models/moonshot.js +48 -0
- package/dist/models/moonshot.js.map +1 -1
- package/dist/models/openai.d.ts +88 -0
- package/dist/models/openai.js +92 -0
- package/dist/models/openai.js.map +1 -1
- package/dist/models/zai.d.ts +87 -0
- package/dist/models/zai.js +93 -0
- package/dist/models/zai.js.map +1 -1
- package/dist/models.d.ts +790 -63
- package/dist/models.js.map +1 -1
- package/dist/provider.d.ts +2 -0
- package/dist/provider.js +23 -0
- package/dist/provider.js.map +1 -1
- package/dist/providers.d.ts +51 -0
- package/dist/providers.js +37 -0
- package/dist/providers.js.map +1 -1
- package/dist/region-helpers.d.ts +4 -0
- package/dist/region-helpers.js +23 -0
- package/dist/region-helpers.js.map +1 -0
- package/dist/types.d.ts +4 -0
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/models/alibaba.js
CHANGED
|
@@ -13,9 +13,17 @@ export const alibabaModels = [
|
|
|
13
13
|
discount: 0.2,
|
|
14
14
|
inputPrice: 1.6 / 1e6,
|
|
15
15
|
outputPrice: 6.4 / 1e6,
|
|
16
|
+
regions: [
|
|
17
|
+
{ id: "singapore" },
|
|
18
|
+
{
|
|
19
|
+
id: "cn-beijing",
|
|
20
|
+
inputPrice: 0.345 / 1e6,
|
|
21
|
+
outputPrice: 1.377 / 1e6,
|
|
22
|
+
},
|
|
23
|
+
],
|
|
16
24
|
requestPrice: 0,
|
|
17
|
-
contextSize:
|
|
18
|
-
maxOutput:
|
|
25
|
+
contextSize: 32768,
|
|
26
|
+
maxOutput: 8192,
|
|
19
27
|
streaming: true,
|
|
20
28
|
vision: true,
|
|
21
29
|
tools: true,
|
|
@@ -37,9 +45,18 @@ export const alibabaModels = [
|
|
|
37
45
|
discount: 0.2,
|
|
38
46
|
inputPrice: 1.6 / 1e6,
|
|
39
47
|
outputPrice: 6.4 / 1e6,
|
|
48
|
+
regions: [
|
|
49
|
+
{ id: "singapore" },
|
|
50
|
+
{
|
|
51
|
+
id: "cn-beijing",
|
|
52
|
+
inputPrice: 0.345 / 1e6,
|
|
53
|
+
outputPrice: 1.377 / 1e6,
|
|
54
|
+
contextSize: 131072,
|
|
55
|
+
},
|
|
56
|
+
],
|
|
40
57
|
requestPrice: 0,
|
|
41
|
-
contextSize:
|
|
42
|
-
maxOutput:
|
|
58
|
+
contextSize: 32768,
|
|
59
|
+
maxOutput: 8192,
|
|
43
60
|
streaming: true,
|
|
44
61
|
vision: true,
|
|
45
62
|
tools: true,
|
|
@@ -77,6 +94,60 @@ export const alibabaModels = [
|
|
|
77
94
|
cachedInputPrice: 0.24 / 1e6,
|
|
78
95
|
},
|
|
79
96
|
],
|
|
97
|
+
regions: [
|
|
98
|
+
{ id: "singapore" },
|
|
99
|
+
{
|
|
100
|
+
id: "us-virginia",
|
|
101
|
+
inputPrice: 0.115 / 1e6,
|
|
102
|
+
outputPrice: 0.287 / 1e6,
|
|
103
|
+
cachedInputPrice: 0.023 / 1e6,
|
|
104
|
+
pricingTiers: [
|
|
105
|
+
{
|
|
106
|
+
name: "Up to 256K",
|
|
107
|
+
upToTokens: 256000,
|
|
108
|
+
inputPrice: 0.115 / 1e6,
|
|
109
|
+
outputPrice: 0.287 / 1e6,
|
|
110
|
+
cachedInputPrice: 0.023 / 1e6,
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: "Over 256K",
|
|
114
|
+
upToTokens: Infinity,
|
|
115
|
+
inputPrice: 0.345 / 1e6,
|
|
116
|
+
outputPrice: 0.861 / 1e6,
|
|
117
|
+
cachedInputPrice: 0.069 / 1e6,
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
id: "cn-beijing",
|
|
123
|
+
inputPrice: 0.115 / 1e6,
|
|
124
|
+
outputPrice: 0.287 / 1e6,
|
|
125
|
+
cachedInputPrice: 0.023 / 1e6,
|
|
126
|
+
pricingTiers: [
|
|
127
|
+
{
|
|
128
|
+
name: "Up to 128K",
|
|
129
|
+
upToTokens: 128000,
|
|
130
|
+
inputPrice: 0.115 / 1e6,
|
|
131
|
+
outputPrice: 0.287 / 1e6,
|
|
132
|
+
cachedInputPrice: 0.023 / 1e6,
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: "128K-256K",
|
|
136
|
+
upToTokens: 256000,
|
|
137
|
+
inputPrice: 0.345 / 1e6,
|
|
138
|
+
outputPrice: 2.868 / 1e6,
|
|
139
|
+
cachedInputPrice: 0.069 / 1e6,
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: "256K-1M",
|
|
143
|
+
upToTokens: 1000000,
|
|
144
|
+
inputPrice: 0.689 / 1e6,
|
|
145
|
+
outputPrice: 6.881 / 1e6,
|
|
146
|
+
cachedInputPrice: 0.138 / 1e6,
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
},
|
|
150
|
+
],
|
|
80
151
|
requestPrice: 0,
|
|
81
152
|
contextSize: 131072,
|
|
82
153
|
maxOutput: 32000,
|
|
@@ -117,6 +188,38 @@ export const alibabaModels = [
|
|
|
117
188
|
cachedInputPrice: 0.24 / 1e6,
|
|
118
189
|
},
|
|
119
190
|
],
|
|
191
|
+
regions: [
|
|
192
|
+
{ id: "singapore" },
|
|
193
|
+
{
|
|
194
|
+
id: "cn-beijing",
|
|
195
|
+
inputPrice: 0.115 / 1e6,
|
|
196
|
+
outputPrice: 0.287 / 1e6,
|
|
197
|
+
cachedInputPrice: 0.023 / 1e6,
|
|
198
|
+
pricingTiers: [
|
|
199
|
+
{
|
|
200
|
+
name: "Up to 128K",
|
|
201
|
+
upToTokens: 128000,
|
|
202
|
+
inputPrice: 0.115 / 1e6,
|
|
203
|
+
outputPrice: 0.287 / 1e6,
|
|
204
|
+
cachedInputPrice: 0.023 / 1e6,
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: "128K-256K",
|
|
208
|
+
upToTokens: 256000,
|
|
209
|
+
inputPrice: 0.345 / 1e6,
|
|
210
|
+
outputPrice: 2.868 / 1e6,
|
|
211
|
+
cachedInputPrice: 0.069 / 1e6,
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
name: "256K-1M",
|
|
215
|
+
upToTokens: 1000000,
|
|
216
|
+
inputPrice: 0.689 / 1e6,
|
|
217
|
+
outputPrice: 6.881 / 1e6,
|
|
218
|
+
cachedInputPrice: 0.138 / 1e6,
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
],
|
|
120
223
|
requestPrice: 0,
|
|
121
224
|
contextSize: 1000000,
|
|
122
225
|
maxOutput: 32000,
|
|
@@ -141,20 +244,54 @@ export const alibabaModels = [
|
|
|
141
244
|
inputPrice: 0.05 / 1e6,
|
|
142
245
|
outputPrice: 0.4 / 1e6,
|
|
143
246
|
cachedInputPrice: 0.01 / 1e6,
|
|
144
|
-
|
|
247
|
+
regions: [
|
|
145
248
|
{
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
249
|
+
id: "singapore",
|
|
250
|
+
pricingTiers: [
|
|
251
|
+
{
|
|
252
|
+
name: "Up to 256K",
|
|
253
|
+
upToTokens: 256000,
|
|
254
|
+
inputPrice: 0.05 / 1e6,
|
|
255
|
+
outputPrice: 0.4 / 1e6,
|
|
256
|
+
cachedInputPrice: 0.01 / 1e6,
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
name: "Over 256K",
|
|
260
|
+
upToTokens: Infinity,
|
|
261
|
+
inputPrice: 0.25 / 1e6,
|
|
262
|
+
outputPrice: 2.0 / 1e6,
|
|
263
|
+
cachedInputPrice: 0.05 / 1e6,
|
|
264
|
+
},
|
|
265
|
+
],
|
|
151
266
|
},
|
|
152
267
|
{
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
268
|
+
id: "cn-beijing",
|
|
269
|
+
inputPrice: 0.022 / 1e6,
|
|
270
|
+
outputPrice: 0.216 / 1e6,
|
|
271
|
+
cachedInputPrice: 0.0044 / 1e6,
|
|
272
|
+
pricingTiers: [
|
|
273
|
+
{
|
|
274
|
+
name: "Up to 128K",
|
|
275
|
+
upToTokens: 128000,
|
|
276
|
+
inputPrice: 0.022 / 1e6,
|
|
277
|
+
outputPrice: 0.216 / 1e6,
|
|
278
|
+
cachedInputPrice: 0.0044 / 1e6,
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
name: "128K-256K",
|
|
282
|
+
upToTokens: 256000,
|
|
283
|
+
inputPrice: 0.087 / 1e6,
|
|
284
|
+
outputPrice: 0.861 / 1e6,
|
|
285
|
+
cachedInputPrice: 0.017 / 1e6,
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
name: "256K-1M",
|
|
289
|
+
upToTokens: 1000000,
|
|
290
|
+
inputPrice: 0.173 / 1e6,
|
|
291
|
+
outputPrice: 1.721 / 1e6,
|
|
292
|
+
cachedInputPrice: 0.035 / 1e6,
|
|
293
|
+
},
|
|
294
|
+
],
|
|
158
295
|
},
|
|
159
296
|
],
|
|
160
297
|
requestPrice: 0,
|
|
@@ -203,6 +340,14 @@ export const alibabaModels = [
|
|
|
203
340
|
discount: 0.2,
|
|
204
341
|
inputPrice: 0.05 / 1e6,
|
|
205
342
|
outputPrice: 0.2 / 1e6,
|
|
343
|
+
regions: [
|
|
344
|
+
{ id: "singapore" },
|
|
345
|
+
{
|
|
346
|
+
id: "cn-beijing",
|
|
347
|
+
inputPrice: 0.044 / 1e6,
|
|
348
|
+
outputPrice: 0.087 / 1e6,
|
|
349
|
+
},
|
|
350
|
+
],
|
|
206
351
|
requestPrice: 0,
|
|
207
352
|
contextSize: 1000000,
|
|
208
353
|
maxOutput: 8192,
|
|
@@ -1097,6 +1242,28 @@ export const alibabaModels = [
|
|
|
1097
1242
|
discount: 0.2,
|
|
1098
1243
|
inputPrice: 0.6 / 1e6,
|
|
1099
1244
|
outputPrice: 3.6 / 1e6,
|
|
1245
|
+
regions: [
|
|
1246
|
+
{ id: "singapore" },
|
|
1247
|
+
{
|
|
1248
|
+
id: "cn-beijing",
|
|
1249
|
+
inputPrice: 0.172 / 1e6,
|
|
1250
|
+
outputPrice: 1.032 / 1e6,
|
|
1251
|
+
pricingTiers: [
|
|
1252
|
+
{
|
|
1253
|
+
name: "Up to 128K",
|
|
1254
|
+
upToTokens: 128000,
|
|
1255
|
+
inputPrice: 0.172 / 1e6,
|
|
1256
|
+
outputPrice: 1.032 / 1e6,
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
name: "128K-256K",
|
|
1260
|
+
upToTokens: 256000,
|
|
1261
|
+
inputPrice: 0.43 / 1e6,
|
|
1262
|
+
outputPrice: 2.58 / 1e6,
|
|
1263
|
+
},
|
|
1264
|
+
],
|
|
1265
|
+
},
|
|
1266
|
+
],
|
|
1100
1267
|
requestPrice: 0,
|
|
1101
1268
|
contextSize: 262144,
|
|
1102
1269
|
maxOutput: 65536,
|
|
@@ -1239,6 +1406,14 @@ export const alibabaModels = [
|
|
|
1239
1406
|
discount: 0.2,
|
|
1240
1407
|
inputPrice: 0.8 / 1e6,
|
|
1241
1408
|
outputPrice: 2.4 / 1e6,
|
|
1409
|
+
regions: [
|
|
1410
|
+
{ id: "singapore" },
|
|
1411
|
+
{
|
|
1412
|
+
id: "cn-beijing",
|
|
1413
|
+
inputPrice: 0.23 / 1e6,
|
|
1414
|
+
outputPrice: 0.574 / 1e6,
|
|
1415
|
+
},
|
|
1416
|
+
],
|
|
1242
1417
|
requestPrice: 0,
|
|
1243
1418
|
contextSize: 131072,
|
|
1244
1419
|
maxOutput: 8192,
|
|
@@ -1263,8 +1438,9 @@ export const alibabaModels = [
|
|
|
1263
1438
|
providerId: "alibaba",
|
|
1264
1439
|
modelName: "qwen-coder-plus",
|
|
1265
1440
|
discount: 0.2,
|
|
1266
|
-
inputPrice:
|
|
1267
|
-
outputPrice:
|
|
1441
|
+
inputPrice: 0.502 / 1e6,
|
|
1442
|
+
outputPrice: 1.004 / 1e6,
|
|
1443
|
+
regions: [{ id: "cn-beijing" }],
|
|
1268
1444
|
requestPrice: 0,
|
|
1269
1445
|
contextSize: 131072,
|
|
1270
1446
|
maxOutput: 8192,
|
|
@@ -1289,34 +1465,111 @@ export const alibabaModels = [
|
|
|
1289
1465
|
inputPrice: 0.3 / 1e6,
|
|
1290
1466
|
outputPrice: 1.5 / 1e6,
|
|
1291
1467
|
cachedInputPrice: 0.06 / 1e6,
|
|
1292
|
-
|
|
1468
|
+
regions: [
|
|
1293
1469
|
{
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1470
|
+
id: "singapore",
|
|
1471
|
+
pricingTiers: [
|
|
1472
|
+
{
|
|
1473
|
+
name: "Up to 32K",
|
|
1474
|
+
upToTokens: 32000,
|
|
1475
|
+
inputPrice: 0.3 / 1e6,
|
|
1476
|
+
outputPrice: 1.5 / 1e6,
|
|
1477
|
+
cachedInputPrice: 0.06 / 1e6,
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
name: "32K-128K",
|
|
1481
|
+
upToTokens: 128000,
|
|
1482
|
+
inputPrice: 0.5 / 1e6,
|
|
1483
|
+
outputPrice: 2.5 / 1e6,
|
|
1484
|
+
cachedInputPrice: 0.1 / 1e6,
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
name: "128K-256K",
|
|
1488
|
+
upToTokens: 256000,
|
|
1489
|
+
inputPrice: 0.8 / 1e6,
|
|
1490
|
+
outputPrice: 4.0 / 1e6,
|
|
1491
|
+
cachedInputPrice: 0.16 / 1e6,
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
name: "Over 256K",
|
|
1495
|
+
upToTokens: Infinity,
|
|
1496
|
+
inputPrice: 1.6 / 1e6,
|
|
1497
|
+
outputPrice: 9.6 / 1e6,
|
|
1498
|
+
cachedInputPrice: 0.32 / 1e6,
|
|
1499
|
+
},
|
|
1500
|
+
],
|
|
1299
1501
|
},
|
|
1300
1502
|
{
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1503
|
+
id: "us-virginia",
|
|
1504
|
+
inputPrice: 0.144 / 1e6,
|
|
1505
|
+
outputPrice: 0.574 / 1e6,
|
|
1506
|
+
cachedInputPrice: 0.029 / 1e6,
|
|
1507
|
+
pricingTiers: [
|
|
1508
|
+
{
|
|
1509
|
+
name: "Up to 32K",
|
|
1510
|
+
upToTokens: 32000,
|
|
1511
|
+
inputPrice: 0.144 / 1e6,
|
|
1512
|
+
outputPrice: 0.574 / 1e6,
|
|
1513
|
+
cachedInputPrice: 0.029 / 1e6,
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
name: "32K-128K",
|
|
1517
|
+
upToTokens: 128000,
|
|
1518
|
+
inputPrice: 0.24 / 1e6,
|
|
1519
|
+
outputPrice: 0.957 / 1e6,
|
|
1520
|
+
cachedInputPrice: 0.048 / 1e6,
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
name: "128K-256K",
|
|
1524
|
+
upToTokens: 256000,
|
|
1525
|
+
inputPrice: 0.384 / 1e6,
|
|
1526
|
+
outputPrice: 1.53 / 1e6,
|
|
1527
|
+
cachedInputPrice: 0.077 / 1e6,
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
name: "Over 256K",
|
|
1531
|
+
upToTokens: Infinity,
|
|
1532
|
+
inputPrice: 0.768 / 1e6,
|
|
1533
|
+
outputPrice: 3.67 / 1e6,
|
|
1534
|
+
cachedInputPrice: 0.154 / 1e6,
|
|
1535
|
+
},
|
|
1536
|
+
],
|
|
1306
1537
|
},
|
|
1307
1538
|
{
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1539
|
+
id: "cn-beijing",
|
|
1540
|
+
inputPrice: 0.144 / 1e6,
|
|
1541
|
+
outputPrice: 0.574 / 1e6,
|
|
1542
|
+
cachedInputPrice: 0.029 / 1e6,
|
|
1543
|
+
pricingTiers: [
|
|
1544
|
+
{
|
|
1545
|
+
name: "Up to 32K",
|
|
1546
|
+
upToTokens: 32000,
|
|
1547
|
+
inputPrice: 0.144 / 1e6,
|
|
1548
|
+
outputPrice: 0.574 / 1e6,
|
|
1549
|
+
cachedInputPrice: 0.029 / 1e6,
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
name: "32K-128K",
|
|
1553
|
+
upToTokens: 128000,
|
|
1554
|
+
inputPrice: 0.216 / 1e6,
|
|
1555
|
+
outputPrice: 0.861 / 1e6,
|
|
1556
|
+
cachedInputPrice: 0.043 / 1e6,
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
name: "128K-256K",
|
|
1560
|
+
upToTokens: 256000,
|
|
1561
|
+
inputPrice: 0.359 / 1e6,
|
|
1562
|
+
outputPrice: 1.434 / 1e6,
|
|
1563
|
+
cachedInputPrice: 0.072 / 1e6,
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
name: "256K-1M",
|
|
1567
|
+
upToTokens: 1000000,
|
|
1568
|
+
inputPrice: 0.717 / 1e6,
|
|
1569
|
+
outputPrice: 3.584 / 1e6,
|
|
1570
|
+
cachedInputPrice: 0.143 / 1e6,
|
|
1571
|
+
},
|
|
1572
|
+
],
|
|
1320
1573
|
},
|
|
1321
1574
|
],
|
|
1322
1575
|
requestPrice: 0,
|
|
@@ -1343,27 +1596,90 @@ export const alibabaModels = [
|
|
|
1343
1596
|
inputPrice: 0.2 / 1e6,
|
|
1344
1597
|
outputPrice: 1.6 / 1e6,
|
|
1345
1598
|
cachedInputPrice: 0.04 / 1e6,
|
|
1346
|
-
|
|
1599
|
+
regions: [
|
|
1347
1600
|
{
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1601
|
+
id: "singapore",
|
|
1602
|
+
pricingTiers: [
|
|
1603
|
+
{
|
|
1604
|
+
name: "Up to 32K",
|
|
1605
|
+
upToTokens: 32000,
|
|
1606
|
+
inputPrice: 0.2 / 1e6,
|
|
1607
|
+
outputPrice: 1.6 / 1e6,
|
|
1608
|
+
cachedInputPrice: 0.04 / 1e6,
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
name: "32K-128K",
|
|
1612
|
+
upToTokens: 128000,
|
|
1613
|
+
inputPrice: 0.3 / 1e6,
|
|
1614
|
+
outputPrice: 2.4 / 1e6,
|
|
1615
|
+
cachedInputPrice: 0.06 / 1e6,
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
name: "128K-256K",
|
|
1619
|
+
upToTokens: 256000,
|
|
1620
|
+
inputPrice: 0.6 / 1e6,
|
|
1621
|
+
outputPrice: 4.8 / 1e6,
|
|
1622
|
+
cachedInputPrice: 0.12 / 1e6,
|
|
1623
|
+
},
|
|
1624
|
+
],
|
|
1353
1625
|
},
|
|
1354
1626
|
{
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1627
|
+
id: "us-virginia",
|
|
1628
|
+
inputPrice: 0.143 / 1e6,
|
|
1629
|
+
outputPrice: 1.434 / 1e6,
|
|
1630
|
+
cachedInputPrice: 0.029 / 1e6,
|
|
1631
|
+
pricingTiers: [
|
|
1632
|
+
{
|
|
1633
|
+
name: "Up to 32K",
|
|
1634
|
+
upToTokens: 32000,
|
|
1635
|
+
inputPrice: 0.143 / 1e6,
|
|
1636
|
+
outputPrice: 1.434 / 1e6,
|
|
1637
|
+
cachedInputPrice: 0.029 / 1e6,
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
name: "32K-128K",
|
|
1641
|
+
upToTokens: 128000,
|
|
1642
|
+
inputPrice: 0.215 / 1e6,
|
|
1643
|
+
outputPrice: 2.151 / 1e6,
|
|
1644
|
+
cachedInputPrice: 0.043 / 1e6,
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
name: "Over 128K",
|
|
1648
|
+
upToTokens: Infinity,
|
|
1649
|
+
inputPrice: 0.429 / 1e6,
|
|
1650
|
+
outputPrice: 4.302 / 1e6,
|
|
1651
|
+
cachedInputPrice: 0.086 / 1e6,
|
|
1652
|
+
},
|
|
1653
|
+
],
|
|
1360
1654
|
},
|
|
1361
1655
|
{
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1656
|
+
id: "cn-beijing",
|
|
1657
|
+
inputPrice: 0.143 / 1e6,
|
|
1658
|
+
outputPrice: 1.434 / 1e6,
|
|
1659
|
+
cachedInputPrice: 0.029 / 1e6,
|
|
1660
|
+
pricingTiers: [
|
|
1661
|
+
{
|
|
1662
|
+
name: "Up to 32K",
|
|
1663
|
+
upToTokens: 32000,
|
|
1664
|
+
inputPrice: 0.143 / 1e6,
|
|
1665
|
+
outputPrice: 1.434 / 1e6,
|
|
1666
|
+
cachedInputPrice: 0.029 / 1e6,
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
name: "32K-128K",
|
|
1670
|
+
upToTokens: 128000,
|
|
1671
|
+
inputPrice: 0.215 / 1e6,
|
|
1672
|
+
outputPrice: 2.15 / 1e6,
|
|
1673
|
+
cachedInputPrice: 0.043 / 1e6,
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
name: "128K-256K",
|
|
1677
|
+
upToTokens: 256000,
|
|
1678
|
+
inputPrice: 0.43 / 1e6,
|
|
1679
|
+
outputPrice: 4.301 / 1e6,
|
|
1680
|
+
cachedInputPrice: 0.086 / 1e6,
|
|
1681
|
+
},
|
|
1682
|
+
],
|
|
1367
1683
|
},
|
|
1368
1684
|
],
|
|
1369
1685
|
requestPrice: 0,
|
|
@@ -1390,27 +1706,90 @@ export const alibabaModels = [
|
|
|
1390
1706
|
inputPrice: 0.05 / 1e6,
|
|
1391
1707
|
outputPrice: 0.4 / 1e6,
|
|
1392
1708
|
cachedInputPrice: 0.01 / 1e6,
|
|
1393
|
-
|
|
1709
|
+
regions: [
|
|
1394
1710
|
{
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1711
|
+
id: "singapore",
|
|
1712
|
+
pricingTiers: [
|
|
1713
|
+
{
|
|
1714
|
+
name: "Up to 32K",
|
|
1715
|
+
upToTokens: 32000,
|
|
1716
|
+
inputPrice: 0.05 / 1e6,
|
|
1717
|
+
outputPrice: 0.4 / 1e6,
|
|
1718
|
+
cachedInputPrice: 0.01 / 1e6,
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
name: "32K-128K",
|
|
1722
|
+
upToTokens: 128000,
|
|
1723
|
+
inputPrice: 0.075 / 1e6,
|
|
1724
|
+
outputPrice: 0.6 / 1e6,
|
|
1725
|
+
cachedInputPrice: 0.015 / 1e6,
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
name: "128K-256K",
|
|
1729
|
+
upToTokens: 256000,
|
|
1730
|
+
inputPrice: 0.12 / 1e6,
|
|
1731
|
+
outputPrice: 0.96 / 1e6,
|
|
1732
|
+
cachedInputPrice: 0.024 / 1e6,
|
|
1733
|
+
},
|
|
1734
|
+
],
|
|
1400
1735
|
},
|
|
1401
1736
|
{
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1737
|
+
id: "us-virginia",
|
|
1738
|
+
inputPrice: 0.022 / 1e6,
|
|
1739
|
+
outputPrice: 0.215 / 1e6,
|
|
1740
|
+
cachedInputPrice: 0.0044 / 1e6,
|
|
1741
|
+
pricingTiers: [
|
|
1742
|
+
{
|
|
1743
|
+
name: "Up to 32K",
|
|
1744
|
+
upToTokens: 32000,
|
|
1745
|
+
inputPrice: 0.022 / 1e6,
|
|
1746
|
+
outputPrice: 0.215 / 1e6,
|
|
1747
|
+
cachedInputPrice: 0.0044 / 1e6,
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
name: "32K-128K",
|
|
1751
|
+
upToTokens: 128000,
|
|
1752
|
+
inputPrice: 0.033 / 1e6,
|
|
1753
|
+
outputPrice: 0.323 / 1e6,
|
|
1754
|
+
cachedInputPrice: 0.0066 / 1e6,
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
name: "Over 128K",
|
|
1758
|
+
upToTokens: Infinity,
|
|
1759
|
+
inputPrice: 0.053 / 1e6,
|
|
1760
|
+
outputPrice: 0.516 / 1e6,
|
|
1761
|
+
cachedInputPrice: 0.0106 / 1e6,
|
|
1762
|
+
},
|
|
1763
|
+
],
|
|
1407
1764
|
},
|
|
1408
1765
|
{
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1766
|
+
id: "cn-beijing",
|
|
1767
|
+
inputPrice: 0.022 / 1e6,
|
|
1768
|
+
outputPrice: 0.215 / 1e6,
|
|
1769
|
+
cachedInputPrice: 0.0044 / 1e6,
|
|
1770
|
+
pricingTiers: [
|
|
1771
|
+
{
|
|
1772
|
+
name: "Up to 32K",
|
|
1773
|
+
upToTokens: 32000,
|
|
1774
|
+
inputPrice: 0.022 / 1e6,
|
|
1775
|
+
outputPrice: 0.215 / 1e6,
|
|
1776
|
+
cachedInputPrice: 0.0044 / 1e6,
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
name: "32K-128K",
|
|
1780
|
+
upToTokens: 128000,
|
|
1781
|
+
inputPrice: 0.043 / 1e6,
|
|
1782
|
+
outputPrice: 0.43 / 1e6,
|
|
1783
|
+
cachedInputPrice: 0.0086 / 1e6,
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
name: "128K-256K",
|
|
1787
|
+
upToTokens: 256000,
|
|
1788
|
+
inputPrice: 0.086 / 1e6,
|
|
1789
|
+
outputPrice: 0.859 / 1e6,
|
|
1790
|
+
cachedInputPrice: 0.017 / 1e6,
|
|
1791
|
+
},
|
|
1792
|
+
],
|
|
1414
1793
|
},
|
|
1415
1794
|
],
|
|
1416
1795
|
requestPrice: 0,
|
|
@@ -1537,27 +1916,90 @@ export const alibabaModels = [
|
|
|
1537
1916
|
inputPrice: 1.2 / 1e6,
|
|
1538
1917
|
outputPrice: 6.0 / 1e6,
|
|
1539
1918
|
cachedInputPrice: 0.24 / 1e6,
|
|
1540
|
-
|
|
1919
|
+
regions: [
|
|
1541
1920
|
{
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1921
|
+
id: "singapore",
|
|
1922
|
+
pricingTiers: [
|
|
1923
|
+
{
|
|
1924
|
+
name: "Up to 32K",
|
|
1925
|
+
upToTokens: 32000,
|
|
1926
|
+
inputPrice: 1.2 / 1e6,
|
|
1927
|
+
outputPrice: 6.0 / 1e6,
|
|
1928
|
+
cachedInputPrice: 0.24 / 1e6,
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
name: "32K-128K",
|
|
1932
|
+
upToTokens: 128000,
|
|
1933
|
+
inputPrice: 2.4 / 1e6,
|
|
1934
|
+
outputPrice: 12.0 / 1e6,
|
|
1935
|
+
cachedInputPrice: 0.48 / 1e6,
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
name: "128K-252K",
|
|
1939
|
+
upToTokens: 252000,
|
|
1940
|
+
inputPrice: 3.0 / 1e6,
|
|
1941
|
+
outputPrice: 15.0 / 1e6,
|
|
1942
|
+
cachedInputPrice: 0.6 / 1e6,
|
|
1943
|
+
},
|
|
1944
|
+
],
|
|
1547
1945
|
},
|
|
1548
1946
|
{
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1947
|
+
id: "us-virginia",
|
|
1948
|
+
inputPrice: 0.359 / 1e6,
|
|
1949
|
+
outputPrice: 1.434 / 1e6,
|
|
1950
|
+
cachedInputPrice: 0.072 / 1e6,
|
|
1951
|
+
pricingTiers: [
|
|
1952
|
+
{
|
|
1953
|
+
name: "Up to 32K",
|
|
1954
|
+
upToTokens: 32000,
|
|
1955
|
+
inputPrice: 0.359 / 1e6,
|
|
1956
|
+
outputPrice: 1.434 / 1e6,
|
|
1957
|
+
cachedInputPrice: 0.072 / 1e6,
|
|
1958
|
+
},
|
|
1959
|
+
{
|
|
1960
|
+
name: "32K-128K",
|
|
1961
|
+
upToTokens: 128000,
|
|
1962
|
+
inputPrice: 0.718 / 1e6,
|
|
1963
|
+
outputPrice: 2.868 / 1e6,
|
|
1964
|
+
cachedInputPrice: 0.144 / 1e6,
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
name: "Over 128K",
|
|
1968
|
+
upToTokens: Infinity,
|
|
1969
|
+
inputPrice: 0.898 / 1e6,
|
|
1970
|
+
outputPrice: 3.585 / 1e6,
|
|
1971
|
+
cachedInputPrice: 0.18 / 1e6,
|
|
1972
|
+
},
|
|
1973
|
+
],
|
|
1554
1974
|
},
|
|
1555
1975
|
{
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1976
|
+
id: "cn-beijing",
|
|
1977
|
+
inputPrice: 0.359 / 1e6,
|
|
1978
|
+
outputPrice: 1.434 / 1e6,
|
|
1979
|
+
cachedInputPrice: 0.072 / 1e6,
|
|
1980
|
+
pricingTiers: [
|
|
1981
|
+
{
|
|
1982
|
+
name: "Up to 32K",
|
|
1983
|
+
upToTokens: 32000,
|
|
1984
|
+
inputPrice: 0.359 / 1e6,
|
|
1985
|
+
outputPrice: 1.434 / 1e6,
|
|
1986
|
+
cachedInputPrice: 0.072 / 1e6,
|
|
1987
|
+
},
|
|
1988
|
+
{
|
|
1989
|
+
name: "32K-128K",
|
|
1990
|
+
upToTokens: 128000,
|
|
1991
|
+
inputPrice: 0.574 / 1e6,
|
|
1992
|
+
outputPrice: 2.294 / 1e6,
|
|
1993
|
+
cachedInputPrice: 0.115 / 1e6,
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
name: "128K-252K",
|
|
1997
|
+
upToTokens: 252000,
|
|
1998
|
+
inputPrice: 1.004 / 1e6,
|
|
1999
|
+
outputPrice: 4.014 / 1e6,
|
|
2000
|
+
cachedInputPrice: 0.201 / 1e6,
|
|
2001
|
+
},
|
|
2002
|
+
],
|
|
1561
2003
|
},
|
|
1562
2004
|
],
|
|
1563
2005
|
requestPrice: 0,
|