summaryrefslogtreecommitdiffstats
path: root/models.yaml
blob: dc8a65937c9861429c1637548b339a6614b2daeb (plain) (blame)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
# notes:
#   - do not submit pull requests to add new models; this list will be updated in batches with new releases.

- platform: openai
  # docs:
  #   - https://platform.openai.com/docs/models
  #   - https://openai.com/pricing
  #   - https://platform.openai.com/docs/api-reference/chat
  # notes
  #   - get max_output_tokens info from api error
  models:
    - name: gpt-4o
      max_input_tokens: 128000
      max_output_tokens: 4096
      input_price: 5
      output_price: 15
      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: 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
      mode: embedding
      max_input_tokens: 8191
      default_chunk_size: 3000
      max_concurrent_chunks: 100
    - name: text-embedding-3-small
      mode: embedding
      max_input_tokens: 8191
      default_chunk_size: 3000
      max_concurrent_chunks: 100
    - name: text-embedding-ada-002
      mode: embedding
      max_input_tokens: 8191
      default_chunk_size: 3000
      max_concurrent_chunks: 100

- platform: gemini 
  # docs:
  #   - https://ai.google.dev/models/gemini
  #   - https://ai.google.dev/pricing
  #   - https://ai.google.dev/api/rest/v1beta/models/streamGenerateContent
  # notes:
  #   - get max_output_tokens info from list models api
  models:
    - name: gemini-1.5-pro-latest
      max_input_tokens: 1048576
      max_output_tokens: 8192
      input_price: 3.5
      output_price: 10.5
      supports_vision: true
      supports_function_calling: true
    - name: gemini-1.5-flash-latest
      max_input_tokens: 1048576
      max_output_tokens: 8192
      input_price: 0.35
      output_price: 1.05
      supports_vision: true
      supports_function_calling: true
    - name: gemini-1.0-pro-latest
      max_input_tokens: 30720
      max_output_tokens: 2048
      input_price: 0.5
      output_price: 1.5
      supports_function_calling: true
    - name: text-embedding-004
      mode: embedding
      max_input_tokens: 2048
      default_chunk_size: 1500

- platform: claude
  # docs:
  #   - https://docs.anthropic.com/claude/docs/models-overview
  #   - https://docs.anthropic.com/claude/reference/messages-streaming
  # notes:
  #   - get max_output_tokens info from models doc
  models:
    - name: claude-3-5-sonnet-20240620
      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-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

- platform: mistral
  # docs:
  #   - https://docs.mistral.ai/getting-started/models/
  #   - https://mistral.ai/technology/#pricing
  #   - https://docs.mistral.ai/api/
  # notes:
  #   - unable to get max_output_tokens info
  models:
    - name: open-mistral-7b
      max_input_tokens: 32000
      input_price: 0.25
      output_price: 0.25
    - name: open-mixtral-8x7b
      max_input_tokens: 32000
      input_price: 0.7
      output_price: 0.7
    - name: open-mixtral-8x22b
      max_input_tokens: 64000
      input_price: 2
      output_price: 6
    - name: mistral-small-latest
      max_input_tokens: 32000
      input_price: 1
      output_price: 3
    - name: mistral-large-latest
      max_input_tokens: 32000
      input_price: 4
      output_price: 12
    - name: codestral-latest
      max_input_tokens: 32000
      input_price: 1
      output_price: 3
    - name: mistral-embed
      mode: embedding
      max_input_tokens: 8092
      default_chunk_size: 2000

- platform: cohere
  # docs:
  #   - https://docs.cohere.com/docs/command-r
  #   - https://cohere.com/pricing
  #   - https://docs.cohere.com/reference/chat
  models:
    - name: command-r
      max_input_tokens: 128000
      input_price: 0.5
      output_price: 1.5
      supports_function_calling: true
    - name: command-r-plus
      max_input_tokens: 128000
      input_price: 3
      output_price: 15
      supports_function_calling: true
    - name: embed-english-v3.0
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
      max_concurrent_chunks: 96
    - name: embed-multilingual-v3.0
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
      max_concurrent_chunks: 96
    - name: rerank-english-v3.0
      mode: rerank
      max_input_tokens: 4096
    - name: rerank-multilingual-v3.0
      mode: rerank
      max_input_tokens: 4096

