-
Notifications
You must be signed in to change notification settings - Fork 292
/
models.yaml
1726 lines (1697 loc) · 49.6 KB
/
models.yaml
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
# Notes:
# - do not submit pull requests to add new models; this list will be updated in batches with new releases.
# Links:
# - https://platform.openai.com/docs/models
# - https://openai.com/pricing
# - https://platform.openai.com/docs/api-reference/chat
- platform: openai
models:
- name: gpt-4o
max_input_tokens: 128000
max_output_tokens: 16384
input_price: 2.5
output_price: 10
supports_vision: true
supports_function_calling: true
- name: gpt-4o-2024-05-13
max_input_tokens: 128000
max_output_tokens: 4096
input_price: 5
output_price: 15
supports_vision: true
supports_function_calling: true
- name: chatgpt-4o-latest
max_input_tokens: 128000
max_output_tokens: 16384
input_price: 5
output_price: 15
supports_vision: true
supports_function_calling: true
- name: gpt-4o-mini
max_input_tokens: 128000
max_output_tokens: 16384
input_price: 0.15
output_price: 0.6
supports_vision: true
supports_function_calling: true
- name: gpt-4-turbo
max_input_tokens: 128000
max_output_tokens: 4096
input_price: 10
output_price: 30
supports_vision: true
supports_function_calling: true
- name: o1-preview
max_input_tokens: 128000
max_output_tokens: 32768
input_price: 15
output_price: 60
no_stream: true
no_system_message: true
- name: o1-mini
max_input_tokens: 128000
max_output_tokens: 65536
input_price: 3
output_price: 12
no_stream: true
no_system_message: true
- name: gpt-3.5-turbo
max_input_tokens: 16385
max_output_tokens: 4096
input_price: 0.5
output_price: 1.5
supports_function_calling: true
- name: text-embedding-3-large
type: embedding
input_price: 0.13
max_tokens_per_chunk: 8191
default_chunk_size: 3000
max_batch_size: 100
- name: text-embedding-3-small
type: embedding
input_price: 0.02
max_tokens_per_chunk: 8191
default_chunk_size: 3000
max_batch_size: 100
# Links:
# - https://ai.google.dev/models/gemini
# - https://ai.google.dev/pricing
# - https://ai.google.dev/api/rest/v1beta/models/streamGenerateContent
- platform: gemini
models:
- name: gemini-1.5-pro-latest
max_input_tokens: 2097152
max_output_tokens: 8192
input_price: 0
output_price: 0
supports_vision: true
supports_function_calling: true
- name: gemini-1.5-flash-latest
max_input_tokens: 1048576
max_output_tokens: 8192
input_price: 0
output_price: 0
supports_vision: true
supports_function_calling: true
- name: gemini-1.5-flash-8b-latest
max_input_tokens: 1048576
max_output_tokens: 8192
input_price: 0
output_price: 0
supports_vision: true
supports_function_calling: true
- name: gemini-1.0-pro-latest
max_input_tokens: 30720
max_output_tokens: 2048
input_price: 0
output_price: 0
supports_function_calling: true
no_system_message: true
- name: text-embedding-004
type: embedding
input_price: 0
max_tokens_per_chunk: 2048
default_chunk_size: 1500
max_batch_size: 100
# Links:
# - https://docs.anthropic.com/claude/docs/models-overview
# - https://docs.anthropic.com/claude/reference/messages-streaming
- platform: claude
models:
- name: claude-3-5-sonnet-latest
max_input_tokens: 200000
max_output_tokens: 8192
require_max_tokens: true
input_price: 3
output_price: 15
supports_vision: true
supports_function_calling: true
- name: claude-3-5-haiku-latest
max_input_tokens: 200000
max_output_tokens: 8192
require_max_tokens: true
input_price: 1
output_price: 5
supports_vision: true
supports_function_calling: true
- name: claude-3-opus-20240229
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
input_price: 15
output_price: 75
supports_vision: true
supports_function_calling: true
- name: claude-3-sonnet-20240229
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
input_price: 3
output_price: 15
supports_vision: true
supports_function_calling: true
- name: claude-3-haiku-20240307
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
input_price: 0.25
output_price: 1.25
supports_vision: true
supports_function_calling: true
# Links:
# - https://docs.mistral.ai/getting-started/models/models_overview/
# - https://mistral.ai/technology/#pricing
# - https://docs.mistral.ai/api/
- platform: mistral
models:
- name: mistral-large-latest
max_input_tokens: 128000
input_price: 2
output_price: 6
supports_function_calling: true
- name: mistral-small-latest
max_input_tokens: 32000
input_price: 0.2
output_price: 0.6
supports_function_calling: true
- name: codestral-latest
max_input_tokens: 32000
input_price: 0.2
output_price: 0.6
- name: ministral-8b-latest
max_input_tokens: 128000
input_price: 0.1
output_price: 0.1
supports_function_calling: true
- name: ministral-3b-latest
max_input_tokens: 128000
input_price: 0.04
output_price: 0.04
supports_function_calling: true
- name: open-mistral-nemo
max_input_tokens: 128000
input_price: 0.15
output_price: 0.15
supports_function_calling: true
- name: open-codestral-mamba
max_input_tokens: 256000
input_price: 0.25
output_price: 0.25
- name: pixtral-12b-2409
max_input_tokens: 128000
input_price: 0.15
output_price: 0.15
supports_vision: true
- name: mistral-embed
type: embedding
max_input_tokens: 8092
input_price: 0.1
max_tokens_per_chunk: 8092
default_chunk_size: 2000
# Links:
# - https://docs.ai21.com/docs/jamba-15-models
# - https://www.ai21.com/pricing
# - https://docs.ai21.com/reference/jamba-15-api-ref
- platform: ai21
models:
- name: jamba-1.5-large
max_input_tokens: 256000
input_price: 2
output_price: 8
supports_function_calling: true
- name: jamba-1.5-mini
max_input_tokens: 256000
input_price: 0.2
output_price: 0.4
supports_function_calling: true
# Links:
# - https://docs.cohere.com/docs/command-r-plus
# - https://cohere.com/pricing
# - https://docs.cohere.com/reference/chat
- platform: cohere
models:
- name: command-r-plus-08-2024
max_input_tokens: 128000
max_output_tokens: 4096
input_price: 2.5
output_price: 10
supports_function_calling: true
- name: command-r-plus
max_input_tokens: 128000
max_output_tokens: 4096
input_price: 2.5
output_price: 10
supports_function_calling: true
- name: command-r-08-2024
max_input_tokens: 128000
max_output_tokens: 4096
input_price: 0.15
output_price: 0.6
supports_function_calling: true
- name: command-r
max_input_tokens: 128000
max_output_tokens: 4096
input_price: 0.15
output_price: 0.6
supports_function_calling: true
- name: embed-english-v3.0
type: embedding
input_price: 0.1
max_tokens_per_chunk: 512
default_chunk_size: 1000
max_batch_size: 96
- name: embed-multilingual-v3.0
type: embedding
input_price: 0.1
max_tokens_per_chunk: 512
default_chunk_size: 1000
max_batch_size: 96
- name: rerank-english-v3.0
type: reranker
max_input_tokens: 4096
- name: rerank-multilingual-v3.0
type: reranker
max_input_tokens: 4096
# Links:
# - https://docs.x.ai/docs#models
# - https://cohere.com/pricing
# - https://docs.x.ai/api/endpoints#chat-completions
- platform: xai
models:
- name: grok-beta
max_input_tokens: 131072
input_price: 5
output_price: 10
# Links:
# - https://docs.perplexity.ai/guides/model-cards
# - https://docs.perplexity.ai/guides/pricing
# - https://docs.perplexity.ai/api-reference/chat-completions
- platform: perplexity
models:
- name: llama-3.1-sonar-huge-128k-online
max_input_tokens: 127072
input_price: 5
output_price: 5
- name: llama-3.1-sonar-large-128k-online
max_input_tokens: 127072
input_price: 1
output_price: 1
- name: llama-3.1-sonar-large-128k-chat
max_input_tokens: 131072
input_price: 1
output_price: 1
- name: llama-3.1-sonar-small-128k-online
max_input_tokens: 127072
input_price: 0.2
output_price: 0.2
- name: llama-3.1-sonar-small-128k-chat
max_input_tokens: 131072
input_price: 0.2
output_price: 0.2
- name: llama-3.1-70b-instruct
max_input_tokens: 131072
input_price: 1
output_price: 1
- name: llama-3.1-8b-instruct
max_input_tokens: 131072
input_price: 0.2
output_price: 0.2
# Links:
# - https://console.groq.com/docs/models
# - https://console.groq.com/docs/api-reference#chat
- platform: groq
models:
- name: llama-3.1-70b-versatile
max_input_tokens: 128000
input_price: 0
output_price: 0
supports_function_calling: true
- name: llama-3.1-8b-instant
max_input_tokens: 128000
input_price: 0
output_price: 0
supports_function_calling: true
- name: llama-3.2-90b-vision-preview
max_input_tokens: 128000
input_price: 0
output_price: 0
supports_vision: true
- name: llama-3.2-11b-vision-preview
max_input_tokens: 128000
input_price: 0
output_price: 0
supports_vision: true
- name: llama-3.2-3b-preview
max_input_tokens: 128000
input_price: 0
output_price: 0
- name: llama-3.2-1b-preview
max_input_tokens: 128000
input_price: 0
output_price: 0
- name: gemma2-9b-it
max_input_tokens: 8192
input_price: 0
output_price: 0
supports_function_calling: true
# Links:
# - https://ollama.com/library
# - https://github.com/ollama/ollama/blob/main/docs/openai.md
- platform: ollama
models:
- name: llama3.1
max_input_tokens: 128000
supports_function_calling: true
- name: llama3.2
max_input_tokens: 128000
supports_function_calling: true
- name: gemma2
max_input_tokens: 8192
- name: qwen2.5
max_input_tokens: 128000
supports_function_calling: true
- name: phi3.5
max_input_tokens: 128000
- name: nemotron-mini
max_input_tokens: 128000
supports_function_calling: true
- name: mistral-small
max_input_tokens: 128000
supports_function_calling: true
- name: deepseek-coder-v2
max_input_tokens: 32768
- name: nomic-embed-text
type: embedding
max_tokens_per_chunk: 8192
default_chunk_size: 1000
max_batch_size: 50
# Links:
# - https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models
# - https://cloud.google.com/vertex-ai/generative-ai/docs/model-garden/explore-models
# - https://cloud.google.com/vertex-ai/generative-ai/pricing
# - https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini
- platform: vertexai
models:
- name: gemini-1.5-pro-002
max_input_tokens: 2097152
max_output_tokens: 8192
input_price: 1.25
output_price: 3.75
supports_vision: true
supports_function_calling: true
- name: gemini-1.5-flash-002
max_input_tokens: 1048576
max_output_tokens: 8192
input_price: 0.01875
output_price: 0.075
supports_vision: true
supports_function_calling: true
- name: gemini-1.0-pro-002
max_input_tokens: 24568
max_output_tokens: 8192
input_price: 0.125
output_price: 0.375
supports_function_calling: true
no_system_message: true
- name: claude-3-5-sonnet-v2@20241022
max_input_tokens: 200000
max_output_tokens: 8192
require_max_tokens: true
input_price: 3
output_price: 15
supports_vision: true
supports_function_calling: true
- name: claude-3-5-sonnet@20240620
max_input_tokens: 200000
max_output_tokens: 8192
require_max_tokens: true
input_price: 3
output_price: 15
supports_vision: true
supports_function_calling: true
- name: claude-3-5-haiku@20241022
max_input_tokens: 200000
max_output_tokens: 8192
require_max_tokens: true
input_price: 1
output_price: 5
supports_vision: true
supports_function_calling: true
- name: claude-3-opus@20240229
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
input_price: 15
output_price: 75
supports_vision: true
supports_function_calling: true
- name: claude-3-sonnet@20240229
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
input_price: 3
output_price: 15
supports_vision: true
supports_function_calling: true
- name: claude-3-haiku@20240307
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
input_price: 0.25
output_price: 1.25
supports_vision: true
supports_function_calling: true
- name: mistral-large@2407
max_input_tokens: 128000
input_price: 2
output_price: 6
supports_function_calling: true
- name: mistral-nemo@2407
max_input_tokens: 128000
input_price: 0.15
output_price: 0.15
supports_function_calling: true
- name: codestral@2405
max_input_tokens: 32000
input_price: 0.2
output_price: 0.6
- name: text-embedding-004
type: embedding
max_input_tokens: 20000
input_price: 0.025
max_tokens_per_chunk: 2048
default_chunk_size: 1500
max_batch_size: 5
- name: text-multilingual-embedding-002
type: embedding
max_input_tokens: 20000
input_price: 0.2
max_tokens_per_chunk: 2048
default_chunk_size: 1500
max_batch_size: 5
# Links:
# - https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns
# - https://aws.amazon.com/bedrock/pricing/
# - https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html
# - https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html
- platform: bedrock
models:
- name: anthropic.claude-3-5-sonnet-20241022-v2:0
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
input_price: 3
output_price: 15
supports_vision: true
supports_function_calling: true
- name: anthropic.claude-3-5-sonnet-20240620-v1:0
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
input_price: 3
output_price: 15
supports_vision: true
supports_function_calling: true
- name: anthropic.claude-3-5-haiku-20241022-v1:0
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
input_price: 1
output_price: 5
supports_vision: true
supports_function_calling: true
- name: anthropic.claude-3-opus-20240229-v1:0
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
input_price: 15
output_price: 75
supports_vision: true
supports_function_calling: true
- name: anthropic.claude-3-sonnet-20240229-v1:0
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
input_price: 3
output_price: 15
supports_vision: true
supports_function_calling: true
- name: anthropic.claude-3-haiku-20240307-v1:0
max_input_tokens: 200000
max_output_tokens: 4096
require_max_tokens: true
input_price: 0.25
output_price: 1.25
supports_vision: true
supports_function_calling: true
- name: meta.llama3-1-405b-instruct-v1:0
max_input_tokens: 128000
max_output_tokens: 4096
require_max_tokens: true
input_price: 5.32
output_price: 16
supports_function_calling: true
- name: meta.llama3-1-70b-instruct-v1:0
max_input_tokens: 128000
max_output_tokens: 2048
require_max_tokens: true
input_price: 0.99
output_price: 0.99
supports_function_calling: true
- name: meta.llama3-1-8b-instruct-v1:0
max_input_tokens: 128000
max_output_tokens: 2048
require_max_tokens: true
input_price: 0.22
output_price: 0.22
supports_function_calling: true
- name: us.meta.llama3-2-90b-instruct-v1:0
max_input_tokens: 128000
max_output_tokens: 2048
require_max_tokens: true
input_price: 2
output_price: 2
supports_function_calling: true
supports_vision: true
- name: us.meta.llama3-2-11b-instruct-v1:0
max_input_tokens: 128000
max_output_tokens: 2048
require_max_tokens: true
input_price: 0.35
output_price: 0.35
supports_function_calling: true
supports_vision: true
- name: us.meta.llama3-2-3b-instruct-v1:0
max_input_tokens: 128000
max_output_tokens: 2048
require_max_tokens: true
input_price: 0.15
output_price: 0.15
- name: us.meta.llama3-2-1b-instruct-v1:0
max_input_tokens: 128000
max_output_tokens: 2048
require_max_tokens: true
input_price: 0.1
output_price: 0.1
- name: mistral.mistral-large-2407-v1:0
max_input_tokens: 128000
input_price: 2
output_price: 6
supports_function_calling: true
- name: cohere.command-r-plus-v1:0
max_input_tokens: 128000
input_price: 3
output_price: 15
supports_function_calling: true
- name: cohere.command-r-v1:0
max_input_tokens: 128000
input_price: 0.5
output_price: 1.5
supports_function_calling: true
- name: cohere.embed-english-v3
type: embedding
input_price: 0.1
max_tokens_per_chunk: 512
default_chunk_size: 1000
max_batch_size: 96
- name: cohere.embed-multilingual-v3
type: embedding
input_price: 0.1
max_tokens_per_chunk: 512
default_chunk_size: 1000
max_batch_size: 96
- name: ai21.jamba-1-5-large-v1:0
max_input_tokens: 256000
input_price: 2
output_price: 8
supports_function_calling: true
- name: ai21.jamba-1-5-mini-v1:0
max_input_tokens: 256000
input_price: 0.2
output_price: 0.4
supports_function_calling: true
# Links:
# - https://developers.cloudflare.com/workers-ai/models/
# - https://developers.cloudflare.com/workers-ai/configuration/open-ai-compatibility/
- platform: cloudflare
models:
- name: '@cf/meta/llama-3.1-70b-instruct'
max_input_tokens: 6144
max_output_tokens: 2048
require_max_tokens: true
input_price: 0
output_price: 0
- name: '@cf/meta/llama-3.1-8b-instruct'
max_input_tokens: 6144
max_output_tokens: 2048
require_max_tokens: true
input_price: 0
output_price: 0
- name: '@cf/meta/llama-3.2-11b-vision-instruct'
max_input_tokens: 6144
max_output_tokens: 2048
require_max_tokens: true
input_price: 0
output_price: 0
- name: '@cf/meta/llama-3.2-3b-instruct'
max_input_tokens: 6144
max_output_tokens: 2048
require_max_tokens: true
input_price: 0
output_price: 0
- name: '@cf/meta/llama-3.2-1b-instruct'
max_input_tokens: 6144
max_output_tokens: 2048
require_max_tokens: true
input_price: 0
output_price: 0
- name: '@cf/baai/bge-large-en-v1.5'
type: embedding
input_price: 0
max_tokens_per_chunk: 512
default_chunk_size: 1000
max_batch_size: 100
# Links:
# - https://huggingface.co/models?other=text-generation-inference
# - https://huggingface.co/docs/text-generation-inference/en/reference/api_reference
- platform: huggingface
models:
- name: NousResearch/Hermes-3-Llama-3.1-8B
max_input_tokens: 8192
max_output_tokens: 4096
require_max_tokens: true
input_price: 0
output_price: 0
- name: mistralai/Mistral-Small-Instruct-2409
max_input_tokens: 128000
max_output_tokens: 4096
require_max_tokens: true
input_price: 0
output_price: 0
- name: mistralai/Mistral-Nemo-Instruct-2407
max_input_tokens: 128000
max_output_tokens: 4096
require_max_tokens: true
input_price: 0
output_price: 0
# Links:
# - https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu
# - https://cloud.baidu.com/doc/WENXINWORKSHOP/s/hlrk4akp7
- platform: ernie
models:
- name: ernie-4.0-turbo-8k-latest
max_input_tokens: 8192
input_price: 2.8
output_price: 8.4
supports_function_calling: true
- name: ernie-4.0-turbo-128k
max_input_tokens: 128000
input_price: 2.8
output_price: 8.4
supports_function_calling: true
- name: ernie-4.0-8k-latest
max_input_tokens: 8192
input_price: 4.2
output_price: 12.6
supports_function_calling: true
- name: ernie-3.5-8k-preview
max_input_tokens: 8192
input_price: 0.112
output_price: 0.28
supports_function_calling: true
- name: ernie-speed-pro-128k
max_input_tokens: 128000
input_price: 0.042
output_price: 0.084
- name: bge_large_zh
type: embedding
input_price: 0.07
max_tokens_per_chunk: 512
default_chunk_size: 1000
max_batch_size: 16
- name: bge_large_en
type: embedding
input_price: 0.07
max_tokens_per_chunk: 512
default_chunk_size: 1000
max_batch_size: 16
- name: bce_reranker_base
type: reranker
max_input_tokens: 1024
input_price: 0.07
# Links:
# - https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction
# - https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-thousand-questions-metering-and-billing
# - https://help.aliyun.com/zh/dashscope/developer-reference/use-qwen-by-api
- platform: qianwen
models:
- name: qwen-max-latest
max_input_tokens: 30720
max_output_tokens: 8192
input_price: 2.8
output_price: 8.4
supports_function_calling: true
- name: qwen-plus-latest
max_input_tokens: 128000
max_output_tokens: 8192
input_price: 0.112
output_price: 0.28
supports_function_calling: true
- name: qwen-turbo-latest
max_input_tokens: 129024
max_output_tokens: 8192
input_price: 0.042
output_price: 0.084
supports_function_calling: true
- name: qwen-coder-turbo-latest
max_input_tokens: 129024
max_output_tokens: 8192
input_price: 0.28
output_price: 0.84
supports_function_calling: true
- name: qwen-long
max_input_tokens: 1000000
input_price: 0.07
output_price: 0.28
- name: qwen-vl-max
input_price: 2.8
output_price: 2.8
supports_vision: true
- name: qwen-vl-plus
input_price: 1.12
output_price: 1.12
supports_vision: true
- name: text-embedding-v3
type: embedding
input_price: 0.1
max_tokens_per_chunk: 8192
default_chunk_size: 2000
max_batch_size: 6
- name: text-embedding-v2
type: embedding
input_price: 0.1
max_tokens_per_chunk: 2048
default_chunk_size: 2000
max_batch_size: 25
# links:
# - https://cloud.tencent.com/document/product/1729/104753
# - https://cloud.tencent.com/document/product/1729/97731
# - https://cloud.tencent.com/document/product/1729/111007
- platform: hunyuan
models:
- name: hunyuan-turbo-latest
max_input_tokens: 28000
max_output_tokens: 4096
input_price: 2.1
output_price: 7.0
supports_function_calling: true
- name: hunyuan-pro
max_input_tokens: 28000
max_output_tokens: 4096
input_price: 4.2
output_price: 14.0
supports_function_calling: true
- name: hunyuan-large
max_input_tokens: 28000
max_output_tokens: 4096
supports_function_calling: true
- name: hunyuan-standard
max_input_tokens: 30000
max_output_tokens: 2048
input_price: 0.112
output_price: 0.28
supports_function_calling: true
- name: hunyuan-standard-256K
max_input_tokens: 250000
max_output_tokens: 6144
input_price: 0.07
output_price: 0.28
supports_function_calling: true
- name: hunyuan-lite
max_input_tokens: 250000
max_output_tokens: 6144
input_price: 0
output_price: 0
supports_function_calling: true
- name: hunyuan-functioncall
max_input_tokens: 28000
max_output_tokens: 4096
input_price: 0.56
output_price: 1.12
supports_function_calling: true
- name: hunyuan-vision
max_input_tokens: 6144
max_output_tokens: 2048
input_price: 2.52
output_price: 2.52
supports_function_calling: true
supports_vision: true
- name: hunyuan-embedding
type: embedding
input_price: 0.01
max_tokens_per_chunk: 1024
default_chunk_size: 1000
max_batch_size: 100
# Links:
# - https://platform.moonshot.cn/docs/intro
# - https://platform.moonshot.cn/docs/pricing/chat
# - https://platform.moonshot.cn/docs/api/chat
- platform: moonshot
models:
- name: moonshot-v1-8k
max_input_tokens: 8000
input_price: 1.68
output_price: 1.68
supports_function_calling: true
- name: moonshot-v1-32k
max_input_tokens: 32000
input_price: 3.36
output_price: 3.36
supports_function_calling: true
- name: moonshot-v1-128k
max_input_tokens: 128000
input_price: 8.4
output_price: 8.4
supports_function_calling: true
# Links:
# - https://api-docs.deepseek.com/quick_start/pricing
# - https://platform.deepseek.com/api-docs/api/create-chat-completion
- platform: deepseek
models:
- name: deepseek-chat
max_input_tokens: 32768
max_output_tokens: 4096
input_price: 0.14
output_price: 0.28
supports_function_calling: true
# Links:
# - https://open.bigmodel.cn/dev/howuse/model
# - https://open.bigmodel.cn/pricing
# - https://open.bigmodel.cn/dev/api#glm-4
- platform: zhipuai
models:
- name: glm-4-plus
max_input_tokens: 128000
input_price: 7
output_price: 7
supports_function_calling: true
- name: glm-4-alltools
max_input_tokens: 128000
input_price: 14
output_price: 14
supports_function_calling: true
- name: glm-4-0520
max_input_tokens: 128000
input_price: 14
output_price: 14
supports_function_calling: true
- name: glm-4-long
max_input_tokens: 1000000
input_price: 0.14
output_price: 0.14
supports_function_calling: true
- name: glm-4-flash
max_input_tokens: 128000
input_price: 0
output_price: 0
supports_function_calling: true
- name: glm-4v-plus
max_input_tokens: 8192
input_price: 1.4
output_price: 1.4
supports_vision: true
- name: embedding-3
type: embedding
max_input_tokens: 8192
input_price: 0.07
max_tokens_per_chunk: 8192
default_chunk_size: 2000
# Links:
# - https://platform.lingyiwanwu.com/docs#%E6%A8%A1%E5%9E%8B%E4%B8%8E%E8%AE%A1%E8%B4%B9
# - https://platform.lingyiwanwu.com/docs/api-reference#create-chat-completion
- platform: lingyiwanwu
models:
- name: yi-large
max_input_tokens: 32768
input_price: 2.8
output_price: 2.8
- name: yi-large-fc
max_input_tokens: 32768
input_price: 2.8
output_price: 2.8
supports_function_calling: true
- name: yi-large-rag
max_input_tokens: 16384
input_price: 3.5
output_price: 3.5
- name: yi-large-turbo
max_input_tokens: 16384
input_price: 1.68
output_price: 1.68
- name: yi-medium-200k
max_input_tokens: 200000
input_price: 1.68
output_price: 1.68
- name: yi-lightning
max_input_tokens: 16384
input_price: 0.14
output_price: 0.14
- name: yi-vision
max_input_tokens: 16384
input_price: 0.84
output_price: 0.84
supports_vision: true
# Links:
# - https://github.com/marketplace/models
- platform: github
models:
- name: gpt-4o
max_input_tokens: 128000
supports_function_calling: true
- name: gpt-4o-mini
max_input_tokens: 128000
supports_function_calling: true
- name: o1-preview
max_input_tokens: 128000
no_stream: true
no_system_message: true
- name: o1-mini