forked from lobehub/lobe-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhigress.ts
2491 lines (2486 loc) · 78.5 KB
/
higress.ts
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
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import { ModelProviderCard } from '@/types/llm';
const Higress: ModelProviderCard = {
chatModels: [
//qwen
{
contextWindowTokens: 131_072,
description: '通义千问超大规模语言模型,支持中文、英文等不同语言输入。',
displayName: 'Qwen Turbo',
enabled: true,
functionCall: true,
id: 'qwen-turbo',
pricing: {
currency: 'CNY',
input: 0.3,
output: 0.6,
},
},
{
contextWindowTokens: 131_072,
description: '通义千问超大规模语言模型增强版,支持中文、英文等不同语言输入。',
displayName: 'Qwen Plus',
enabled: true,
functionCall: true,
id: 'qwen-plus',
pricing: {
currency: 'CNY',
input: 0.8,
output: 2,
},
},
{
contextWindowTokens: 32_768,
description:
'通义千问千亿级别超大规模语言模型,支持中文、英文等不同语言输入,当前通义千问2.5产品版本背后的API模型。',
displayName: 'Qwen Max',
enabled: true,
functionCall: true,
id: 'qwen-max',
pricing: {
currency: 'CNY',
input: 20,
output: 60,
},
},
{
contextWindowTokens: 1_000_000,
description:
'通义千问超大规模语言模型,支持长文本上下文,以及基于长文档、多文档等多个场景的对话功能。',
displayName: 'Qwen Long',
id: 'qwen-long',
pricing: {
currency: 'CNY',
input: 0.5,
output: 2,
},
},
//后面几个qwen未知支持
{
contextWindowTokens: 32_000,
description:
'通义千问大规模视觉语言模型增强版。大幅提升细节识别能力和文字识别能力,支持超百万像素分辨率和任意长宽比规格的图像。',
displayName: 'Qwen VL Plus',
enabled: true,
id: 'qwen-vl-plus-latest',
pricing: {
currency: 'CNY',
input: 8,
output: 8,
},
vision: true,
},
{
contextWindowTokens: 32_000,
description:
'通义千问超大规模视觉语言模型。相比增强版,再次提升视觉推理能力和指令遵循能力,提供更高的视觉感知和认知水平。',
displayName: 'Qwen VL Max',
enabled: true,
id: 'qwen-vl-max-latest',
pricing: {
currency: 'CNY',
input: 20,
output: 20,
},
vision: true,
},
{
contextWindowTokens: 4096,
description: '通义千问数学模型是专门用于数学解题的语言模型。',
displayName: 'Qwen Math Turbo',
id: 'qwen-math-turbo-latest',
pricing: {
currency: 'CNY',
input: 2,
output: 6,
},
},
{
contextWindowTokens: 4096,
description: '通义千问数学模型是专门用于数学解题的语言模型。',
displayName: 'Qwen Math Plus',
id: 'qwen-math-plus-latest',
pricing: {
currency: 'CNY',
input: 4,
output: 12,
},
},
{
contextWindowTokens: 131_072,
description: '通义千问代码模型。',
displayName: 'Qwen Coder Turbo',
id: 'qwen-coder-turbo-latest',
pricing: {
currency: 'CNY',
input: 2,
output: 6,
},
},
{
contextWindowTokens: 131_072,
description: '通义千问2.5对外开源的7B规模的模型。',
displayName: 'Qwen2.5 7B',
functionCall: true,
id: 'qwen2.5-7b-instruct',
pricing: {
currency: 'CNY',
input: 1,
output: 2,
},
},
{
contextWindowTokens: 131_072,
description: '通义千问2.5对外开源的14B规模的模型。',
displayName: 'Qwen2.5 14B',
functionCall: true,
id: 'qwen2.5-14b-instruct',
pricing: {
currency: 'CNY',
input: 2,
output: 6,
},
},
{
contextWindowTokens: 131_072,
description: '通义千问2.5对外开源的32B规模的模型。',
displayName: 'Qwen2.5 32B',
functionCall: true,
id: 'qwen2.5-32b-instruct',
pricing: {
currency: 'CNY',
input: 3.5,
output: 7,
},
},
{
contextWindowTokens: 131_072,
description: '通义千问2.5对外开源的72B规模的模型。',
displayName: 'Qwen2.5 72B',
functionCall: true,
id: 'qwen2.5-72b-instruct',
pricing: {
currency: 'CNY',
input: 4,
output: 12,
},
},
{
contextWindowTokens: 4096,
description: 'Qwen-Math 模型具有强大的数学解题能力。',
displayName: 'Qwen2.5 Math 1.5B',
id: 'qwen2.5-math-1.5b-instruct',
pricing: {
currency: 'CNY',
input: 0,
output: 0,
},
},
{
contextWindowTokens: 4096,
description: 'Qwen-Math 模型具有强大的数学解题能力。',
displayName: 'Qwen2.5 Math 7B',
id: 'qwen2.5-math-7b-instruct',
pricing: {
currency: 'CNY',
input: 1,
output: 2,
},
},
{
contextWindowTokens: 4096,
description: 'Qwen-Math 模型具有强大的数学解题能力。',
displayName: 'Qwen2.5 Math 72B',
id: 'qwen2.5-math-72b-instruct',
pricing: {
currency: 'CNY',
input: 4,
output: 12,
},
},
{
contextWindowTokens: 131_072,
description: '通义千问代码模型开源版。',
displayName: 'Qwen2.5 Coder 1.5B',
id: 'qwen2.5-coder-1.5b-instruct',
pricing: {
currency: 'CNY',
input: 0,
output: 0,
},
},
{
contextWindowTokens: 131_072,
description: '通义千问代码模型开源版。',
displayName: 'Qwen2.5 Coder 7B',
id: 'qwen2.5-coder-7b-instruct',
pricing: {
currency: 'CNY',
input: 1,
output: 2,
},
},
{
contextWindowTokens: 8000,
description: '以 Qwen-7B 语言模型初始化,添加图像模型,图像输入分辨率为448的预训练模型。',
displayName: 'Qwen VL',
id: 'qwen-vl-v1',
pricing: {
currency: 'CNY',
input: 0,
output: 0,
},
vision: true,
},
{
contextWindowTokens: 8000,
description: '通义千问VL支持灵活的交互方式,包括多图、多轮问答、创作等能力的模型。',
displayName: 'Qwen VL Chat',
id: 'qwen-vl-chat-v1',
pricing: {
currency: 'CNY',
input: 0,
output: 0,
},
vision: true,
},
//moonshot
{
contextWindowTokens: 8192,
description:
'Moonshot V1 8K 专为生成短文本任务设计,具有高效的处理性能,能够处理8,192个tokens,非常适合简短对话、速记和快速内容生成。',
displayName: 'Moonshot V1 8K',
enabled: true,
functionCall: true,
id: 'moonshot-v1-8k',
},
{
contextWindowTokens: 32_768,
description:
'Moonshot V1 32K 提供中等长度的上下文处理能力,能够处理32,768个tokens,特别适合生成各种长文档和复杂对话,应用于内容创作、报告生成和对话系统等领域。',
displayName: 'Moonshot V1 32K',
enabled: true,
functionCall: true,
id: 'moonshot-v1-32k',
},
{
contextWindowTokens: 128_000,
description:
'Moonshot V1 128K 是一款拥有超长上下文处理能力的模型,适用于生成超长文本,满足复杂的生成任务需求,能够处理多达128,000个tokens的内容,非常适合科研、学术和大型文档生成等应用场景。',
displayName: 'Moonshot V1 128K',
enabled: true,
functionCall: true,
id: 'moonshot-v1-128k',
},
//百川智能
{
contextWindowTokens: 32_768,
description:
'模型能力国内第一,在知识百科、长文本、生成创作等中文任务上超越国外主流模型。还具备行业领先的多模态能力,多项权威评测基准表现优异。',
displayName: 'Baichuan 4',
enabled: true,
functionCall: true,
id: 'Baichuan4',
maxOutput: 4096,
pricing: {
currency: 'CNY',
input: 100,
output: 100,
},
},
{
description: '',
displayName: 'Baichuan 4 Turbo',
enabled: true,
functionCall: true,
id: 'Baichuan4-Turbo',
// maxOutput: 4096,
// pricing: {
// currency: 'CNY',
// input: 100,
// output: 100,
// },
// tokens: 32_768,
},
{
description: '',
displayName: 'Baichuan 4 Air',
enabled: true,
functionCall: true,
id: 'Baichuan4-Air',
// maxOutput: 4096,
// pricing: {
// currency: 'CNY',
// input: 100,
// output: 100,
// },
// tokens: 32_768,
},
{
contextWindowTokens: 32_768,
description:
'针对企业高频场景优化,效果大幅提升,高性价比。相对于Baichuan2模型,内容创作提升20%,知识问答提升17%, 角色扮演能力提升40%。整体效果比GPT3.5更优。',
displayName: 'Baichuan 3 Turbo',
enabled: true,
functionCall: true,
id: 'Baichuan3-Turbo',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 12,
output: 12,
},
},
{
contextWindowTokens: 128_000,
description:
'具备 128K 超长上下文窗口,针对企业高频场景优化,效果大幅提升,高性价比。相对于Baichuan2模型,内容创作提升20%,知识问答提升17%, 角色扮演能力提升40%。整体效果比GPT3.5更优。',
displayName: 'Baichuan 3 Turbo 128k',
enabled: true,
id: 'Baichuan3-Turbo-128k',
maxOutput: 4096,
pricing: {
currency: 'CNY',
input: 24,
output: 24,
},
},
{
contextWindowTokens: 32_768,
description:
'采用搜索增强技术实现大模型与领域知识、全网知识的全面链接。支持PDF、Word等多种文档上传及网址输入,信息获取及时、全面,输出结果准确、专业。',
displayName: 'Baichuan 2 Turbo',
id: 'Baichuan2-Turbo',
maxOutput: 8192,
pricing: {
currency: 'CNY',
input: 8,
output: 8,
},
},
//零一万物
{
contextWindowTokens: 16_384,
description: '最新高性能模型,保证高质量输出同时,推理速度大幅提升。',
displayName: 'Yi Lightning',
enabled: true,
id: 'yi-lightning',
pricing: {
currency: 'CNY',
input: 0.99,
output: 0.99,
},
},
{
contextWindowTokens: 16_384,
description: '小而精悍,轻量极速模型。提供强化数学运算和代码编写能力。',
displayName: 'Yi Spark',
enabled: true,
id: 'yi-spark',
pricing: {
currency: 'CNY',
input: 1,
output: 1,
},
},
{
contextWindowTokens: 16_384,
description: '中型尺寸模型升级微调,能力均衡,性价比高。深度优化指令遵循能力。',
displayName: 'Yi Medium',
enabled: true,
id: 'yi-medium',
pricing: {
currency: 'CNY',
input: 2.5,
output: 2.5,
},
},
{
contextWindowTokens: 200_000,
description: '200K 超长上下文窗口,提供长文本深度理解和生成能力。',
displayName: 'Yi Medium 200K',
enabled: true,
id: 'yi-medium-200k',
pricing: {
currency: 'CNY',
input: 12,
output: 12,
},
},
{
contextWindowTokens: 16_384,
description: '超高性价比、卓越性能。根据性能和推理速度、成本,进行平衡性高精度调优。',
displayName: 'Yi Large Turbo',
enabled: true,
id: 'yi-large-turbo',
pricing: {
currency: 'CNY',
input: 12,
output: 12,
},
},
{
contextWindowTokens: 16_384,
description:
'基于 yi-large 超强模型的高阶服务,结合检索与生成技术提供精准答案,实时全网检索信息服务。',
displayName: 'Yi Large RAG',
enabled: true,
id: 'yi-large-rag',
pricing: {
currency: 'CNY',
input: 25,
output: 25,
},
},
{
contextWindowTokens: 32_768,
description:
'在 yi-large 模型的基础上支持并强化了工具调用的能力,适用于各种需要搭建 agent 或 workflow 的业务场景。',
displayName: 'Yi Large FC',
enabled: true,
functionCall: true,
id: 'yi-large-fc',
pricing: {
currency: 'CNY',
input: 20,
output: 20,
},
},
{
contextWindowTokens: 32_768,
description: '全新千亿参数模型,提供超强问答及文本生成能力。',
displayName: 'Yi Large',
id: 'yi-large',
pricing: {
currency: 'CNY',
input: 20,
output: 20,
},
},
{
contextWindowTokens: 16_384,
description: '复杂视觉任务模型,提供高性能图片理解、分析能力。',
displayName: 'Yi Vision',
enabled: true,
id: 'yi-vision',
pricing: {
currency: 'CNY',
input: 6,
output: 6,
},
vision: true,
},
{
contextWindowTokens: 16_384,
description: '初期版本,推荐使用 yi-large(新版本)。',
displayName: 'Yi Large Preview',
id: 'yi-large-preview',
pricing: {
currency: 'CNY',
input: 20,
output: 20,
},
},
{
contextWindowTokens: 16_384,
description: '轻量化版本,推荐使用 yi-lightning。',
displayName: 'Yi Lightning Lite',
id: 'yi-lightning-lite',
pricing: {
currency: 'CNY',
input: 0.99,
output: 0.99,
},
},
//智谱AI
{
contextWindowTokens: 128_000,
description: 'GLM-4-Flash 是处理简单任务的理想选择,速度最快且免费。',
displayName: 'GLM-4-Flash',
enabled: true,
functionCall: true,
id: 'glm-4-flash',
pricing: {
currency: 'CNY',
input: 0,
output: 0,
},
},
{
contextWindowTokens: 128_000,
description: 'GLM-4-FlashX 是Flash的增强版本,超快推理速度。',
displayName: 'GLM-4-FlashX',
enabled: true,
functionCall: true,
id: 'glm-4-flashx',
pricing: {
currency: 'CNY',
input: 0.1,
output: 0.1,
},
},
{
contextWindowTokens: 1_024_000,
description: 'GLM-4-Long 支持超长文本输入,适合记忆型任务与大规模文档处理。',
displayName: 'GLM-4-Long',
functionCall: true,
id: 'glm-4-long',
pricing: {
currency: 'CNY',
input: 1,
output: 1,
},
},
{
contextWindowTokens: 128_000,
description: 'GLM-4-Air 是性价比高的版本,性能接近GLM-4,提供快速度和实惠的价格。',
displayName: 'GLM-4-Air',
enabled: true,
functionCall: true,
id: 'glm-4-air',
pricing: {
currency: 'CNY',
input: 1,
output: 1,
},
},
{
contextWindowTokens: 8192,
description: 'GLM-4-AirX 提供 GLM-4-Air 的高效版本,推理速度可达其2.6倍。',
displayName: 'GLM-4-AirX',
enabled: true,
functionCall: true,
id: 'glm-4-airx',
pricing: {
currency: 'CNY',
input: 10,
output: 10,
},
},
{
contextWindowTokens: 128_000,
description:
'GLM-4-AllTools 是一个多功能智能体模型,优化以支持复杂指令规划与工具调用,如网络浏览、代码解释和文本生成,适用于多任务执行。',
displayName: 'GLM-4-AllTools',
functionCall: true,
id: 'glm-4-alltools',
pricing: {
currency: 'CNY',
input: 100,
output: 100,
},
},
{
contextWindowTokens: 128_000,
description:
'GLM-4-Plus 作为高智能旗舰,具备强大的处理长文本和复杂任务的能力,性能全面提升。',
displayName: 'GLM-4-Plus',
enabled: true,
functionCall: true,
id: 'glm-4-plus',
pricing: {
currency: 'CNY',
input: 50,
output: 50,
},
},
{
contextWindowTokens: 128_000,
description: 'GLM-4-0520 是最新模型版本,专为高度复杂和多样化任务设计,表现卓越。',
displayName: 'GLM-4-0520',
functionCall: true,
id: 'glm-4-0520',
pricing: {
currency: 'CNY',
input: 100,
output: 100,
},
},
{
contextWindowTokens: 128_000,
description: 'GLM-4 是发布于2024年1月的旧旗舰版本,目前已被更强的 GLM-4-0520 取代。',
displayName: 'GLM-4',
functionCall: true,
id: 'glm-4',
pricing: {
currency: 'CNY',
input: 100,
output: 100,
},
},
{
contextWindowTokens: 8192,
description: 'GLM-4V-Plus 具备对视频内容及多图片的理解能力,适合多模态任务。',
displayName: 'GLM-4V-Plus',
enabled: true,
id: 'glm-4v-plus',
pricing: {
currency: 'CNY',
input: 10,
output: 10,
},
vision: true,
},
{
contextWindowTokens: 2048,
description: 'GLM-4V 提供强大的图像理解与推理能力,支持多种视觉任务。',
displayName: 'GLM-4V',
id: 'glm-4v',
pricing: {
currency: 'CNY',
input: 50,
output: 50,
},
vision: true,
},
{
contextWindowTokens: 4096,
description: 'CharGLM-3 专为角色扮演与情感陪伴设计,支持超长多轮记忆与个性化对话,应用广泛。',
displayName: 'CharGLM-3',
id: 'charglm-3',
pricing: {
currency: 'CNY',
input: 15,
output: 15,
},
},
{
contextWindowTokens: 8192,
description: 'Emohaa 是心理模型,具备专业咨询能力,帮助用户理解情感问题。',
displayName: 'Emohaa',
id: 'emohaa',
pricing: {
currency: 'CNY',
input: 15,
output: 15,
},
},
//360智脑
{
contextWindowTokens: 8192,
description:
'360GPT2 Pro 是 360 公司推出的高级自然语言处理模型,具备卓越的文本生成和理解能力,尤其在生成与创作领域表现出色,能够处理复杂的语言转换和角色演绎任务。',
displayName: '360GPT2 Pro',
enabled: true,
id: '360gpt2-pro',
maxOutput: 7000,
pricing: {
currency: 'CNY',
input: 5,
output: 5,
},
},
{
contextWindowTokens: 8192,
description:
'360GPT Pro 作为 360 AI 模型系列的重要成员,以高效的文本处理能力满足多样化的自然语言应用场景,支持长文本理解和多轮对话等功能。',
displayName: '360GPT Pro',
enabled: true,
functionCall: true,
id: '360gpt-pro',
maxOutput: 7000,
pricing: {
currency: 'CNY',
input: 5,
output: 5,
},
},
{
contextWindowTokens: 8192,
description:
'360GPT Turbo 提供强大的计算和对话能力,具备出色的语义理解和生成效率,是企业和开发者理想的智能助理解决方案。',
displayName: '360GPT Turbo',
enabled: true,
id: '360gpt-turbo',
maxOutput: 7000,
pricing: {
currency: 'CNY',
input: 2,
output: 2,
},
},
{
contextWindowTokens: 8192,
description:
'360GPT Turbo Responsibility 8K 强调语义安全和责任导向,专为对内容安全有高度要求的应用场景设计,确保用户体验的准确性与稳健性。',
displayName: '360GPT Turbo Responsibility 8K',
enabled: true,
id: '360gpt-turbo-responsibility-8k',
maxOutput: 2048,
pricing: {
currency: 'CNY',
input: 2,
output: 2,
},
},
//文心一言
{
contextWindowTokens: 8192,
description:
'百度自研的旗舰级大规模⼤语⾔模型,覆盖海量中英文语料,具有强大的通用能力,可满足绝大部分对话问答、创作生成、插件应用场景要求;支持自动对接百度搜索插件,保障问答信息时效。',
displayName: 'ERNIE 3.5 8K',
enabled: true,
id: 'ERNIE-3.5-8K',
pricing: {
currency: 'CNY',
input: 0.8,
output: 2,
},
},
{
contextWindowTokens: 8192,
description:
'百度自研的旗舰级大规模⼤语⾔模型,覆盖海量中英文语料,具有强大的通用能力,可满足绝大部分对话问答、创作生成、插件应用场景要求;支持自动对接百度搜索插件,保障问答信息时效。',
displayName: 'ERNIE 3.5 8K Preview',
id: 'ERNIE-3.5-8K-Preview',
pricing: {
currency: 'CNY',
input: 0.8,
output: 2,
},
},
{
contextWindowTokens: 128_000,
description:
'百度自研的旗舰级大规模⼤语⾔模型,覆盖海量中英文语料,具有强大的通用能力,可满足绝大部分对话问答、创作生成、插件应用场景要求;支持自动对接百度搜索插件,保障问答信息时效。',
displayName: 'ERNIE 3.5 128K',
enabled: true,
id: 'ERNIE-3.5-128K',
pricing: {
currency: 'CNY',
input: 0.8,
output: 2,
},
},
{
contextWindowTokens: 8192,
description:
'百度自研的旗舰级超大规模⼤语⾔模型,相较ERNIE 3.5实现了模型能力全面升级,广泛适用于各领域复杂任务场景;支持自动对接百度搜索插件,保障问答信息时效。',
displayName: 'ERNIE 4.0 8K',
enabled: true,
id: 'ERNIE-4.0-8K-Latest',
pricing: {
currency: 'CNY',
input: 30,
output: 90,
},
},
{
contextWindowTokens: 8192,
description:
'百度自研的旗舰级超大规模⼤语⾔模型,相较ERNIE 3.5实现了模型能力全面升级,广泛适用于各领域复杂任务场景;支持自动对接百度搜索插件,保障问答信息时效。',
displayName: 'ERNIE 4.0 8K Preview',
id: 'ERNIE-4.0-8K-Preview',
pricing: {
currency: 'CNY',
input: 30,
output: 90,
},
},
{
contextWindowTokens: 8192,
description:
'百度自研的旗舰级超大规模⼤语⾔模型,综合效果表现出色,广泛适用于各领域复杂任务场景;支持自动对接百度搜索插件,保障问答信息时效。相较于ERNIE 4.0在性能表现上更优秀',
displayName: 'ERNIE 4.0 Turbo 8K',
enabled: true,
id: 'ERNIE-4.0-Turbo-8K-Latest',
pricing: {
currency: 'CNY',
input: 20,
output: 60,
},
},
{
contextWindowTokens: 8192,
description:
'百度自研的旗舰级超大规模⼤语⾔模型,综合效果表现出色,广泛适用于各领域复杂任务场景;支持自动对接百度搜索插件,保障问答信息时效。相较于ERNIE 4.0在性能表现上更优秀',
displayName: 'ERNIE 4.0 Turbo 8K Preview',
id: 'ERNIE-4.0-Turbo-8K-Preview',
pricing: {
currency: 'CNY',
input: 20,
output: 60,
},
},
{
contextWindowTokens: 128_000,
description:
'百度自研的轻量级大语言模型,兼顾优异的模型效果与推理性能,效果比ERNIE Lite更优,适合低算力AI加速卡推理使用。',
displayName: 'ERNIE Lite Pro 128K',
enabled: true,
id: 'ERNIE-Lite-Pro-128K',
pricing: {
currency: 'CNY',
input: 0.2,
output: 0.4,
},
},
{
contextWindowTokens: 128_000,
description:
'百度2024年最新发布的自研高性能大语言模型,通用能力优异,效果比ERNIE Speed更优,适合作为基座模型进行精调,更好地处理特定场景问题,同时具备极佳的推理性能。',
displayName: 'ERNIE Speed Pro 128K',
enabled: true,
id: 'ERNIE-Speed-Pro-128K',
pricing: {
currency: 'CNY',
input: 0.3,
output: 0.6,
},
},
{
contextWindowTokens: 128_000,
description:
'百度2024年最新发布的自研高性能大语言模型,通用能力优异,适合作为基座模型进行精调,更好地处理特定场景问题,同时具备极佳的推理性能。',
displayName: 'ERNIE Speed 128K',
id: 'ERNIE-Speed-128K',
pricing: {
currency: 'CNY',
input: 0,
output: 0,
},
},
{
contextWindowTokens: 8192,
description:
'百度自研的垂直场景大语言模型,适合游戏NPC、客服对话、对话角色扮演等应用场景,人设风格更为鲜明、一致,指令遵循能力更强,推理性能更优。',
displayName: 'ERNIE Character 8K',
id: 'ERNIE-Character-8K',
pricing: {
currency: 'CNY',
input: 4,
output: 8,
},
},
//混元
{
contextWindowTokens: 256_000,
description:
'升级为 MOE 结构,上下文窗口为 256k ,在 NLP,代码,数学,行业等多项评测集上领先众多开源模型。',
displayName: 'Hunyuan Lite',
enabled: true,
id: 'hunyuan-lite',
maxOutput: 6000,
pricing: {
currency: 'CNY',
input: 0,
output: 0,
},
},
{
contextWindowTokens: 32_000,
description:
'采用更优的路由策略,同时缓解了负载均衡和专家趋同的问题。长文方面,大海捞针指标达到99.9%。MOE-32K 性价比相对更高,在平衡效果、价格的同时,可对实现对长文本输入的处理。',
displayName: 'Hunyuan Standard',
enabled: true,
id: 'hunyuan-standard',
maxOutput: 2000,
pricing: {
currency: 'CNY',
input: 4.5,
output: 5,
},
},
{
contextWindowTokens: 256_000,
description:
'采用更优的路由策略,同时缓解了负载均衡和专家趋同的问题。长文方面,大海捞针指标达到99.9%。MOE-256K 在长度和效果上进一步突破,极大的扩展了可输入长度。',
displayName: 'Hunyuan Standard 256K',
enabled: true,
id: 'hunyuan-standard-256K',
maxOutput: 6000,
pricing: {
currency: 'CNY',
input: 15,
output: 60,
},
},
{
contextWindowTokens: 32_000,
description:
'混元全新一代大语言模型的预览版,采用全新的混合专家模型(MoE)结构,相比hunyuan-pro推理效率更快,效果表现更强。',
displayName: 'Hunyuan Turbo',
enabled: true,
functionCall: true,
id: 'hunyuan-turbo',
maxOutput: 4000,
pricing: {
currency: 'CNY',
input: 15,
output: 50,
},
},
{
contextWindowTokens: 32_000,
description:
'万亿级参数规模 MOE-32K 长文模型。在各种 benchmark 上达到绝对领先的水平,复杂指令和推理,具备复杂数学能力,支持 functioncall,在多语言翻译、金融法律医疗等领域应用重点优化。',
displayName: 'Hunyuan Pro',
enabled: true,
functionCall: true,
id: 'hunyuan-pro',
maxOutput: 4000,
pricing: {
currency: 'CNY',
input: 30,
output: 100,
},
},
{
description: '',
displayName: 'Hunyuan Large',
enabled: true,
functionCall: true,
id: 'hunyuan-large',
// maxOutput: 4000,
// pricing: {
// currency: 'CNY',
// input: 30,
// output: 100,
// },
// tokens: 32_000,
},
{
contextWindowTokens: 8000,
description: '混元最新多模态模型,支持图片+文本输入生成文本内容。',
displayName: 'Hunyuan Vision',
enabled: true,
id: 'hunyuan-vision',
maxOutput: 4000,
pricing: {
currency: 'CNY',
input: 18,
output: 18,
},
vision: true,
},
{
contextWindowTokens: 8000,
description:
'混元最新代码生成模型,经过 200B 高质量代码数据增训基座模型,迭代半年高质量 SFT 数据训练,上下文长窗口长度增大到 8K,五大语言代码生成自动评测指标上位居前列;五大语言10项考量各方面综合代码任务人工高质量评测上,性能处于第一梯队',
displayName: 'Hunyuan Code',
id: 'hunyuan-code',
maxOutput: 4000,
pricing: {
currency: 'CNY',
input: 4,
output: 8,
},
},
{
contextWindowTokens: 32_000,
description:
'混元最新 MOE 架构 FunctionCall 模型,经过高质量的 FunctionCall 数据训练,上下文窗口达 32K,在多个维度的评测指标上处于领先。',
displayName: 'Hunyuan FunctionCall',
functionCall: true,
id: 'hunyuan-functioncall',
maxOutput: 4000,
pricing: {
currency: 'CNY',
input: 4,
output: 8,
},
},
{
contextWindowTokens: 8000,
description:
'混元最新版角色扮演模型,混元官方精调训练推出的角色扮演模型,基于混元模型结合角色扮演场景数据集进行增训,在角色扮演场景具有更好的基础效果。',
displayName: 'Hunyuan Role',
id: 'hunyuan-role',
maxOutput: 4000,
pricing: {
currency: 'CNY',
input: 4,
output: 8,
},
},
//阶跃星辰
{
contextWindowTokens: 8000,
description: '高速模型,适合实时对话。',