- platform: reka
  docs:
    # - https://www.reka.ai/ourmodels
    # - https://www.reka.ai/reka-deploy
    # - https://docs.reka.ai/api-reference/chat/create
  models:
    - name: reka-core
      max_input_tokens: 128000
      input_price: 10
      output_price: 25
      supports_vision: true
    - name: reka-flash
      max_input_tokens: 128000
      input_price: 0.8
      output_price: 2
      supports_vision: true
    - name: reka-edge
      max_input_tokens: 128000
      input_price: 0.4
      output_price: 1
      supports_vision: true

- platform: perplexity
  # docs:
  #   - https://docs.perplexity.ai/docs/model-cards
  #   - https://docs.perplexity.ai/docs/pricing
  #   - https://docs.perplexity.ai/reference/post_chat_completions
  models:
    - name: llama-3-sonar-small-32k-chat
      max_input_tokens: 32768
      input_price: 0.2
      output_price: 0.2
    - name: llama-3-sonar-small-32k-online
      max_input_tokens: 28000
      input_price: 0.2
      output_price: 0.2
    - name: llama-3-sonar-large-32k-chat	
      max_input_tokens: 32768
      input_price: 1
      output_price: 1
    - name: llama-3-sonar-large-32k-online
      max_input_tokens: 28000
      input_price: 1
      output_price: 1
    - name: llama-3-8b-instruct
      max_input_tokens: 8192
      input_price: 0.2
      output_price: 0.2
    - name: llama-3-70b-instruct
      max_input_tokens: 8192
      input_price: 1
      output_price: 1
    - name: mixtral-8x7b-instruct
      max_input_tokens: 16384
      input_price: 0.6
      output_price: 0.6

- platform: groq
  # docs:
  #   - https://console.groq.com/docs/models
  #   - https://wow.groq.com
  #   - https://console.groq.com/docs/text-chat
  # notes:
  #   - all models are free with rate limits
  models:
    - name: llama3-8b-8192
      max_input_tokens: 8192
      input_price: 0.05
      output_price: 0.08
      supports_function_calling: true
    - name: llama3-70b-8192
      max_input_tokens: 8192
      input_price: 0.59
      output_price: 0.79
      supports_function_calling: true
    - name: mixtral-8x7b-32768
      max_input_tokens: 32768
      input_price: 0.24
      output_price: 0.24
      supports_function_calling: true
    - name: gemma-7b-it
      max_input_tokens: 8192
      input_price: 0.07
      output_price: 0.07
      supports_function_calling: true

- platform: vertexai
  # docs:
  #   - https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models
  #   - https://cloud.google.com/vertex-ai/generative-ai/pricing
  #   - https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini
  # notes:
  #   - get max_output_tokens info from models doc
  models:
    - name: gemini-1.5-pro-001
      max_input_tokens: 1000000
      max_output_tokens: 8192
      input_price: 1.25
      output_price: 3.75
      supports_vision: true
      supports_function_calling: true
    - name: gemini-1.5-flash-001
      max_input_tokens: 1000000
      max_output_tokens: 8192
      input_price: 0.125
      output_price: 0.375
      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
    - name: text-embedding-004
      mode: embedding
      max_input_tokens: 3072
      default_chunk_size: 2000
      max_concurrent_chunks: 5
    - name: text-multilingual-embedding-002
      mode: embedding
      max_input_tokens: 3072
      default_chunk_size: 2000
      max_concurrent_chunks: 5

- platform: vertexai-claude
  # docs:
  #   - https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-claude
  # notes:
  #   - get max_output_tokens info from models doc
  #   - claude models have not been tested
  models:
    - name: claude-3-5-sonnet@20240620
      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-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

