@lobehub/chat 1.111.1 → 1.111.2

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 (99) hide show
  1. package/.cursor/rules/code-review.mdc +2 -19
  2. package/.cursor/rules/cursor-ux.mdc +0 -72
  3. package/.cursor/rules/project-introduce.mdc +5 -5
  4. package/.cursor/rules/react-component.mdc +92 -73
  5. package/.cursor/rules/rules-attach.mdc +28 -61
  6. package/.cursor/rules/system-role.mdc +8 -20
  7. package/.cursor/rules/typescript.mdc +55 -14
  8. package/CHANGELOG.md +25 -0
  9. package/changelog/v1.json +5 -0
  10. package/package.json +1 -1
  11. package/packages/types/src/aiModel.ts +67 -46
  12. package/packages/types/src/llm.ts +3 -3
  13. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Overview/ProviderList/index.tsx +23 -12
  14. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Details/Overview/ModelList/index.tsx +23 -10
  15. package/src/app/[variants]/(main)/settings/provider/features/ModelList/ModelItem.tsx +21 -12
  16. package/src/config/aiModels/ai21.ts +8 -4
  17. package/src/config/aiModels/ai360.ts +28 -14
  18. package/src/config/aiModels/aihubmix.ts +174 -86
  19. package/src/config/aiModels/anthropic.ts +97 -38
  20. package/src/config/aiModels/azure.ts +54 -32
  21. package/src/config/aiModels/azureai.ts +63 -37
  22. package/src/config/aiModels/baichuan.ts +24 -12
  23. package/src/config/aiModels/bedrock.ts +60 -30
  24. package/src/config/aiModels/cohere.ts +60 -30
  25. package/src/config/aiModels/deepseek.ts +10 -6
  26. package/src/config/aiModels/fireworksai.ts +88 -44
  27. package/src/config/aiModels/giteeai.ts +1 -1
  28. package/src/config/aiModels/github.ts +44 -26
  29. package/src/config/aiModels/google.ts +119 -68
  30. package/src/config/aiModels/groq.ts +48 -24
  31. package/src/config/aiModels/higress.ts +617 -310
  32. package/src/config/aiModels/hunyuan.ts +105 -54
  33. package/src/config/aiModels/infiniai.ts +104 -52
  34. package/src/config/aiModels/internlm.ts +16 -8
  35. package/src/config/aiModels/jina.ts +4 -2
  36. package/src/config/aiModels/minimax.ts +11 -10
  37. package/src/config/aiModels/mistral.ts +40 -20
  38. package/src/config/aiModels/moonshot.ts +42 -22
  39. package/src/config/aiModels/novita.ts +196 -98
  40. package/src/config/aiModels/openai.ts +270 -137
  41. package/src/config/aiModels/openrouter.ts +205 -100
  42. package/src/config/aiModels/perplexity.ts +36 -6
  43. package/src/config/aiModels/ppio.ts +76 -38
  44. package/src/config/aiModels/qwen.ts +257 -133
  45. package/src/config/aiModels/sambanova.ts +56 -28
  46. package/src/config/aiModels/sensenova.ts +100 -50
  47. package/src/config/aiModels/siliconcloud.ts +224 -112
  48. package/src/config/aiModels/stepfun.ts +44 -22
  49. package/src/config/aiModels/taichu.ts +8 -4
  50. package/src/config/aiModels/tencentcloud.ts +12 -6
  51. package/src/config/aiModels/upstage.ts +8 -4
  52. package/src/config/aiModels/v0.ts +15 -12
  53. package/src/config/aiModels/vertexai.ts +49 -27
  54. package/src/config/aiModels/volcengine.ts +110 -51
  55. package/src/config/aiModels/wenxin.ts +179 -73
  56. package/src/config/aiModels/xai.ts +33 -19
  57. package/src/config/aiModels/zeroone.ts +48 -24
  58. package/src/config/aiModels/zhipu.ts +118 -69
  59. package/src/config/modelProviders/ai21.ts +0 -8
  60. package/src/config/modelProviders/ai360.ts +0 -20
  61. package/src/config/modelProviders/anthropic.ts +0 -56
  62. package/src/config/modelProviders/baichuan.ts +0 -30
  63. package/src/config/modelProviders/bedrock.ts +0 -74
  64. package/src/config/modelProviders/deepseek.ts +0 -13
  65. package/src/config/modelProviders/fireworksai.ts +0 -88
  66. package/src/config/modelProviders/google.ts +0 -59
  67. package/src/config/modelProviders/groq.ts +0 -48
  68. package/src/config/modelProviders/higress.ts +0 -727
  69. package/src/config/modelProviders/hunyuan.ts +0 -45
  70. package/src/config/modelProviders/infiniai.ts +0 -60
  71. package/src/config/modelProviders/internlm.ts +0 -8
  72. package/src/config/modelProviders/mistral.ts +0 -48
  73. package/src/config/modelProviders/modelscope.ts +2 -1
  74. package/src/config/modelProviders/openai.ts +5 -100
  75. package/src/config/modelProviders/openrouter.ts +0 -77
  76. package/src/config/modelProviders/ppio.ts +0 -95
  77. package/src/config/modelProviders/qwen.ts +0 -165
  78. package/src/config/modelProviders/sensenova.ts +0 -45
  79. package/src/config/modelProviders/siliconcloud.ts +0 -266
  80. package/src/config/modelProviders/stepfun.ts +0 -60
  81. package/src/config/modelProviders/taichu.ts +0 -10
  82. package/src/config/modelProviders/wenxin.ts +0 -90
  83. package/src/config/modelProviders/xai.ts +0 -16
  84. package/src/config/modelProviders/zeroone.ts +0 -60
  85. package/src/config/modelProviders/zhipu.ts +0 -80
  86. package/src/features/Conversation/Extras/Usage/UsageDetail/ModelCard.tsx +4 -3
  87. package/src/features/Conversation/Extras/Usage/UsageDetail/pricing.ts +25 -15
  88. package/src/features/Conversation/Extras/Usage/UsageDetail/tokens.test.ts +7 -5
  89. package/src/features/Conversation/Extras/Usage/UsageDetail/tokens.ts +6 -5
  90. package/src/libs/model-runtime/utils/openaiCompatibleFactory/index.test.ts +54 -8
  91. package/src/server/routers/lambda/agent.ts +2 -2
  92. package/src/server/routers/lambda/config/__snapshots__/index.test.ts.snap +0 -28
  93. package/src/server/services/discover/index.ts +7 -6
  94. package/src/server/services/user/index.ts +1 -2
  95. package/src/utils/__snapshots__/parseModels.test.ts.snap +28 -4
  96. package/src/utils/_deprecated/__snapshots__/parseModels.test.ts.snap +0 -8
  97. package/src/utils/parseModels.test.ts +60 -9
  98. package/src/utils/pricing.test.ts +183 -0
  99. package/src/utils/pricing.ts +90 -0
@@ -10,11 +10,6 @@ const Higress: ModelProviderCard = {
10
10
  enabled: true,
11
11
  functionCall: true,
12
12
  id: 'qwen-turbo',
13
- pricing: {
14
- currency: 'CNY',
15
- input: 0.3,
16
- output: 0.6,
17
- },
18
13
  },