- platform: bedrock
  # docs:
  #   - https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns
  #   - https://aws.amazon.com/bedrock/pricing/
  # notes:
  #   - get max_output_tokens info from playground
  #   - claude/llama models have not been tested
  models:
    - 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-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-8b-instruct-v1:0
      max_input_tokens: 8192
      max_output_tokens: 2048
      require_max_tokens: true
      input_price: 0.4
      output_price: 0.6
    - name: meta.llama3-70b-instruct-v1:0
      max_input_tokens: 8192
      max_output_tokens: 2048
      require_max_tokens: true
      input_price: 2.65
      output_price: 3.5
    - name: mistral.mistral-7b-instruct-v0:2
      max_input_tokens: 32000
      max_output_tokens: 8192
      require_max_tokens: true
      input_price: 0.15
      output_price: 0.2
    - name: mistral.mixtral-8x7b-instruct-v0:1
      max_input_tokens: 32000
      max_output_tokens: 8192
      require_max_tokens: true
      input_price: 0.45
      output_price: 0.7
    - name: mistral.mistral-large-2402-v1:0
      max_input_tokens: 32000
      max_output_tokens: 8192
      require_max_tokens: true
      input_price: 8
      output_price: 2.4

- platform: cloudflare
  # docs:
  #   - https://developers.cloudflare.com/workers-ai/models/
  #   - https://developers.cloudflare.com/workers-ai/platform/pricing/
  # notes:
  #   - get max_output_tokens from playground
  models:
    - name: '@cf/meta/llama-3-8b-instruct'
      max_input_tokens: 6144
      max_output_tokens: 2048
      require_max_tokens: true
      input_price: 0
      output_price: 0
    - name: '@hf/mistral/mistral-7b-instruct-v0.2'
      max_input_tokens: 6144
      max_output_tokens: 2048
      require_max_tokens: true
      input_price: 0
      output_price: 0
    - name: '@cf/qwen/qwen1.5-14b-chat-awq'
      max_input_tokens: 6144
      max_output_tokens: 2048
      require_max_tokens: true
      input_price: 0
      output_price: 0
    - name: '@cf/google/gemma-7b-it'
      max_input_tokens: 6144
      max_output_tokens: 2048
      require_max_tokens: true
      input_price: 0
      output_price: 0

- platform: replicate
  # docs:
  #   - https://replicate.com/explore
  #   - https://replicate.com/pricing
  #   - https://replicate.com/docs/reference/http
  # notes:
  #   - max_output_tokens is required but unknown
  models:
    - name: meta/meta-llama-3-70b-instruct
      max_input_tokens: 8192
      max_output_tokens: 4096
      require_max_tokens: true
      input_price: 0.65
      output_price: 2.75
    - name: meta/meta-llama-3-8b-instruct
      max_input_tokens: 8192
      max_output_tokens: 4096
      require_max_tokens: true
      input_price: 0.05
      output_price: 0.25
    - name: mistralai/mistral-7b-instruct-v0.2
      max_input_tokens: 32000
      max_output_tokens: 8192
      require_max_tokens: true
      input_price: 0.05
      output_price: 0.25
    - name: mistralai/mixtral-8x7b-instruct-v0.1
      max_input_tokens: 32000
      max_output_tokens: 8192
      require_max_tokens: true
      input_price: 0.3
      output_price: 1

- platform: ernie
  # docs:
  #   - https://cloud.baidu.com/doc/WENXINWORKSHOP/s/Nlks5zkzu
  #   - https://cloud.baidu.com/doc/WENXINWORKSHOP/s/hlrk4akp7
  # notes:
  #   - get max_output_tokens info from models doc
  models:
    - name: ernie-4.0-8k-0613
      max_input_tokens: 5120
      max_output_tokens: 2048
      require_max_tokens: true
      input_price: 16.8
      output_price: 16.8
    - name: ernie-3.5-8k-0613
      max_input_tokens: 5120
      max_output_tokens: 2048
      require_max_tokens: true
      input_price: 1.68
      output_price: 1.68
    - name: ernie-speed-128k
      max_input_tokens: 124000
      max_output_tokens: 4096
      require_max_tokens: true
      input_price: 0
      output_price: 0
    - name: ernie-lite-8k
      max_input_tokens: 7168
      max_output_tokens: 2048
      require_max_tokens: true
      input_price: 0
      output_price: 0