19
14
  {
20
15
  contextWindowTokens: 131_072,
@@ -23,11 +18,6 @@ const Higress: ModelProviderCard = {
23
18
  enabled: true,
24
19
  functionCall: true,
25
20
  id: 'qwen-plus',
26
- pricing: {
27
- currency: 'CNY',
28
- input: 0.8,
29
- output: 2,
30
- },
31
21
  },
32
22
  {
33
23
  contextWindowTokens: 32_768,
@@ -37,11 +27,6 @@ const Higress: ModelProviderCard = {
37
27
  enabled: true,
38
28
  functionCall: true,
39
29
  id: 'qwen-max',
40
- pricing: {
41
- currency: 'CNY',
42
- input: 20,
43
- output: 60,
44
- },
45
30
  },
46
31
  {
47
32
  contextWindowTokens: 1_000_000,
@@ -49,11 +34,6 @@ const Higress: ModelProviderCard = {
49
34
  '通义千问超大规模语言模型,支持长文本上下文,以及基于长文档、多文档等多个场景的对话功能。',
50
35
  displayName: 'Qwen Long',
51
36
  id: 'qwen-long',
52
- pricing: {
53
- currency: 'CNY',
54
- input: 0.5,
55
- output: 2,
56
- },
57
37
  },
58
38
  //后面几个qwen未知支持
59
39
  {
@@ -63,11 +43,6 @@ const Higress: ModelProviderCard = {
63
43
  displayName: 'Qwen VL Plus',
64
44
  enabled: true,
65
45
  id: 'qwen-vl-plus-latest',
66
- pricing: {
67
- currency: 'CNY',
68
- input: 8,
69
- output: 8,
70
- },
71
46
  vision: true,
72
47
  },
73
48
  {
@@ -77,11 +52,6 @@ const Higress: ModelProviderCard = {
77
52
  displayName: 'Qwen VL Max',
78
53
  enabled: true,
79
54
  id: 'qwen-vl-max-latest',
80
- pricing: {
81
- currency: 'CNY',
82
- input: 20,
83
- output: 20,
84
- },
85
55
  vision: true,
86
56
  },
87
57
  {
@@ -89,33 +59,18 @@ const Higress: ModelProviderCard = {
89
59
  description: '通义千问数学模型是专门用于数学解题的语言模型。',
90
60
  displayName: 'Qwen Math Turbo',
91
61
  id: 'qwen-math-turbo-latest',
92
- pricing: {
93
- currency: 'CNY',
94
- input: 2,
95
- output: 6,
96
- },
97
62
  },
98
63
  {
99
64
  contextWindowTokens: 4096,
100
65
  description: '通义千问数学模型是专门用于数学解题的语言模型。',
101
66
  displayName: 'Qwen Math Plus',
102
67
  id: 'qwen-math-plus-latest',
103
- pricing: {
104
- currency: 'CNY',
105
- input: 4,
106
- output: 12,
107
- },
108
68
  },
109
69
  {
110
70
  contextWindowTokens: 131_072,
111
71
  description: '通义千问代码模型。',
112
72
  displayName: 'Qwen Coder Turbo',
113
73
  id: 'qwen-coder-turbo-latest',
114
- pricing: {
115
- currency: 'CNY',
116
- input: 2,
117
- output: 6,
118
- },
119
74
  },
120
75
  {
121
76
  contextWindowTokens: 131_072,
@@ -123,11 +78,6 @@ const Higress: ModelProviderCard = {
123
78
  displayName: 'Qwen2.5 7B',
124
79
  functionCall: true,
125
80
  id: 'qwen2.5-7b-instruct',
126
- pricing: {
127
- currency: 'CNY',
128
- input: 1,
129
- output: 2,
130
- },
131
81
  },
132
82
  {
133
83
  contextWindowTokens: 131_072,
@@ -135,11 +85,6 @@ const Higress: ModelProviderCard = {
135
85
  displayName: 'Qwen2.5 14B',
136
86
  functionCall: true,
137
87
  id: 'qwen2.5-14b-instruct',
138
- pricing: {
139
- currency: 'CNY',
140
- input: 2,
141
- output: 6,
142
- },
143
88
  },
144
89
  {
145
90
  contextWindowTokens: 131_072,
@@ -147,11 +92,6 @@ const Higress: ModelProviderCard = {
147
92
  displayName: 'Qwen2.5 32B',
148
93
  functionCall: true,
149
94
  id: 'qwen2.5-32b-instruct',
150
- pricing: {
151
- currency: 'CNY',
152
- input: 3.5,
153
- output: 7,
154
- },
155
95
  },
156
96
  {
157
97
  contextWindowTokens: 131_072,
@@ -159,77 +99,42 @@ const Higress: ModelProviderCard = {
159
99
  displayName: 'Qwen2.5 72B',
160
100
  functionCall: true,
161
101
  id: 'qwen2.5-72b-instruct',
162
- pricing: {
163
- currency: 'CNY',
164
- input: 4,
165
- output: 12,
166
- },
167
102
  },
168
103
  {
169
104
  contextWindowTokens: 4096,
170
105
  description: 'Qwen-Math 模型具有强大的数学解题能力。',
171
106
  displayName: 'Qwen2.5 Math 1.5B',
172
107
  id: 'qwen2.5-math-1.5b-instruct',
173
- pricing: {
174
- currency: 'CNY',
175
- input: 0,
176
- output: 0,
177
- },
178
108
  },
179
109
  {
180
110
  contextWindowTokens: 4096,
181
111
  description: 'Qwen-Math 模型具有强大的数学解题能力。',
182
112
  displayName: 'Qwen2.5 Math 7B',
183
113
  id: 'qwen2.5-math-7b-instruct',
184
- pricing: {
185
- currency: 'CNY',
186
- input: 1,
187
- output: 2,
188
- },
189
114
  },
190
115
  {
191
116
  contextWindowTokens: 4096,
192
117
  description: 'Qwen-Math 模型具有强大的数学解题能力。',
193
118
  displayName: 'Qwen2.5 Math 72B',
194
119
  id: 'qwen2.5-math-72b-instruct',
195
- pricing: {
196
- currency: 'CNY',
197
- input: 4,
198
- output: 12,
199
- },
200
120
  },
201
121
  {
202
122
  contextWindowTokens: 131_072,
203
123
  description: '通义千问代码模型开源版。',
204
124
  displayName: 'Qwen2.5 Coder 1.5B',
205
125
  id: 'qwen2.5-coder-1.5b-instruct',
206
- pricing: {
207
- currency: 'CNY',
208
- input: 0,
209
- output: 0,
210
- },
211
126
  },
212
127
  {
213
128
  contextWindowTokens: 131_072,
214
129
  description: '通义千问代码模型开源版。',
215
130
  displayName: 'Qwen2.5 Coder 7B',
216
131
  id: 'qwen2.5-coder-7b-instruct',
217
- pricing: {
218
- currency: 'CNY',
219
- input: 1,
220
- output: 2,
221
- },
222
132
  },
223
133
  {
224
134
  contextWindowTokens: 8000,
225
135
  description: '以 Qwen-7B 语言模型初始化,添加图像模型,图像输入分辨率为448的预训练模型。',
226
136
  displayName: 'Qwen VL',
227
137
  id: 'qwen-vl-v1',
228
- pricing: {
229
- currency: 'CNY',
230
- input: 0,
231
- output: 0,
232
- },
233
138
  vision: true,
234
139
  },
235
140
  {
@@ -237,11 +142,6 @@ const Higress: ModelProviderCard = {
237
142
  description: '通义千问VL支持灵活的交互方式,包括多图、多轮问答、创作等能力的模型。',
238
143
  displayName: 'Qwen VL Chat',
239
144
  id: 'qwen-vl-chat-v1',
240
- pricing: {
241
- currency: 'CNY',
242
- input: 0,
243
- output: 0,
244
- },
245
145
  vision: true,
246
146
  },
247
147
 
@@ -283,11 +183,6 @@ const Higress: ModelProviderCard = {
283
183
  functionCall: true,
284
184
  id: 'Baichuan4',
285
185
  maxOutput: 4096,
286
- pricing: {
287
- currency: 'CNY',
288
- input: 100,
289
- output: 100,
290
- },
291
186
  },
292
187
  {
293
188
  description: '',
@@ -296,41 +191,6 @@ const Higress: ModelProviderCard = {
296
191
  functionCall: true,
297
192
  id: 'Baichuan4-Turbo',
298
193
  // maxOutput: 4096,
299
- // pricing: {
300
- // currency: 'CNY',
301
- // input: 100,
302
- // output: 100,
303
- // },
304
- // tokens: 32_768,
305
- },
306
- {
307
- description: '',
308
- displayName: 'Baichuan 4 Air',
309
- enabled: true,
310
- functionCall: true,
311
- id: 'Baichuan4-Air',
312
- // maxOutput: 4096,
313
- // pricing: {
314
- // currency: 'CNY',
315
- // input: 100,
316
- // output: 100,
317
- // },
318
- // tokens: 32_768,
319
- },
320
- {
321
- contextWindowTokens: 32_768,
322
- description:
323
- '针对企业高频场景优化,效果大幅提升,高性价比。相对于Baichuan2模型,内容创作提升20%,知识问答提升17%, 角色扮演能力提升40%。整体效果比GPT3.5更优。',
324
- displayName: 'Baichuan 3 Turbo',
325
- enabled: true,
326
- functionCall: true,
327
- id: 'Baichuan3-Turbo',
328
- maxOutput: 8192,
329
- pricing: {
330
- currency: 'CNY',
331
- input: 12,
332
- output: 12,
333
- },
334
194
  },
335
195
  {
336
196
  contextWindowTokens: 128_000,
@@ -340,11 +200,6 @@ const Higress: ModelProviderCard = {
340
200
  enabled: true,
341
201
  id: 'Baichuan3-Turbo-128k',
342
202
  maxOutput: 4096,
343
- pricing: {
344
- currency: 'CNY',
345
- input: 24,
346
- output: 24,
347
- },
348
203
  },
349
204
  {
350
205
  contextWindowTokens: 32_768,
@@ -353,11 +208,6 @@ const Higress: ModelProviderCard = {
353
208
  displayName: 'Baichuan 2 Turbo',
354
209
  id: 'Baichuan2-Turbo',
355
210
  maxOutput: 8192,
356
- pricing: {
357
- currency: 'CNY',
358
- input: 8,
359
- output: 8,
360
- },
361
211
  },
362
212
  //零一万物
363
213
  {
@@ -366,11 +216,6 @@ const Higress: ModelProviderCard = {
366
216
  displayName: 'Yi Lightning',
367
217
  enabled: true,
368
218
  id: 'yi-lightning',
369
- pricing: {
370
- currency: 'CNY',
371
- input: 0.99,
372
- output: 0.99,
373
- },
374
219
  },
375
220
  {
376
221
  contextWindowTokens: 16_384,
@@ -378,11 +223,6 @@ const Higress: ModelProviderCard = {
378
223
  displayName: 'Yi Spark',
379
224
  enabled: true,
380
225
  id: 'yi-spark',
381
- pricing: {
382
- currency: 'CNY',
383
- input: 1,
384
- output: 1,
385
- },
386
226
  },
387
227
  {
388
228
  contextWindowTokens: 16_384,
@@ -390,11 +230,6 @@ const Higress: ModelProviderCard = {
390
230
  displayName: 'Yi Medium',
391
231
  enabled: true,
392
232
  id: 'yi-medium',
393
- pricing: {
394
- currency: 'CNY',
395
- input: 2.5,
396
- output: 2.5,
397
- },
398
233
  },
399
234
  {
400
235
  contextWindowTokens: 200_000,
@@ -402,11 +237,6 @@ const Higress: ModelProviderCard = {
402
237
  displayName: 'Yi Medium 200K',
403
238
  enabled: true,
404
239
  id: 'yi-medium-200k',
405
- pricing: {
406
- currency: 'CNY',
407
- input: 12,
408
- output: 12,
409
- },
410
240
  },
411
241
  {
412
242
  contextWindowTokens: 16_384,
@@ -414,11 +244,6 @@ const Higress: ModelProviderCard = {
414
244
  displayName: 'Yi Large Turbo',
415
245
  enabled: true,
416
246
  id: 'yi-large-turbo',
417
- pricing: {
418
- currency: 'CNY',
419
- input: 12,
420
- output: 12,
421
- },
422
247
  },
423
248
  {
424
249
  contextWindowTokens: 16_384,
@@ -427,11 +252,6 @@ const Higress: ModelProviderCard = {
427
252
  displayName: 'Yi Large RAG',
428
253
  enabled: true,
429
254
  id: 'yi-large-rag',
430
- pricing: {
431
- currency: 'CNY',
432
- input: 25,
433
- output: 25,
434
- },
435
255
  },
436
256
  {
437
257
  contextWindowTokens: 32_768,
@@ -441,22 +261,12 @@ const Higress: ModelProviderCard = {
441
261
  enabled: true,
442
262
  functionCall: true,
443
263
  id: 'yi-large-fc',
444
- pricing: {
445
- currency: 'CNY',
446
- input: 20,
447
- output: 20,
448
- },
449
264
  },
450
265
  {
451
266
  contextWindowTokens: 32_768,
452
267
  description: '全新千亿参数模型,提供超强问答及文本生成能力。',
453
268
  displayName: 'Yi Large',
454
269
  id: 'yi-large',
455
- pricing: {
456
- currency: 'CNY',
457
- input: 20,
458
- output: 20,
459
- },
460
270
  },
461
271
  {
462
272
  contextWindowTokens: 16_384,
@@ -464,11 +274,6 @@ const Higress: ModelProviderCard = {
464
274
  displayName: 'Yi Vision',
465
275
  enabled: true,
466
276
  id: 'yi-vision',
467
- pricing: {
468
- currency: 'CNY',
469
- input: 6,
470
- output: 6,
471
- },
472
277
  vision: true,
473
278
  },
474
279
  {
@@ -476,22 +281,12 @@ const Higress: ModelProviderCard = {
476
281
  description: '初期版本,推荐使用 yi-large(新版本)。',
477
282
  displayName: 'Yi Large Preview',
478
283
  id: 'yi-large-preview',
479
- pricing: {
480
- currency: 'CNY',
481
- input: 20,
482
- output: 20,
483
- },
484
284
  },
485
285
  {
486
286
  contextWindowTokens: 16_384,
487
287
  description: '轻量化版本,推荐使用 yi-lightning。',
488
288
  displayName: 'Yi Lightning Lite',
489
289
  id: 'yi-lightning-lite',
490
- pricing: {
491
- currency: 'CNY',
492
- input: 0.99,
493
- output: 0.99,
494
- },
495
290
  },
496
291
  //智谱AI
497
292
  {
@@ -501,11 +296,6 @@ const Higress: ModelProviderCard = {
501
296
  enabled: true,
502
297
  functionCall: true,
503
298
  id: 'glm-4-flash',
504
- pricing: {
505
- currency: 'CNY',
506
- input: 0,
507
- output: 0,
508
- },
509
299
  },
510
300
  {
511
301
  contextWindowTokens: 128_000,
@@ -514,11 +304,6 @@ const Higress: ModelProviderCard = {
514
304
  enabled: true,
515
305
  functionCall: true,
516
306
  id: 'glm-4-flashx',
517
- pricing: {
518
- currency: 'CNY',
519
- input: 0.1,
520
- output: 0.1,
521
- },
522
307
  },
523
308
  {
524
309
  contextWindowTokens: 1_024_000,
@@ -526,11 +311,6 @@ const Higress: ModelProviderCard = {
526
311
  displayName: 'GLM-4-Long',
527
312
  functionCall: true,
528
313
  id: 'glm-4-long',
529
- pricing: {
530
- currency: 'CNY',
531
- input: 1,
532
- output: 1,
533
- },
534
314
  },
535
315
  {
536
316
  contextWindowTokens: 128_000,
@@ -539,11 +319,6 @@ const Higress: ModelProviderCard = {
539
319
  enabled: true,
540
320
  functionCall: true,
541
321
  id: 'glm-4-air',
542
- pricing: {
543
- currency: 'CNY',
544
- input: 1,
545
- output: 1,
546
- },
547
322
  },
548
323
  {
549
324
  contextWindowTokens: 8192,
@@ -552,11 +327,6 @@ const Higress: ModelProviderCard = {
552
327
  enabled: true,
553
328
  functionCall: true,
554
329
  id: 'glm-4-airx',
555
- pricing: {
556
- currency: 'CNY',
557
- input: 10,
558
- output: 10,
559
- },
560
330
  },
561
331
  {
562
332
  contextWindowTokens: 128_000,
@@ -565,11 +335,6 @@ const Higress: ModelProviderCard = {
565
335
  displayName: 'GLM-4-AllTools',
566
336
  functionCall: true,
567
337
  id: 'glm-4-alltools',
568
- pricing: {
569
- currency: 'CNY',
570
- input: 100,
571
- output: 100,
572
- },
573
338
  },
574
339
  {
575
340
  contextWindowTokens: 128_000,
@@ -579,11 +344,6 @@ const Higress: ModelProviderCard = {
579
344
  enabled: true,
580
345
  functionCall: true,
581
346
  id: 'glm-4-plus',
582
- pricing: {
583
- currency: 'CNY',
584
- input: 50,
585
- output: 50,
586
- },
587
347
  },
588
348
  {
589
349
  contextWindowTokens: 128_000,
@@ -591,11 +351,6 @@ const Higress: ModelProviderCard = {
591
351
  displayName: 'GLM-4-0520',
592
352
  functionCall: true,
593
353
  id: 'glm-4-0520',
594
- pricing: {
595
- currency: 'CNY',
596
- input: 100,
597
- output: 100,
598
- },
599
354
  },
600
355
  {
601
356
  contextWindowTokens: 128_000,
@@ -603,11 +358,6 @@ const Higress: ModelProviderCard = {
603
358
  displayName: 'GLM-4',
604
359
  functionCall: true,
605
360
  id: 'glm-4',
606
- pricing: {
607
- currency: 'CNY',
608
- input: 100,
609
- output: 100,
610
- },
611
361
  },
612
362
  {
613
363
  contextWindowTokens: 8192,
@@ -615,11 +365,6 @@ const Higress: ModelProviderCard = {
615
365
  displayName: 'GLM-4V-Plus',
616
366
  enabled: true,
617
367
  id: 'glm-4v-plus',
618
- pricing: {
619
- currency: 'CNY',
620
- input: 10,
621
- output: 10,
622
- },
623
368
  vision: true,
624
369
  },
625
370
  {
@@ -627,11 +372,6 @@ const Higress: ModelProviderCard = {
627
372
  description: 'GLM-4V 提供强大的图像理解与推理能力,支持多种视觉任务。',
628
373
  displayName: 'GLM-4V',
629
374
  id: 'glm-4v',
630
- pricing: {
631
- currency: 'CNY',
632
- input: 50,
633
- output: 50,
634
- },
635
375
  vision: true,
636
376
  },
637
377
  {
@@ -639,22 +379,12 @@ const Higress: ModelProviderCard = {
639
379
  description: 'CharGLM-3 专为角色扮演与情感陪伴设计,支持超长多轮记忆与个性化对话,应用广泛。',
640
380
  displayName: 'CharGLM-3',
641
381
  id: 'charglm-3',
642
- pricing: {
643
- currency: 'CNY',
644
- input: 15,
645
- output: 15,
646
- },
647
382
  },
648
383
  {
649
384
  contextWindowTokens: 8192,
650
385
  description: 'Emohaa 是心理模型,具备专业咨询能力,帮助用户理解情感问题。',
651
386
  displayName: 'Emohaa',
652
387
  id: 'emohaa',
653
- pricing: {
654
- currency: 'CNY',
655
- input: 15,
656
- output: 15,
657
- },
658
388
  },
659
389
  //360智脑
660
390
  {
@@ -665,11 +395,6 @@ const Higress: ModelProviderCard = {
665
395
  enabled: true,
666
396
  id: '360gpt2-pro',
667
397
  maxOutput: 7000,
668
- pricing: {
669
- currency: 'CNY',
670
- input: 5,
671
- output: 5,
672
- },
673
398
  },
674
399
  {
675
400
  contextWindowTokens: 8192,
@@ -680,11 +405,6 @@ const Higress: ModelProviderCard = {
680
405
  functionCall: true,
681
406
  id: '360gpt-pro',
682
407
  maxOutput: 7000,
683
- pricing: {
684
- currency: 'CNY',
685
- input: 5,
686
- output: 5,
687
- },
688
408
  },
689
409
  {
690
410
  contextWindowTokens: 8192,
@@ -694,11 +414,6 @@ const Higress: ModelProviderCard = {
694
414
  enabled: true,
695
415
  id: '360gpt-turbo',
696
416
  maxOutput: 7000,
697
- pricing: {
698
- currency: 'CNY',
699
- input: 2,
700
- output: 2,
701
- },
702
417
  },
703
418
  {
704
419
  contextWindowTokens: 8192,
@@ -708,11 +423,6 @@ const Higress: ModelProviderCard = {
708
423
  enabled: true,
709
424
  id: '360gpt-turbo-responsibility-8k',
710
425
  maxOutput: 2048,
711
- pricing: {
712
- currency: 'CNY',
713
- input: 2,
714
- output: 2,
715
- },
716
426
  },
717
427
  //文心一言
718
428
  {
@@ -722,11 +432,6 @@ const Higress: ModelProviderCard = {
722
432
  displayName: 'ERNIE 3.5 8K',
723
433
  enabled: true,
724
434
  id: 'ERNIE-3.5-8K',
725
- pricing: {
726
- currency: 'CNY',
727
- input: 0.8,
728
- output: 2,
729
- },
730
435
  },
731
436
  {
732
437
  contextWindowTokens: 8192,
@@ -734,11 +439,6 @@ const Higress: ModelProviderCard = {
734
439
  '百度自研的旗舰级大规模⼤语⾔模型,覆盖海量中英文语料,具有强大的通用能力,可满足绝大部分对话问答、创作生成、插件应用场景要求;支持自动对接百度搜索插件,保障问答信息时效。',
735
440
  displayName: 'ERNIE 3.5 8K Preview',
736
441
  id: 'ERNIE-3.5-8K-Preview',
737
- pricing: {
738
- currency: 'CNY',
739
- input: 0.8,
740
- output: 2,
741
- },
742
442
  },
743
443
  {
744
444
  contextWindowTokens: 128_000,
@@ -747,11 +447,6 @@ const Higress: ModelProviderCard = {
747
447
  displayName: 'ERNIE 3.5 128K',
748
448
  enabled: true,
749
449
  id: 'ERNIE-3.5-128K',
750
- pricing: {
751
- currency: 'CNY',
752
- input: 0.8,
753
- output: 2,
754
- },
755
450
  },
756
451
  {
757
452
  contextWindowTokens: 8192,
@@ -760,11 +455,6 @@ const Higress: ModelProviderCard = {
760
455
  displayName: 'ERNIE 4.0 8K',
761
456
  enabled: true,
762
457
  id: 'ERNIE-4.0-8K-Latest',
763
- pricing: {
764
- currency: 'CNY',
765
- input: 30,
766
- output: 90,
767
- },
768
458
  },
769
459
  {
770
460
  contextWindowTokens: 8192,
@@ -772,11 +462,6 @@ const Higress: ModelProviderCard = {
772
462
  '百度自研的旗舰级超大规模⼤语⾔模型,相较ERNIE 3.5实现了模型能力全面升级,广泛适用于各领域复杂任务场景;支持自动对接百度搜索插件,保障问答信息时效。',
773
463
  displayName: 'ERNIE 4.0 8K Preview',
774
464
  id: 'ERNIE-4.0-8K-Preview',
775
- pricing: {
776
- currency: 'CNY',
777
- input: 30,
778
- output: 90,
779
- },
780
465
  },
781
466
  {
782
467
  contextWindowTokens: 8192,
@@ -785,11 +470,6 @@ const Higress: ModelProviderCard = {
785
470
  displayName: 'ERNIE 4.0 Turbo 8K',
786
471
  enabled: true,
787
472
  id: 'ERNIE-4.0-Turbo-8K-Latest',
788
- pricing: {
789
- currency: 'CNY',
790
- input: 20,
791
- output: 60,
792
- },
793
473
  },
794
474
  {
795
475
  contextWindowTokens: 8192,
@@ -797,11 +477,6 @@ const Higress: ModelProviderCard = {
797
477
  '百度自研的旗舰级超大规模⼤语⾔模型,综合效果表现出色,广泛适用于各领域复杂任务场景;支持自动对接百度搜索插件,保障问答信息时效。相较于ERNIE 4.0在性能表现上更优秀',
798
478
  displayName: 'ERNIE 4.0 Turbo 8K Preview',
799
479
  id: 'ERNIE-4.0-Turbo-8K-Preview',
800
- pricing: {
801
- currency: 'CNY',
802
- input: 20,
803
- output: 60,
804
- },
805
480
  },
806
481
  {
807
482
  contextWindowTokens: 128_000,
@@ -810,11 +485,6 @@ const Higress: ModelProviderCard = {
810
485
  displayName: 'ERNIE Lite Pro 128K',
811
486
  enabled: true,
812
487
  id: 'ERNIE-Lite-Pro-128K',
813
- pricing: {
814
- currency: 'CNY',
815
- input: 0.2,
816
- output: 0.4,
817
- },
818
488
  },
819
489
  {
820
490
  contextWindowTokens: 128_000,
@@ -823,11 +493,6 @@ const Higress: ModelProviderCard = {
823
493
  displayName: 'ERNIE Speed Pro 128K',
824
494
  enabled: true,
825
495
  id: 'ERNIE-Speed-Pro-128K',
826
- pricing: {
827
- currency: 'CNY',
828
- input: 0.3,
829
- output: 0.6,
830
- },
831
496
  },
832
497
  {
833
498
  contextWindowTokens: 128_000,
@@ -835,11 +500,6 @@ const Higress: ModelProviderCard = {
835
500
  '百度2024年最新发布的自研高性能大语言模型,通用能力优异,适合作为基座模型进行精调,更好地处理特定场景问题,同时具备极佳的推理性能。',
836
501
  displayName: 'ERNIE Speed 128K',
837
502
  id: 'ERNIE-Speed-128K',
838
- pricing: {
839
- currency: 'CNY',
840
- input: 0,
841
- output: 0,
842
- },
843
503
  },
844
504
  {
845
505
  contextWindowTokens: 8192,
@@ -847,11 +507,6 @@ const Higress: ModelProviderCard = {
847
507
  '百度自研的垂直场景大语言模型,适合游戏NPC、客服对话、对话角色扮演等应用场景,人设风格更为鲜明、一致,指令遵循能力更强,推理性能更优。',
848
508
  displayName: 'ERNIE Character 8K',
849
509
  id: 'ERNIE-Character-8K',
850
- pricing: {
851
- currency: 'CNY',
852
- input: 4,
853
- output: 8,
854
- },
855
510
  },
856
511
  //混元
857
512
  {
@@ -862,11 +517,6 @@ const Higress: ModelProviderCard = {
862
517
  enabled: true,
863
518
  id: 'hunyuan-lite',
864
519
  maxOutput: 6000,
865
- pricing: {
866
- currency: 'CNY',
867
- input: 0,
868
- output: 0,
869
- },
870
520
  },
871
521
  {
872
522
  contextWindowTokens: 32_000,
@@ -876,11 +526,6 @@ const Higress: ModelProviderCard = {
876
526
  enabled: true,
877
527
  id: 'hunyuan-standard',
878
528
  maxOutput: 2000,
879
- pricing: {
880
- currency: 'CNY',
881
- input: 4.5,
882
- output: 5,
883
- },
884
529
  },
885
530
  {
886
531
  contextWindowTokens: 256_000,
@@ -890,11 +535,6 @@ const Higress: ModelProviderCard = {
890
535
  enabled: true,
891
536
  id: 'hunyuan-standard-256K',
892
537
  maxOutput: 6000,
893
- pricing: {
894
- currency: 'CNY',
895
- input: 15,
896
- output: 60,
897
- },
898
538
  },
899
539
  {
900
540
  contextWindowTokens: 32_000,
@@ -905,11 +545,6 @@ const Higress: ModelProviderCard = {
905
545
  functionCall: true,
906
546
  id: 'hunyuan-turbo',
907
547
  maxOutput: 4000,
908
- pricing: {
909
- currency: 'CNY',
910
- input: 15,
911
- output: 50,
912
- },
913
548
  },
914
549
  {
915
550
  contextWindowTokens: 32_000,
@@ -920,11 +555,6 @@ const Higress: ModelProviderCard = {
920
555
  functionCall: true,
921
556
  id: 'hunyuan-pro',
922
557
  maxOutput: 4000,
923
- pricing: {
924
- currency: 'CNY',
925
- input: 30,
926
- output: 100,
927
- },
928
558
  },
929
559
  {
930
560
  description: '',
@@ -933,25 +563,6 @@ const Higress: ModelProviderCard = {
933
563
  functionCall: true,
934
564
  id: 'hunyuan-large',
935
565
  // maxOutput: 4000,
936
- // pricing: {
937
- // currency: 'CNY',
938
- // input: 30,
939
- // output: 100,
940
- // },
941
- // tokens: 32_000,
942
- },
943
- {
944
- contextWindowTokens: 8000,
945
- description: '混元最新多模态模型,支持图片+文本输入生成文本内容。',
946
- displayName: 'Hunyuan Vision',
947
- enabled: true,
948
- id: 'hunyuan-vision',
949
- maxOutput: 4000,
950
- pricing: {
951
- currency: 'CNY',
952
- input: 18,
953
- output: 18,
954
- },
955
566
  vision: true,
956
567
  },
957
568
  {
@@ -961,11 +572,6 @@ const Higress: ModelProviderCard = {
961
572
  displayName: 'Hunyuan Code',
962
573
  id: 'hunyuan-code',
963
574
  maxOutput: 4000,
964
- pricing: {
965
- currency: 'CNY',
966
- input: 4,
967
- output: 8,
968
- },
969
575
  },
970
576
  {
971
577
  contextWindowTokens: 32_000,
@@ -975,11 +581,6 @@ const Higress: ModelProviderCard = {
975
581
  functionCall: true,
976
582
  id: 'hunyuan-functioncall',
977
583
  maxOutput: 4000,
978
- pricing: {
979
- currency: 'CNY',
980
- input: 4,
981
- output: 8,
982
- },
983
584
  },
984
585
  {
985
586
  contextWindowTokens: 8000,
@@ -988,11 +589,6 @@ const Higress: ModelProviderCard = {
988
589
  displayName: 'Hunyuan Role',
989
590
  id: 'hunyuan-role',
990
591
  maxOutput: 4000,
991
- pricing: {
992
- currency: 'CNY',
993
- input: 4,
994
- output: 8,
995
- },
996
592
  },
997
593
  //阶跃星辰
998
594
  {
@@ -1002,11 +598,6 @@ const Higress: ModelProviderCard = {
1002
598
  enabled: true,
1003
599
  functionCall: true,
1004
600
  id: 'step-1-flash',
1005
- pricing: {
1006
- currency: 'CNY',
1007
- input: 1,
1008
- output: 4,
1009
- },
1010
601
  },
1011
602
  {
1012
603
  contextWindowTokens: 8000,
@@ -1015,11 +606,6 @@ const Higress: ModelProviderCard = {
1015
606
  enabled: true,
1016
607
  functionCall: true,
1017
608
  id: 'step-1-8k',
1018
- pricing: {
1019
- currency: 'CNY',
1020
- input: 5,
1021
- output: 20,
1022
- },
1023
609
  },
1024
610
  {
1025
611
  contextWindowTokens: 32_000,
@@ -1028,11 +614,6 @@ const Higress: ModelProviderCard = {
1028
614
  enabled: true,
1029
615
  functionCall: true,
1030
616
  id: 'step-1-32k',
1031
- pricing: {
1032
- currency: 'CNY',
1033
- input: 15,
1034
- output: 70,
1035
- },
1036
617
  },
1037
618
  {
1038
619
  contextWindowTokens: 128_000,
@@ -1041,11 +622,6 @@ const Higress: ModelProviderCard = {
1041
622
  enabled: true,
1042
623
  functionCall: true,
1043
624
  id: 'step-1-128k',
1044
- pricing: {
1045
- currency: 'CNY',
1046
- input: 40,
1047
- output: 200,
1048
- },
1049
625
  },
1050
626
  {
1051
627
  contextWindowTokens: 256_000,
@@ -1053,11 +629,6 @@ const Higress: ModelProviderCard = {
1053
629
  displayName: 'Step 1 256K',
1054
630
  functionCall: true,
1055
631
  id: 'step-1-256k',
1056
- pricing: {
1057
- currency: 'CNY',
1058
- input: 95,
1059
- output: 300,
1060
- },
1061
632
  },
1062
633
  {
1063
634
  contextWindowTokens: 16_000,
@@ -1066,11 +637,6 @@ const Higress: ModelProviderCard = {
1066
637
  enabled: true,
1067
638
  functionCall: true,
1068
639
  id: 'step-2-16k',
1069
- pricing: {
1070
- currency: 'CNY',
1071
- input: 38,
1072
- output: 120,
1073
- },
1074
640
  },
1075
641
  {
1076
642
  contextWindowTokens: 8000,
@@ -1079,11 +645,6 @@ const Higress: ModelProviderCard = {
1079
645
  enabled: true,
1080
646
  functionCall: true,
1081
647
  id: 'step-1v-8k',
1082
- pricing: {
1083
- currency: 'CNY',
1084
- input: 5,
1085
- output: 20,
1086
- },
1087
648
  vision: true,
1088
649
  },
1089
650
  {
@@ -1093,11 +654,6 @@ const Higress: ModelProviderCard = {
1093
654
  enabled: true,
1094
655
  functionCall: true,
1095
656
  id: 'step-1v-32k',
1096
- pricing: {
1097
- currency: 'CNY',
1098
- input: 15,
1099
- output: 70,
1100
- },
1101
657
  vision: true,
1102
658
  },
1103
659
  {
@@ -1106,11 +662,6 @@ const Higress: ModelProviderCard = {
1106
662
  displayName: 'Step 1.5V Mini',
1107
663
  enabled: true,
1108
664
  id: 'step-1.5v-mini',
1109
- pricing: {
1110
- currency: 'CNY',
1111
- input: 8,
1112
- output: 35,
1113
- },
1114
665
  vision: true,
1115
666
  },
1116
667
  {
@@ -1182,10 +733,6 @@ const Higress: ModelProviderCard = {
1182
733
  enabled: true,
1183
734
  id: 'o1-mini',
1184
735
  maxOutput: 65_536,
1185
- pricing: {
1186
- input: 3,
1187
- output: 12,
1188
- },
1189
736
  releasedAt: '2024-09-12',
1190
737
  },
1191
738
  {
@@ -1196,10 +743,6 @@ const Higress: ModelProviderCard = {
1196
743
  enabled: true,
1197
744
  id: 'o1-preview',
1198
745
  maxOutput: 32_768,
1199
- pricing: {
1200
- input: 15,
1201
- output: 60,
1202
- },
1203
746
  releasedAt: '2024-09-12',
1204
747
  },
1205
748
  {
@@ -1211,10 +754,6 @@ const Higress: ModelProviderCard = {
1211
754
  functionCall: true,
1212
755
  id: 'gpt-4o-mini',
1213
756
  maxOutput: 16_385,
1214
- pricing: {
1215
- input: 0.15,
1216
- output: 0.6,
1217
- },
1218
757
  vision: true,
1219
758
  },
1220
759
  {
@@ -1225,10 +764,6 @@ const Higress: ModelProviderCard = {
1225
764
  enabled: true,
1226
765
  functionCall: true,
1227
766
  id: 'gpt-4o',
1228
- pricing: {
1229
- input: 2.5,
1230
- output: 10,
1231
- },
1232
767
  vision: true,
1233
768
  },
1234
769
  {
@@ -1238,10 +773,6 @@ const Higress: ModelProviderCard = {
1238
773
  displayName: 'GPT-4o 0806',
1239
774
  functionCall: true,
1240
775
  id: 'gpt-4o-2024-08-06',
1241
- pricing: {
1242
- input: 2.5,
1243
- output: 10,
1244
- },
1245
776
  vision: true,
1246
777
  },
1247
778
  {
@@ -1251,10 +782,6 @@ const Higress: ModelProviderCard = {
1251
782
  displayName: 'GPT-4o 0513',
1252
783
  functionCall: true,
1253
784
  id: 'gpt-4o-2024-05-13',
1254
- pricing: {
1255
- input: 5,
1256
- output: 15,
1257
- },
1258
785
  vision: true,
1259
786
  },
1260
787
  {
@@ -1264,10 +791,6 @@ const Higress: ModelProviderCard = {
1264
791
  displayName: 'ChatGPT-4o',
1265
792
  enabled: true,
1266
793
  id: 'chatgpt-4o-latest',
1267
- pricing: {
1268
- input: 5,
1269
- output: 15,
1270
- },
1271
794
  vision: true,
1272
795
  },
1273
796
  {
@@ -1277,10 +800,6 @@ const Higress: ModelProviderCard = {
1277
800
  displayName: 'GPT-4 Turbo',
1278
801
  functionCall: true,
1279
802
  id: 'gpt-4-turbo',
1280
- pricing: {
1281
- input: 10,
1282
- output: 30,
1283
- },
1284
803
  vision: true,
1285
804
  },
1286
805
  {
@@ -1290,10 +809,6 @@ const Higress: ModelProviderCard = {
1290
809
  displayName: 'GPT-4 Turbo Vision 0409',
1291
810
  functionCall: true,
1292
811
  id: 'gpt-4-turbo-2024-04-09',
1293
- pricing: {
1294
- input: 10,
1295
- output: 30,
1296
- },
1297
812
  vision: true,
1298
813
  },
1299
814
  {
@@ -1303,10 +818,6 @@ const Higress: ModelProviderCard = {
1303
818
  displayName: 'GPT-4 Turbo Preview',
1304
819
  functionCall: true,
1305
820
  id: 'gpt-4-turbo-preview',
1306
- pricing: {
1307
- input: 10,
1308
- output: 30,
1309
- },
1310
821
  },
1311
822
  {
1312
823
  contextWindowTokens: 128_000,
@@ -1315,10 +826,6 @@ const Higress: ModelProviderCard = {
1315
826
  displayName: 'GPT-4 Turbo Preview 0125',
1316
827
  functionCall: true,
1317
828
  id: 'gpt-4-0125-preview',
1318
- pricing: {
1319
- input: 10,
1320
- output: 30,
1321
- },
1322
829
  },
1323
830
  {
1324
831
  contextWindowTokens: 128_000,
@@ -1327,10 +834,6 @@ const Higress: ModelProviderCard = {
1327
834
  displayName: 'GPT-4 Turbo Preview 1106',
1328
835
  functionCall: true,
1329
836
  id: 'gpt-4-1106-preview',
1330
- pricing: {
1331
- input: 10,
1332
- output: 30,
1333
- },
1334
837
  },
1335
838
  {
1336
839
  contextWindowTokens: 8192,
@@ -1339,10 +842,6 @@ const Higress: ModelProviderCard = {
1339
842
  displayName: 'GPT-4',
1340
843
  functionCall: true,
1341
844
  id: 'gpt-4',
1342
- pricing: {
1343
- input: 30,
1344
- output: 60,
1345
- },
1346
845
  },
1347
846
  {
1348
847
  contextWindowTokens: 8192,
@@ -1351,10 +850,6 @@ const Higress: ModelProviderCard = {
1351
850
  displayName: 'GPT-4 0613',
1352
851
  functionCall: true,
1353
852
  id: 'gpt-4-0613',
1354
- pricing: {
1355
- input: 30,
1356
- output: 60,
1357
- },
1358
853
  },
1359
854
  {
1360
855
  contextWindowTokens: 32_768,
@@ -1364,10 +859,6 @@ const Higress: ModelProviderCard = {
1364
859
  displayName: 'GPT-4 32K',
1365
860
  functionCall: true,
1366
861
  id: 'gpt-4-32k',
1367
- pricing: {
1368
- input: 60,
1369
- output: 120,
1370
- },
1371
862
  },
1372
863
  {
1373
864
  contextWindowTokens: 32_768,
@@ -1377,10 +868,6 @@ const Higress: ModelProviderCard = {
1377
868
  displayName: 'GPT-4 32K 0613',
1378
869
  functionCall: true,
1379
870
  id: 'gpt-4-32k-0613',
1380
- pricing: {
1381
- input: 60,
1382
- output: 120,
1383
- },
1384
871
  },
1385
872
  {
1386
873
  contextWindowTokens: 16_385,
@@ -1389,10 +876,6 @@ const Higress: ModelProviderCard = {
1389
876
  displayName: 'GPT-3.5 Turbo',
1390
877
  functionCall: true,
1391
878
  id: 'gpt-3.5-turbo',
1392
- pricing: {
1393
- input: 0.5,
1394
- output: 1.5,
1395
- },
1396
879
  },
1397
880
  {
1398
881
  contextWindowTokens: 16_385,
@@ -1401,10 +884,6 @@ const Higress: ModelProviderCard = {
1401
884
  displayName: 'GPT-3.5 Turbo 0125',
1402
885
  functionCall: true,
1403
886
  id: 'gpt-3.5-turbo-0125',
1404
- pricing: {
1405
- input: 0.5,
1406
- output: 1.5,
1407
- },
1408
887
  },
1409
888
  {
1410
889
  contextWindowTokens: 16_385,
@@ -1413,10 +892,6 @@ const Higress: ModelProviderCard = {
1413
892
  displayName: 'GPT-3.5 Turbo 1106',
1414
893
  functionCall: true,
1415
894
  id: 'gpt-3.5-turbo-1106',
1416
- pricing: {
1417
- input: 1,
1418
- output: 2,
1419
- },
1420
895
  },
1421
896
  {
1422
897
  contextWindowTokens: 4096,
@@ -1424,10 +899,6 @@ const Higress: ModelProviderCard = {
1424
899
  'GPT 3.5 Turbo,适用于各种文本生成和理解任务,Currently points to gpt-3.5-turbo-0125',
1425
900
  displayName: 'GPT-3.5 Turbo Instruct',
1426
901
  id: 'gpt-3.5-turbo-instruct',
1427
- pricing: {
1428
- input: 1.5,
1429
- output: 2,
1430
- },
1431
902
  },
1432
903
  //azure
1433
904
  {
@@ -1706,10 +1177,6 @@ const Higress: ModelProviderCard = {
1706
1177
  enabled: true,
1707
1178
  id: 'llama-3.2-11b-vision-preview',
1708
1179
  maxOutput: 8192,
1709
- pricing: {
1710
- input: 0.05,
1711
- output: 0.08,
1712
- },
1713
1180
  vision: true,
1714
1181
  },
1715
1182
  {
@@ -1720,10 +1187,6 @@ const Higress: ModelProviderCard = {
1720
1187
  enabled: true,
1721
1188
  id: 'llama-3.2-90b-vision-preview',
1722
1189
  maxOutput: 8192,
1723
- pricing: {
1724
- input: 0.59,
1725
- output: 0.79,
1726
- },
1727
1190
  vision: true,
1728
1191
  },
1729
1192
  {
@@ -1735,10 +1198,6 @@ const Higress: ModelProviderCard = {
1735
1198
  functionCall: true,
1736
1199
  id: 'llama-3.1-8b-instant',
1737
1200
  maxOutput: 8192,
1738
- pricing: {
1739
- input: 0.05,
1740
- output: 0.08,
1741
- },
1742
1201
  },
1743
1202
  {
1744
1203
  contextWindowTokens: 131_072,
@@ -1749,10 +1208,6 @@ const Higress: ModelProviderCard = {
1749
1208
  functionCall: true,
1750
1209
  id: 'llama-3.1-70b-versatile',
1751
1210
  maxOutput: 8192,
1752
- pricing: {
1753
- input: 0.59,
1754
- output: 0.79,
1755
- },
1756
1211
  },
1757
1212
  /*
1758
1213
  // Offline due to overwhelming demand! Stay tuned for updates.
@@ -1769,10 +1224,6 @@ const Higress: ModelProviderCard = {
1769
1224
  displayName: 'Llama 3 Groq 8B Tool Use (Preview)',
1770
1225
  functionCall: true,
1771
1226
  id: 'llama3-groq-8b-8192-tool-use-preview',
1772
- pricing: {
1773
- input: 0.19,
1774
- output: 0.19,
1775
- },
1776
1227
  },
1777
1228
  {
1778
1229
  contextWindowTokens: 8192,
@@ -1780,10 +1231,6 @@ const Higress: ModelProviderCard = {
1780
1231
  displayName: 'Llama 3 Groq 70B Tool Use (Preview)',
1781
1232
  functionCall: true,
1782
1233
  id: 'llama3-groq-70b-8192-tool-use-preview',
1783
- pricing: {
1784
- input: 0.89,
1785
- output: 0.89,
1786
- },
1787
1234
  },
1788
1235
  {
1789
1236
  contextWindowTokens: 8192,
@@ -1791,10 +1238,6 @@ const Higress: ModelProviderCard = {
1791
1238
  displayName: 'Meta Llama 3 8B',
1792
1239
  functionCall: true,
1793
1240
  id: 'llama3-8b-8192',
1794
- pricing: {
1795
- input: 0.05,
1796
- output: 0.08,
1797
- },
1798
1241
  },
1799
1242
  {
1800
1243
  contextWindowTokens: 8192,
@@ -1802,10 +1245,6 @@ const Higress: ModelProviderCard = {
1802
1245
  displayName: 'Meta Llama 3 70B',
1803
1246
  functionCall: true,
1804
1247
  id: 'llama3-70b-8192',
1805
- pricing: {
1806
- input: 0.59,
1807
- output: 0.79,
1808
- },
1809
1248
  },
1810
1249
  {
1811
1250
  contextWindowTokens: 8192,
@@ -1814,10 +1253,6 @@ const Higress: ModelProviderCard = {
1814
1253
  enabled: true,
1815
1254
  functionCall: true,
1816
1255
  id: 'gemma2-9b-it',
1817
- pricing: {
1818
- input: 0.2,
1819
- output: 0.2,
1820
- },
1821
1256
  },
1822
1257
  {
1823
1258
  contextWindowTokens: 8192,
@@ -1825,10 +1260,6 @@ const Higress: ModelProviderCard = {
1825
1260
  displayName: 'Gemma 7B',
1826
1261
  functionCall: true,
1827
1262
  id: 'gemma-7b-it',
1828
- pricing: {
1829
- input: 0.07,
1830
- output: 0.07,
1831
- },
1832
1263
  },
1833
1264
  {
1834
1265
  contextWindowTokens: 32_768,
@@ -1836,10 +1267,6 @@ const Higress: ModelProviderCard = {
1836
1267
  displayName: 'Mixtral 8x7B',
1837
1268
  functionCall: true,
1838
1269
  id: 'mixtral-8x7b-32768',
1839
- pricing: {
1840
- input: 0.24,
1841
- output: 0.24,
1842
- },
1843
1270
  },
1844
1271
  {
1845
1272
  contextWindowTokens: 4096,
@@ -1857,11 +1284,6 @@ const Higress: ModelProviderCard = {
1857
1284
  enabled: true,
1858
1285
  functionCall: true,
1859
1286
  id: 'deepseek-chat',
1860
- pricing: {
1861
- cachedInput: 0.014,
1862
- input: 0.14,
1863
- output: 0.28,
1864
- },
1865
1287
  releasedAt: '2024-09-05',
1866
1288
  },
1867
1289
  //claude
@@ -1874,12 +1296,6 @@ const Higress: ModelProviderCard = {
1874
1296
  functionCall: true,
1875
1297
  id: 'claude-3-5-haiku-20241022',
1876
1298
  maxOutput: 8192,
1877
- pricing: {
1878
- cachedInput: 0.1,
1879
- input: 1,
1880
- output: 5,
1881
- writeCacheInput: 1.25,
1882
- },
1883
1299
  releasedAt: '2024-11-05',
1884
1300
  },
1885
1301
  {
@@ -1891,12 +1307,6 @@ const Higress: ModelProviderCard = {
1891
1307
  functionCall: true,
1892
1308
  id: 'claude-3-5-sonnet-20241022',
1893
1309
  maxOutput: 8192,
1894
- pricing: {
1895
- cachedInput: 0.3,
1896
- input: 3,
1897
- output: 15,
1898
- writeCacheInput: 3.75,
1899
- },
1900
1310
  releasedAt: '2024-10-22',
1901
1311
  vision: true,
1902
1312
  },
@@ -1908,12 +1318,6 @@ const Higress: ModelProviderCard = {
1908
1318
  functionCall: true,
1909
1319
  id: 'claude-3-5-sonnet-20240620',
1910
1320
  maxOutput: 8192,
1911
- pricing: {
1912
- cachedInput: 0.3,
1913
- input: 3,
1914
- output: 15,
1915
- writeCacheInput: 3.75,
1916
- },
1917
1321
  releasedAt: '2024-06-20',
1918
1322
  vision: true,
1919
1323
  },
@@ -1925,10 +1329,6 @@ const Higress: ModelProviderCard = {
1925
1329
  functionCall: true,
1926
1330
  id: 'claude-3-haiku-20240307',
1927
1331
  maxOutput: 4096,
1928
- pricing: {
1929
- input: 0.25,
1930
- output: 1.25,
1931
- },
1932
1332
  releasedAt: '2024-03-07',
1933
1333
  vision: true,
1934
1334
  },
@@ -1940,10 +1340,6 @@ const Higress: ModelProviderCard = {
1940
1340
  functionCall: true,
1941
1341
  id: 'claude-3-sonnet-20240229',
1942
1342
  maxOutput: 4096,
1943
- pricing: {
1944
- input: 3,
1945
- output: 15,
1946
- },
1947
1343
  releasedAt: '2024-02-29',
1948
1344
  vision: true,
1949
1345
  },
@@ -1956,10 +1352,6 @@ const Higress: ModelProviderCard = {
1956
1352
  functionCall: true,
1957
1353
  id: 'claude-3-opus-20240229',
1958
1354
  maxOutput: 4096,
1959
- pricing: {
1960
- input: 15,
1961
- output: 75,
1962
- },
1963
1355
  releasedAt: '2024-02-29',
1964
1356
  vision: true,
1965
1357
  },
@@ -1970,10 +1362,6 @@ const Higress: ModelProviderCard = {
1970
1362
  displayName: 'Claude 2.1',
1971
1363
  id: 'claude-2.1',
1972
1364
  maxOutput: 4096,
1973
- pricing: {
1974
- input: 8,
1975
- output: 24,
1976
- },
1977
1365
  releasedAt: '2023-11-21',
1978
1366
  },
1979
1367
  {
@@ -1983,10 +1371,6 @@ const Higress: ModelProviderCard = {
1983
1371
  displayName: 'Claude 2.0',
1984
1372
  id: 'claude-2.0',
1985
1373
  maxOutput: 4096,
1986
- pricing: {
1987
- input: 8,
1988
- output: 24,
1989
- },
1990
1374
  releasedAt: '2023-07-11',
1991
1375
  },
1992
1376
  //gemini
@@ -1999,11 +1383,6 @@ const Higress: ModelProviderCard = {
1999
1383
  functionCall: true,
2000
1384
  id: 'gemini-1.5-flash-latest',
2001
1385
  maxOutput: 8192,
2002
- pricing: {
2003
- cachedInput: 0.018_75,
2004
- input: 0.075,
2005
- output: 0.3,
2006
- },
2007
1386
  vision: true,
2008
1387
  },
2009
1388
  {
@@ -2014,11 +1393,6 @@ const Higress: ModelProviderCard = {
2014
1393
  functionCall: true,
2015
1394
  id: 'gemini-1.5-flash-002',
2016
1395
  maxOutput: 8192,
2017
- pricing: {
2018
- cachedInput: 0.018_75,
2019
- input: 0.075,
2020
- output: 0.3,
2021
- },
2022
1396
  releasedAt: '2024-09-25',
2023
1397
  vision: true,
2024
1398
  },
@@ -2029,11 +1403,6 @@ const Higress: ModelProviderCard = {
2029
1403
  functionCall: true,
2030
1404
  id: 'gemini-1.5-flash-001',
2031
1405
  maxOutput: 8192,
2032
- pricing: {
2033
- cachedInput: 0.018_75,
2034
- input: 0.075,
2035
- output: 0.3,
2036
- },
2037
1406
  vision: true,
2038
1407
  },
2039
1408
  {
@@ -2043,11 +1412,6 @@ const Higress: ModelProviderCard = {
2043
1412
  functionCall: true,
2044
1413
  id: 'gemini-1.5-flash-exp-0827',
2045
1414
  maxOutput: 8192,
2046
- pricing: {
2047
- cachedInput: 0.018_75,
2048
- input: 0.075,
2049
- output: 0.3,
2050
- },
2051
1415
  releasedAt: '2024-08-27',
2052
1416
  vision: true,
2053
1417
  },
@@ -2059,11 +1423,6 @@ const Higress: ModelProviderCard = {
2059
1423
  functionCall: true,
2060
1424
  id: 'gemini-1.5-flash-8b',
2061
1425
  maxOutput: 8192,
2062
- pricing: {
2063
- cachedInput: 0.02,
2064
- input: 0.075,
2065
- output: 0.3,
2066
- },
2067
1426
  releasedAt: '2024-10-03',
2068
1427
  vision: true,
2069
1428
  },
@@ -2075,11 +1434,6 @@ const Higress: ModelProviderCard = {
2075
1434
  functionCall: true,
2076
1435
  id: 'gemini-1.5-flash-8b-exp-0924',
2077
1436
  maxOutput: 8192,
2078
- pricing: {
2079
- cachedInput: 0.018_75,
2080
- input: 0.075,
2081
- output: 0.3,
2082
- },
2083
1437
  releasedAt: '2024-09-24',
2084
1438
  vision: true,
2085
1439
  },
@@ -2092,11 +1446,6 @@ const Higress: ModelProviderCard = {
2092
1446
  functionCall: true,
2093
1447
  id: 'gemini-1.5-pro-latest',
2094
1448
  maxOutput: 8192,
2095
- pricing: {
2096
- cachedInput: 0.875,
2097
- input: 3.5,
2098
- output: 10.5,
2099
- },
2100
1449
  releasedAt: '2024-02-15',
2101
1450
  vision: true,
2102
1451
  },
@@ -2109,11 +1458,6 @@ const Higress: ModelProviderCard = {
2109
1458
  functionCall: true,
2110
1459
  id: 'gemini-1.5-pro-002',
2111
1460
  maxOutput: 8192,
2112
- pricing: {
2113
- cachedInput: 0.315,
2114
- input: 1.25,
2115
- output: 2.5,
2116
- },
2117
1461
  releasedAt: '2024-09-24',
2118
1462
  vision: true,
2119
1463
  },
@@ -2124,11 +1468,6 @@ const Higress: ModelProviderCard = {
2124
1468
  functionCall: true,
2125
1469
  id: 'gemini-1.5-pro-001',
2126
1470
  maxOutput: 8192,
2127
- pricing: {
2128
- cachedInput: 0.875,
2129
- input: 3.5,
2130
- output: 10.5,
2131
- },
2132
1471
  releasedAt: '2024-02-15',
2133
1472
  vision: true,
2134
1473
  },
@@ -2139,11 +1478,6 @@ const Higress: ModelProviderCard = {
2139
1478
  functionCall: true,
2140
1479
  id: 'gemini-1.5-pro-exp-0827',
2141
1480
  maxOutput: 8192,
2142
- pricing: {
2143
- cachedInput: 0.875,
2144
- input: 3.5,
2145
- output: 10.5,
2146
- },
2147
1481
  releasedAt: '2024-08-27',
2148
1482
  vision: true,
2149
1483
  },
@@ -2154,11 +1488,6 @@ const Higress: ModelProviderCard = {
2154
1488
  functionCall: true,
2155
1489
  id: 'gemini-1.5-pro-exp-0801',
2156
1490
  maxOutput: 8192,
2157
- pricing: {
2158
- cachedInput: 0.875,
2159
- input: 3.5,
2160
- output: 10.5,
2161
- },
2162
1491
  releasedAt: '2024-08-01',
2163
1492
  vision: true,
2164
1493
  },
@@ -2168,10 +1497,6 @@ const Higress: ModelProviderCard = {
2168
1497
  displayName: 'Gemini 1.0 Pro',
2169
1498
  id: 'gemini-1.0-pro-latest',
2170
1499
  maxOutput: 2048,
2171
- pricing: {
2172
- input: 0.5,
2173
- output: 1.5,
2174
- },
2175
1500
  releasedAt: '2023-12-06',
2176
1501
  },
2177
1502
  {
@@ -2182,10 +1507,6 @@ const Higress: ModelProviderCard = {
2182
1507
  functionCall: true,
2183
1508
  id: 'gemini-1.0-pro-001',
2184
1509
  maxOutput: 2048,
2185
- pricing: {
2186
- input: 0.5,
2187
- output: 1.5,
2188
- },
2189
1510
  releasedAt: '2023-12-06',
2190
1511
  },
2191
1512
  {
@@ -2194,10 +1515,6 @@ const Higress: ModelProviderCard = {
2194
1515
  displayName: 'Gemini 1.0 Pro 002 (Tuning)',
2195
1516
  id: 'gemini-1.0-pro-002',
2196
1517
  maxOutput: 2048,
2197
- pricing: {
2198
- input: 0.5,
2199
- output: 1.5,
2200
- },
2201
1518
  releasedAt: '2023-12-06',
2202
1519
  },
2203
1520
  //mistral
@@ -2210,10 +1527,6 @@ const Higress: ModelProviderCard = {
2210
1527
  enabled: true,
2211
1528
  functionCall: true,
2212
1529
  id: 'open-mistral-nemo',
2213
- pricing: {
2214
- input: 0.15,
2215
- output: 0.15,
2216
- },
2217
1530
  },
2218
1531
  {
2219
1532
  contextWindowTokens: 128_000,
@@ -2223,10 +1536,6 @@ const Higress: ModelProviderCard = {
2223
1536
  enabled: true,
2224
1537
  functionCall: true,
2225
1538
  id: 'mistral-small-latest',
2226
- pricing: {
2227
- input: 0.2,
2228
- output: 0.6,
2229
- },
2230
1539
  },
2231
1540
  {
2232
1541
  contextWindowTokens: 128_000,
@@ -2236,20 +1545,12 @@ const Higress: ModelProviderCard = {
2236
1545
  enabled: true,
2237
1546
  functionCall: true,
2238
1547
  id: 'mistral-large-latest',
2239
- pricing: {
2240
- input: 2,
2241
- output: 6,
2242
- },
2243
1548
  },
2244
1549
  {
2245
1550
  contextWindowTokens: 32_768,
2246
1551
  description: 'Codestral是专注于代码生成的尖端生成模型,优化了中间填充和代码补全任务。',
2247
1552
  displayName: 'Codestral',
2248
1553
  id: 'codestral-latest',
2249
- pricing: {
2250
- input: 0.2,
2251
- output: 0.6,
2252
- },
2253
1554
  },
2254
1555
  {
2255
1556
  contextWindowTokens: 128_000,
@@ -2258,10 +1559,6 @@ const Higress: ModelProviderCard = {
2258
1559
  displayName: 'Pixtral 12B',
2259
1560
  enabled: true,
2260
1561
  id: 'pixtral-12b-2409',
2261
- pricing: {
2262
- input: 0.15,
2263
- output: 0.15,
2264
- },
2265
1562
  vision: true,
2266
1563
  },
2267
1564
  {
@@ -2269,20 +1566,12 @@ const Higress: ModelProviderCard = {
2269
1566
  description: 'Ministral 3B 是Mistral的世界顶级边缘模型。',
2270
1567
  displayName: 'Ministral 3B',
2271
1568
  id: 'ministral-3b-latest',
2272
- pricing: {
2273
- input: 0.04,
2274
- output: 0.04,
2275
- },
2276
1569
  },
2277
1570
  {
2278
1571
  contextWindowTokens: 128_000,
2279
1572
  description: 'Ministral 8B 是Mistral的性价比极高的边缘模型。',
2280
1573
  displayName: 'Ministral 8B',
2281
1574
  id: 'ministral-8b-latest',
2282
- pricing: {
2283
- input: 0.1,
2284
- output: 0.1,
2285
- },
2286
1575
  },
2287
1576
  {
2288
1577
  contextWindowTokens: 32_768,
@@ -2290,10 +1579,6 @@ const Higress: ModelProviderCard = {
2290
1579
  'Mistral 7B是一款紧凑但高性能的模型,擅长批量处理和简单任务,如分类和文本生成,具有良好的推理能力。',
2291
1580
  displayName: 'Mistral 7B',
2292
1581
  id: 'open-mistral-7b',
2293
- pricing: {
2294
- input: 0.25,
2295
- output: 0.25,
2296
- },
2297
1582
  },
2298
1583
  {
2299
1584
  contextWindowTokens: 32_768,
@@ -2301,10 +1586,6 @@ const Higress: ModelProviderCard = {
2301
1586
  'Mixtral 8x7B是一个稀疏专家模型,利用多个参数提高推理速度,适合处理多语言和代码生成任务。',
2302
1587
  displayName: 'Mixtral 8x7B',
2303
1588
  id: 'open-mixtral-8x7b',
2304
- pricing: {
2305
- input: 0.7,
2306
- output: 0.7,
2307
- },
2308
1589
  },
2309
1590
  {
2310
1591
  contextWindowTokens: 65_536,
@@ -2313,10 +1594,6 @@ const Higress: ModelProviderCard = {
2313
1594
  displayName: 'Mixtral 8x22B',
2314
1595
  functionCall: true,
2315
1596
  id: 'open-mixtral-8x22b',
2316
- pricing: {
2317
- input: 2,
2318
- output: 6,
2319
- },
2320
1597
  },
2321
1598
  {
2322
1599
  contextWindowTokens: 256_000,
@@ -2324,10 +1601,6 @@ const Higress: ModelProviderCard = {
2324
1601
  'Codestral Mamba是专注于代码生成的Mamba 2语言模型,为先进的代码和推理任务提供强力支持。',
2325
1602
  displayName: 'Codestral Mamba',
2326
1603
  id: 'open-codestral-mamba',
2327
- pricing: {
2328
- input: 0.15,
2329
- output: 0.15,
2330
- },
2331
1604
  },
2332
1605
  //minimax
2333
1606
  {