- platform: qianwen
  # docs:
  #   - https://help.aliyun.com/zh/dashscope/developer-reference/tongyiqianwen-large-language-models/
  #   - https://help.aliyun.com/zh/dashscope/developer-reference/qwen-vl-plus/
  # notes:
  #   - get max_output_tokens info from models doc
  models:
    - name: qwen-long
      max_input_tokens: 1000000
      input_price: 0.07
      output_price: 0.28
    - name: qwen-turbo
      max_input_tokens: 6000
      max_output_tokens: 1500
      input_price: 0.28
      output_price: 0.84
      supports_function_calling: true
    - name: qwen-plus
      max_input_tokens: 30000
      max_output_tokens: 2000
      input_price: 0.56
      output_price: 1.68
      supports_function_calling: true
    - name: qwen-max
      max_input_tokens: 6000
      max_output_tokens: 2000
      input_price: 5.6
      output_price: 16.8
      supports_function_calling: true
    - name: qwen-max-longcontext
      input_price: 5.6
      output_price: 16.8
      max_input_tokens: 28000
      max_output_tokens: 2000
    - name: qwen-vl-plus
      input_price: 1.12
      output_price: 1.12
      supports_vision: true
    - name: qwen-vl-max
      input_price: 2.8
      output_price: 2.8
      supports_vision: true
    - name: text-embedding-v2
      mode: embedding
      max_input_tokens: 2048
      default_chunk_size: 1500
      max_concurrent_chunks: 5

- platform: moonshot
  # docs:
  #   - https://platform.moonshot.cn/docs/intro
  #   - https://platform.moonshot.cn/docs/pricing
  #   - https://platform.moonshot.cn/docs/api-reference
  # notes:
  #   - unable to get max_output_tokens info
  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

- platform: deepseek
  # docs:
  #   - https://platform.deepseek.com/api-docs/
  #   - https://platform.deepseek.com/api-docs/pricing
  models:
    - name: deepseek-chat 
      max_input_tokens: 32768 
      input_price: 0.14
      output_price: 0.28
    - name: deepseek-coder 
      max_input_tokens: 32768
      input_price: 0.14
      output_price: 0.28

- platform: zhipuai
  # docs:
  #   - https://open.bigmodel.cn/dev/howuse/model
  #   - https://open.bigmodel.cn/pricing
  models:
    - name: glm-4-0520
      max_input_tokens: 128000
      input_price: 14
      output_price: 14
      supports_function_calling: true
    - name: glm-4-airx
      max_input_tokens: 8092
      input_price: 1.4
      output_price: 1.4
      supports_function_calling: true
    - name: glm-4-air
      max_input_tokens: 128000
      input_price: 0.14
      output_price: 0.14
      supports_function_calling: true
    - name: glm-4-flash
      max_input_tokens: 128000
      input_price: 0.014
      output_price: 0.014
      supports_function_calling: true
    - name: glm-4v
      max_input_tokens: 2048
      input_price: 7
      output_price: 7
      supports_vision: true
    - name: embedding-2
      mode: embedding
      max_input_tokens: 2048
      default_chunk_size: 1500

- platform: lingyiwanwu
  # docs:
  #   - https://platform.lingyiwanwu.com/docs#%E6%A8%A1%E5%9E%8B
  #   - https://platform.lingyiwanwu.com/docs#%E8%AE%A1%E8%B4%B9%E5%8D%95%E5%85%83
  models:
  - name: yi-large 
    max_input_tokens: 32768
    input_price: 2.8
    output_price: 2.8
  - name: yi-medium 
    max_input_tokens: 16384
    input_price: 0.35
    output_price: 0.35
  - name: yi-vision
    max_input_tokens: 4096
    input_price: 0.84
    output_price: 0.84
    supports_vision: true
  - name: yi-medium-200k
    max_input_tokens: 200000
    input_price: 1.68
    output_price: 1.68
  - name: yi-spark
    max_input_tokens: 16384
    input_price: 0.14
    output_price: 0.14
  - 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

- platform: anyscale
  # docs:
  #   - https://docs.anyscale.com/endpoints/text-generation/query-a-model
  #   - https://www.anyscale.com/pricing-detail
  models:
    - name: meta-llama/Meta-Llama-3-8B-Instruct
      max_input_tokens: 8192
      input_price: 0.15
      output_price: 0.15
    - name: meta-llama/Meta-Llama-3-70B-Instruct
      max_input_tokens: 8192
      input_price: 1.0
      output_price: 1.0
    - name: mistralai/Mistral-7B-Instruct-v0.1
      max_input_tokens: 16384
      input_price: 0.15
      output_price: 0.15
    - name: mistralai/Mixtral-8x7B-Instruct-v0.1
      max_input_tokens: 32768
      input_price: 0.50
      output_price: 0.50
    - name: mistralai/Mixtral-8x22B-Instruct-v0.1
      max_input_tokens: 65536
      input_price: 0.90
      output_price: 0.90
    - name: google/gemma-7b-it
      max_input_tokens: 8192
      input_price: 0.15
      output_price: 0.15
    - name: BAAI/bge-large-en-v1.5
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: thenlper/gte-large
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000

- platform: deepinfra
  # docs:
  #   - https://deepinfra.com/models
  #   - https://deepinfra.com/pricing
  models:
    - name: meta-llama/Meta-Llama-3-8B-Instruct
      max_input_tokens: 8192
      input_price: 0.08
      output_price: 0.08
      supports_function_calling: true
    - name: meta-llama/Meta-Llama-3-70B-Instruct
      max_input_tokens: 8192
      input_price: 0.59
      output_price: 0.79
      supports_function_calling: true
    - name: mistralai/Mistral-7B-Instruct-v0.3
      max_input_tokens: 32768
      input_price: 0.07
      output_price: 0.07
    - name: mistralai/Mixtral-8x7B-Instruct-v0.1
      max_input_tokens: 32768
      input_price: 0.24
      output_price: 0.24
      supports_function_calling: true
    - name: mistralai/Mixtral-8x22B-Instruct-v0.1
      max_input_tokens: 65536
      input_price: 0.65
      output_price: 0.65
      supports_function_calling: true
    - name: google/gemma-1.1-7b-it
      max_input_tokens: 8192
      input_price: 0.07
      output_price: 0.07
    - name: Qwen/Qwen2-72B-Instruct
      max_input_tokens: 32768
      input_price: 0.59
      output_price: 0.79
    - name: microsoft/Phi-3-medium-4k-instruct
      max_input_tokens: 4096
      input_price: 0.14
      output_price: 0.14
    - name: BAAI/bge-large-en-v1.5
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: BAAI/bge-base-en-v1.5
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: BAAI/bge-m3
      mode: embedding
      max_input_tokens: 8192
      default_chunk_size: 2000
    - name: intfloat/e5-base-v2
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: intfloat/e5-large-v2
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: intfloat/multilingual-e5-large
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: sentence-transformers/all-MiniLM-L6-v2
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: sentence-transformers/paraphrase-MiniLM-L6-v2
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: thenlper/gte-base
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: thenlper/gte-large
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000

- platform: fireworks
  # docs:
  #   - https://fireworks.ai/models
  #   - https://fireworks.ai/pricing
  models:
    - name: accounts/fireworks/models/firellava-13b
      max_input_tokens: 4096
      input_price: 0.2
      output_price: 0.2
      supports_vision: true
    - name: accounts/fireworks/models/firefunction-v2
      max_input_tokens: 32768
      input_price: 0.2
      output_price: 0.2
      supports_function_calling: true
    - name: accounts/fireworks/models/llama-v3-8b-instruct
      max_input_tokens: 8192
      input_price: 0.2
      output_price: 0.2
    - name: accounts/fireworks/models/llama-v3-70b-instruct
      max_input_tokens: 8192
      input_price: 0.9
      output_price: 0.9
    - name: accounts/fireworks/models/mistral-7b-instruct-v3
      max_input_tokens: 32768
      input_price: 0.2
      output_price: 0.2
    - name: accounts/fireworks/models/mixtral-8x7b-instruct
      max_input_tokens: 32768
      input_price: 0.5
      output_price: 0.5
    - name: accounts/fireworks/models/mixtral-8x22b-instruct
      max_input_tokens: 65536
      input_price: 0.9
      output_price: 0.9
    - name: accounts/fireworks/models/gemma-7b-it
      max_input_tokens: 8192
      input_price: 0.2
      output_price: 0.2
    - name: accounts/fireworks/models/qwen2-72b-instruct
      max_input_tokens: 32768
      input_price: 0.9
      output_price: 0.9
    - name: accounts/fireworks/models/phi-3-mini-128k-instruct
      max_input_tokens: 131072
      input_price: 0.2
      output_price: 0.2
    - name: accounts/fireworks/models/phi-3-vision-128k-instruct
      max_input_tokens: 131072
      input_price: 0.2
      output_price: 0.2
      supports_vision: true
    - name: nomic-ai/nomic-embed-text-v1.5
      mode: embedding
      max_input_tokens: 8192
      default_chunk_size: 1500
    - name: WhereIsAI/UAE-Large-V1
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: thenlper/gte-large
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: thenlper/gte-base
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000

- platform: openrouter
  # docs:
  #   - https://openrouter.ai/docs#models
  models:
    - name: meta-llama/llama-3-8b-instruct
      max_input_tokens: 8192
      input_price: 0.07
      output_price: 0.07
    - name: meta-llama/llama-3-70b-instruct
      max_input_tokens: 8192
      input_price: 0.59
      output_price: 0.79
    - name: microsoft/phi-3-mini-128k-instruct
      max_input_tokens: 128000
      input_price: 0.1
      output_price: 0.1
    - name: microsoft/phi-3-medium-4k-instruct
      max_input_tokens: 4000
      input_price: 0.14
      output_price: 0.14
    - name: microsoft/phi-3-medium-128k-instruct
      max_input_tokens: 128000
      input_price: 1
      output_price: 1
    - name: qwen/qwen-2-72b-instruct
      max_input_tokens: 32768
      input_price: 0.9
      output_price: 0.9
    - name: openai/gpt-4o
      max_input_tokens: 128000
      input_price: 5
      output_price: 15
      supports_vision: true
      supports_function_calling: true
    - name: openai/gpt-4-turbo
      max_input_tokens: 128000
      input_price: 10
      output_price: 30
      supports_vision: true
      supports_function_calling: true
    - name: openai/gpt-3.5-turbo
      max_input_tokens: 16385
      input_price: 0.5
      output_price: 1.5
      supports_function_calling: true
    - name: google/gemini-pro-1.5
      max_input_tokens: 2800000
      input_price: 2.5
      output_price: 7.5
      supports_vision: true
      supports_function_calling: true
    - name: google/gemini-flash-1.5
      max_input_tokens: 2800000
      input_price: 0.25
      output_price: 0.75
      supports_vision: true
      supports_function_calling: true
    - name: google/gemini-pro
      max_input_tokens: 91728
      input_price: 0.125
      output_price: 0.375
      supports_function_calling: true
    - name: anthropic/claude-3.5-sonnet
      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-opus
      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
      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
      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: mistralai/mistral-7b-instruct-v0.3
      max_input_tokens: 32768
      input_price: 0.07
      output_price: 0.07
    - name: mistralai/mixtral-8x7b-instruct
      max_input_tokens: 32768
      input_price: 0.24
      output_price: 0.24
    - name: mistralai/mixtral-8x22b-instruct
      max_input_tokens: 65536
      input_price: 0.65
      output_price: 0.65
    - name: mistralai/mistral-small
      max_input_tokens: 32000
      input_price: 2
      output_price: 6
    - name: mistralai/mistral-large
      max_input_tokens: 32000
      input_price: 8
      output_price: 24
    - name: cohere/command-r
      max_input_tokens: 128000
      input_price: 0.5
      output_price: 1.5
      supports_function_calling: true
    - name: cohere/command-r-plus
      max_input_tokens: 128000
      input_price: 3
      output_price: 15
      supports_function_calling: true
    - name: deepseek/deepseek-chat 
      max_input_tokens: 32768 
      input_price: 0.14
      output_price: 0.28
    - name: deepseek/deepseek-coder 
      max_input_tokens: 32768
      input_price: 0.14
      output_price: 0.28
    - name: perplexity/llama-3-sonar-small-32k-chat
      max_input_tokens: 32768
      input_price: 0.2
      output_price: 0.2
    - name: perplexity/llama-3-sonar-small-32k-online
      max_input_tokens: 28000
      input_price: 0.2
      output_price: 0.2
    - name: perplexity/llama-3-sonar-large-32k-chat
      max_input_tokens: 32768
      input_price: 1
      output_price: 1
    - name: perplexity/llama-3-sonar-large-32k-online
      max_input_tokens: 28000
      input_price: 1
      output_price: 1


- platform: octoai
  # docs:
  #   - https://octo.ai/docs/getting-started/inference-models
  #   - https://octo.ai/pricing/text-gen-solution/
  models:
    - name: meta-llama-3-8b-instruct
      max_input_tokens: 8192
      input_price: 0.13
      output_price: 0.13
    - name: meta-llama-3-70b-instruct
      max_input_tokens: 8192
      input_price: 0.86
      output_price: 0.86
    - name: mistral-7b-instruct
      max_input_tokens: 32768
      input_price: 0.13
      output_price: 0.13
    - name: mixtral-8x7b-instruct
      max_input_tokens: 32768
      input_price: 0.34
      output_price: 0.34
    - name: mixtral-8x22b-instruct
      max_input_tokens: 65536
      input_price: 0.86
      output_price: 0.86
    - name: thenlper/gte-large
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000

- platform: together
  # docs:
  #   - https://docs.together.ai/docs/inference-models
  #   - https://docs.together.ai/docs/embedding-models
  #   - https://www.together.ai/pricing
  models:
    - name: meta-llama/Llama-3-8b-chat-hf
      max_input_tokens: 8000
      input_price: 0.2
      output_price: 0.2
    - name: meta-llama/Llama-3-70b-chat-hf
      max_input_tokens: 8000
      input_price: 0.9
      output_price: 0.9
    - name: mistralai/Mistral-7B-Instruct-v0.3
      max_input_tokens: 32768
      input_price: 0.2
      output_price: 0.2
    - name: mistralai/Mixtral-8x7B-Instruct-v0.1
      max_input_tokens: 32768
      input_price: 0.9
      output_price: 0.9
    - name: mistralai/Mixtral-8x22B-Instruct-v0.1
      max_input_tokens: 65536
      input_price: 1.2
      output_price: 1.2
    - name: google/gemma-7b-it
      max_input_tokens: 8192
      input_price: 0.2
      output_price: 0.2
    - name: Qwen/Qwen2-72B-Instruct
      max_input_tokens: 32768
      input_price: 0.9
      output_price: 0.9
    - name: togethercomputer/m2-bert-80M-2k-retrieval
      mode: embedding
      max_input_tokens: 2048
      default_chunk_size: 1500
    - name: togethercomputer/m2-bert-80M-8k-retrieval
      mode: embedding
      max_input_tokens: 8192
      default_chunk_size: 1500
    - name: togethercomputer/m2-bert-80M-32k-retrieval
      mode: embedding
      max_input_tokens: 8192
      default_chunk_size: 1500
    - name: WhereIsAI/UAE-Large-V1
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: BAAI/bge-large-en-v1.5
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000
    - name: BAAI/bge-base-en-v1.5
      mode: embedding
      max_input_tokens: 512
      default_chunk_size: 1000