-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmp_together_models.json
More file actions
5997 lines (5897 loc) · 855 KB
/
Copy pathtmp_together_models.json
File metadata and controls
5997 lines (5897 loc) · 855 KB
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
[
{
"id": "zai-org/GLM-5",
"uuid": "endpoint-f6104312-37ea-4d87-82c1-ec0b29951a4b",
"object": "model",
"created": 0,
"type": "chat",
"running": false,
"display_name": "GLM 5 Fp4",
"organization": "Zai Org",
"link": "https://huggingface.co/api/models/togethercomputer/GLM-5-FP4",
"context_length": 202752,
"config": {
"chat_template": null,
"stop": [
"\u003c|endoftext|\u003e"
],
"bos_token": null,
"eos_token": "\u003c|endoftext|\u003e"
},
"pricing": {
"hourly": 0,
"input": 1,
"output": 3.2,
"base": 0,
"finetune": 0
}
},
{
"id": "Qwen/Qwen3.5-397B-A17B",
"uuid": "endpoint-3a29fc79-9262-4d92-bd0a-da8b087be4be",
"object": "model",
"created": 1775023673,
"type": "chat",
"running": false,
"display_name": "Qwen3.5 397B A17b",
"organization": "Qwen",
"link": "https://huggingface.co/api/models/Qwen/Qwen3.5-397B-A17B",
"license": "apache-2.0",
"context_length": 262144,
"config": {
"chat_template": null,
"stop": [
"\u003c|im_end|\u003e"
],
"bos_token": null,
"eos_token": "\u003c|im_end|\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.6,
"output": 3.6,
"base": 0,
"finetune": 0
}
},
{
"id": "MiniMaxAI/MiniMax-M2.5",
"uuid": "endpoint-bcaa71d1-8a5a-4391-b691-79598f501e18",
"object": "model",
"created": 0,
"type": "chat",
"running": false,
"display_name": "MiniMax M2.5 FP4",
"organization": "MiniMaxAI",
"context_length": 196608,
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0.3,
"output": 1.2,
"base": 0,
"finetune": 0,
"cached_input": 0.060000000000000005
}
},
{
"id": "moonshotai/Kimi-K2.5",
"uuid": "endpoint-d7053622-6fca-48e8-9457-54b9bc319315",
"object": "model",
"created": 0,
"type": "chat",
"running": false,
"display_name": "Kimi K2.5",
"organization": "Moonshot AI",
"link": "https://huggingface.co/api/models/moonshotai/Kimi-K2.5",
"license": "other modified-mit",
"context_length": 262144,
"config": {
"chat_template": null,
"stop": [
"[EOS]"
],
"bos_token": "[BOS]",
"eos_token": "[EOS]"
},
"pricing": {
"hourly": 0,
"input": 0.5,
"output": 2.8,
"base": 0,
"finetune": 0
}
},
{
"id": "openai/gpt-oss-120b",
"uuid": "endpoint-cf361a3e-47d0-4dfc-851a-97098881e6a2",
"object": "model",
"created": 1754414557,
"type": "chat",
"running": false,
"display_name": "OpenAI GPT-OSS 120B",
"organization": "OpenAI",
"link": "https://huggingface.co/openai/gpt-oss-120b",
"license": "other",
"context_length": 131072,
"config": {
"chat_template": null,
"stop": [
"\u003c|return|\u003e"
],
"bos_token": "\u003c|startoftext|\u003e",
"eos_token": "\u003c|return|\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.15,
"output": 0.6,
"base": 0,
"finetune": 0
}
},
{
"id": "openai/gpt-oss-20b",
"uuid": "endpoint-f382c20a-6806-4ac2-abfb-d00d7a0b0c2b",
"object": "model",
"created": 1774480577,
"type": "chat",
"running": false,
"display_name": "OpenAI GPT-OSS 20B",
"organization": "OpenAI",
"link": "https://huggingface.co/api/models/openai/gpt-oss-20b",
"license": "apache-2.0",
"context_length": 131072,
"config": {
"chat_template": null,
"stop": [
"\u003c|return|\u003e"
],
"bos_token": "\u003c|startoftext|\u003e",
"eos_token": "\u003c|return|\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.05,
"output": 0.2,
"base": 0,
"finetune": 0
}
},
{
"id": "deepseek-ai/DeepSeek-R1",
"uuid": "endpoint-e98c33e5-aba4-4681-a904-2af36627ac32",
"object": "model",
"created": 1737396322,
"type": "chat",
"running": false,
"display_name": "DeepSeek R1-0528",
"organization": "DeepSeek",
"link": "https://huggingface.co/deepseek-ai/DeepSeek-R1",
"context_length": 163840,
"config": {
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set is_first = false %}{% set is_tool = false %}{% set is_output_first = true %}{% set system_prompt = \u0027\u0027%}{% set is_first_sp = true %}{% set is_last_user = false %}{%- for message in messages %}{%- if message[\u0027role\u0027] == \u0027system\u0027 %}{%- if is_first_sp %}{% set system_prompt = system_prompt + message[\u0027content\u0027] %}{% set is_first_sp = false %}{%- else %}{% set system_prompt = system_prompt + \u0027\n\n\u0027 + message[\u0027content\u0027] %}{%- endif %}{%- endif %}{%- endfor %}{{ bos_token }}{{ system_prompt }}{%- for message in messages %}{% set content = message[\u0027content\u0027] %}{%- if message[\u0027role\u0027] == \u0027user\u0027 %}{%- set is_tool = false -%}{%- set is_first = false -%}{%- set is_last_user = true -%}{{\u0027\u003c|User|\u003e\u0027 + content + \u0027\u003c|Assistant|\u003e\u0027}}{%- endif %}{%- if message[\u0027role\u0027] == \u0027assistant\u0027 %}{% if \u0027\u003c/think\u003e\u0027 in content %}{% set content = content.split(\u0027\u003c/think\u003e\u0027)[-1] %}{% endif %}{% endif %}{%- if message[\u0027role\u0027] == \u0027assistant\u0027 and message[\u0027tool_calls\u0027] is defined and message[\u0027tool_calls\u0027] is not none %}{%- set is_last_user = false -%}{%- if is_tool %}{{\u0027\u003c|tool▁outputs▁end|\u003e\u0027}}{%- endif %}{%- set is_first = false %}{%- set is_tool = false -%}{%- set is_output_first = true %}{%- for tool in message[\u0027tool_calls\u0027] %}{%- if not is_first %}{%- if content is none %}{{\u0027\u003c|tool▁calls▁begin|\u003e\u003c|tool▁call▁begin|\u003e\u0027 + tool[\u0027type\u0027] + \u0027\u003c|tool▁sep|\u003e\u0027 + tool[\u0027function\u0027][\u0027name\u0027] + \u0027\n\u0027 + \u0027```json\u0027 + \u0027\n\u0027 + tool[\u0027function\u0027][\u0027arguments\u0027] + \u0027\n\u0027 + \u0027```\u0027 + \u0027\u003c|tool▁call▁end|\u003e\u0027}}{%- else %}{{content + \u0027\u003c|tool▁calls▁begin|\u003e\u003c|tool▁call▁begin|\u003e\u0027 + tool[\u0027type\u0027] + \u0027\u003c|tool▁sep|\u003e\u0027 + tool[\u0027function\u0027][\u0027name\u0027] + \u0027\n\u0027 + \u0027```json\u0027 + \u0027\n\u0027 + tool[\u0027function\u0027][\u0027arguments\u0027] + \u0027\n\u0027 + \u0027```\u0027 + \u0027\u003c|tool▁call▁end|\u003e\u0027}}{%- endif %}{%- set is_first = true -%}{%- else %}{{\u0027\n\u0027 + \u0027\u003c|tool▁call▁begin|\u003e\u0027 + tool[\u0027type\u0027] + \u0027\u003c|tool▁sep|\u003e\u0027 + tool[\u0027function\u0027][\u0027name\u0027] + \u0027\n\u0027 + \u0027```json\u0027 + \u0027\n\u0027 + tool[\u0027function\u0027][\u0027arguments\u0027] + \u0027\n\u0027 + \u0027```\u0027 + \u0027\u003c|tool▁call▁end|\u003e\u0027}}{%- endif %}{%- endfor %}{{\u0027\u003c|tool▁calls▁end|\u003e\u003c|end▁of▁sentence|\u003e\u0027}}{%- endif %}{%- if message[\u0027role\u0027] == \u0027assistant\u0027 and (message[\u0027tool_calls\u0027] is not defined or message[\u0027tool_calls\u0027] is none)%}{%- set is_last_user = false -%}{%- if is_tool %}{{\u0027\u003c|tool▁outputs▁end|\u003e\u0027 + content + \u0027\u003c|end▁of▁sentence|\u003e\u0027}}{%- set is_tool = false -%}{%- else %}{{content + \u0027\u003c|end▁of▁sentence|\u003e\u0027}}{%- endif %}{%- endif %}{%- if message[\u0027role\u0027] == \u0027tool\u0027 %}{%- set is_last_user = false -%}{%- set is_tool = true -%}{%- if is_output_first %}{{\u0027\u003c|tool▁outputs▁begin|\u003e\u003c|tool▁output▁begin|\u003e\u0027 + content + \u0027\u003c|tool▁output▁end|\u003e\u0027}}{%- set is_output_first = false %}{%- else %}{{\u0027\n\u003c|tool▁output▁begin|\u003e\u0027 + content + \u0027\u003c|tool▁output▁end|\u003e\u0027}}{%- endif %}{%- endif %}{%- endfor -%}{% if is_tool %}{{\u0027\u003c|tool▁outputs▁end|\u003e\u0027}}{% endif %}{% if add_generation_prompt and not is_last_user and not is_tool %}{{\u0027\u003c|Assistant|\u003e\u0027}}{% endif %}",
"stop": [
"\u003c|end▁of▁sentence|\u003e"
],
"bos_token": "\u003c|begin▁of▁sentence|\u003e",
"eos_token": "\u003c|end▁of▁sentence|\u003e",
"max_output_length": 12288
},
"pricing": {
"hourly": 0,
"input": 3,
"output": 7,
"base": 0,
"finetune": 0
}
},
{
"id": "deepseek-ai/DeepSeek-V3.1",
"uuid": "endpoint-3aeb420a-6f30-485f-a486-a854d1c87136",
"object": "model",
"created": 1774480496,
"type": "chat",
"running": false,
"display_name": "Deepseek V3.1",
"organization": "DeepSeek",
"link": "https://huggingface.co/deepseek-ai/DeepSeek-V3.1",
"license": "mit",
"context_length": 131072,
"config": {
"chat_template": null,
"stop": [
"\u003c|end▁of▁sentence|\u003e"
],
"bos_token": "\u003c|begin▁of▁sentence|\u003e",
"eos_token": "\u003c|end▁of▁sentence|\u003e",
"max_output_length": 40000
},
"pricing": {
"hourly": 0,
"input": 0.6,
"output": 1.7,
"base": 0,
"finetune": 0
}
},
{
"id": "Qwen/Qwen3.5-9B",
"uuid": "endpoint-71bb7894-08d4-4882-bb72-7c257c234513",
"object": "model",
"created": 1775599644,
"type": "chat",
"running": false,
"display_name": "Qwen3.5 9B FP8",
"organization": "Qwen",
"link": "https://huggingface.co/api/models/togethercomputer/Qwen3.5-9B-FP8-MLP",
"context_length": 262144,
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": "\u003c|im_end|\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.1,
"output": 0.15,
"base": 0,
"finetune": 0
}
},
{
"id": "Qwen/Qwen3-Coder-Next-FP8",
"uuid": "endpoint-e866876b-60ac-408f-a521-526fafab05bf",
"object": "model",
"created": 0,
"type": "chat",
"running": false,
"display_name": "Qwen3 Coder Next Fp8",
"organization": "Qwen",
"link": "https://huggingface.co/api/models/Qwen/Qwen3-Coder-Next-FP8",
"license": "apache-2.0",
"context_length": 262144,
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0.5,
"output": 1.2,
"base": 0,
"finetune": 0
}
},
{
"id": "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8",
"uuid": "endpoint-4d37b937-890b-403a-bd2b-3d30b620254d",
"object": "model",
"created": 1753233591,
"type": "chat",
"running": false,
"display_name": "Qwen3 Coder 480B A35B Instruct Fp8",
"organization": "Qwen",
"link": "https://huggingface.co/api/models/Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8",
"license": "apache-2.0",
"context_length": 262144,
"config": {
"chat_template": null,
"stop": [
"\u003c|im_end|\u003e"
],
"bos_token": "\u003c|endoftext|\u003e",
"eos_token": "\u003c|im_end|\u003e"
},
"pricing": {
"hourly": 0,
"input": 2,
"output": 2,
"base": 0,
"finetune": 0
}
},
{
"id": "Qwen/Qwen3-235B-A22B-Instruct-2507-tput",
"uuid": "endpoint-a05fbf91-b71a-4814-b4fa-2b7a11290db8",
"object": "model",
"created": 1753218184,
"type": "chat",
"running": false,
"display_name": "Qwen3 235B A22B Instruct 2507 FP8 Throughput",
"organization": "Qwen",
"link": "https://huggingface.co/api/models/Qwen/Qwen3-235B-A22B-Instruct-2507-FP8",
"license": "apache-2.0",
"context_length": 262144,
"config": {
"chat_template": null,
"stop": [
"\u003c|im_end|\u003e"
],
"bos_token": "\u003c|endoftext|\u003e",
"eos_token": "\u003c|im_end|\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.2,
"output": 0.6,
"base": 0,
"finetune": 0
}
},
{
"id": "Qwen/Qwen3-235B-A22B-Thinking-2507",
"uuid": "endpoint-a05fbf91-b71a-4814-b4fa-2b7a11290db8",
"object": "model",
"created": 1753459407,
"type": "chat",
"running": false,
"display_name": "Qwen3 235B A22B Thinking 2507 FP8",
"organization": "Qwen",
"link": "https://huggingface.co/api/models/Qwen/Qwen3-235B-A22B-Thinking-2507-FP8",
"license": "apache-2.0",
"context_length": 262144,
"config": {
"chat_template": null,
"stop": [
"\u003c|im_end|\u003e"
],
"bos_token": "\u003c|endoftext|\u003e",
"eos_token": "\u003c|im_end|\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.65,
"output": 3,
"base": 0,
"finetune": 0
}
},
{
"id": "Qwen/Qwen3-VL-8B-Instruct",
"uuid": "endpoint-b3429766-6305-438b-9811-0cdf45318b15",
"object": "model",
"created": 0,
"type": "chat",
"running": false,
"display_name": "Qwen3-VL-8B-Instruct",
"organization": "Qwen",
"link": "https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct",
"license": "apache-2.0",
"context_length": 262144,
"config": {
"chat_template": null,
"stop": [
"\u003c|im_end|\u003e"
],
"bos_token": null,
"eos_token": "\u003c|im_end|\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.18000000000000002,
"output": 0.68,
"base": 0,
"finetune": 0
}
},
{
"id": "Qwen/Qwen2.5-7B-Instruct-Turbo",
"uuid": "endpoint-117e51c5-eec1-48b8-be1c-fe6f8ae0a5be",
"object": "model",
"created": 1728671048,
"type": "chat",
"running": false,
"display_name": "Qwen2.5 7B Instruct Turbo",
"organization": "Qwen",
"link": "https://huggingface.co/Qwen/Qwen2.5-7B-Instruct",
"license": "Qwen",
"context_length": 32768,
"config": {
"chat_template": "{%- if tools %}\n {{- \u0027\u003c|im_start|\u003esystem\\n\u0027 }}\n {%- if messages[0][\u0027role\u0027] == \u0027system\u0027 %}\n {{- messages[0][\u0027content\u0027] }}\n {%- else %}\n {{- \u0027You are Qwen, created by Alibaba Cloud. You are a helpful assistant.\u0027 }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within \u003ctools\u003e\u003c/tools\u003e XML tags:\\n\u003ctools\u003e\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n\u003c/tools\u003e\\n\\nFor each function call, return a json object with function name and arguments within \u003ctool_call\u003e\u003c/tool_call\u003e XML tags:\\n\u003ctool_call\u003e\\n{\\\"name\\\": \u003cfunction-name\u003e, \\\"arguments\\\": \u003cargs-json-object\u003e}\\n\u003c/tool_call\u003e\u003c|im_end|\u003e\\n\" }}\n{%- else %}\n {%- if messages[0][\u0027role\u0027] == \u0027system\u0027 %}\n {{- \u0027\u003c|im_start|\u003esystem\\n\u0027 + messages[0][\u0027content\u0027] + \u0027\u003c|im_end|\u003e\\n\u0027 }}\n {%- else %}\n {{- \u0027\u003c|im_start|\u003esystem\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.\u003c|im_end|\u003e\\n\u0027 }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- \u0027\u003c|im_start|\u003e\u0027 + message.role + \u0027\\n\u0027 + message.content + \u0027\u003c|im_end|\u003e\u0027 + \u0027\\n\u0027 }}\n {%- elif message.role == \"assistant\" %}\n {{- \u0027\u003c|im_start|\u003e\u0027 + message.role }}\n {%- if message.content %}\n {{- \u0027\\n\u0027 + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- \u0027\\n\u003ctool_call\u003e\\n{\"name\": \"\u0027 }}\n {{- tool_call.name }}\n {{- \u0027\", \"arguments\": \u0027 }}\n {{- tool_call.arguments | tojson }}\n {{- \u0027}\\n\u003c/tool_call\u003e\u0027 }}\n {%- endfor %}\n {{- \u0027\u003c|im_end|\u003e\\n\u0027 }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- \u0027\u003c|im_start|\u003euser\u0027 }}\n {%- endif %}\n {{- \u0027\\n\u003ctool_response\u003e\\n\u0027 }}\n {{- message.content }}\n {{- \u0027\\n\u003c/tool_response\u003e\u0027 }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- \u0027\u003c|im_end|\u003e\\n\u0027 }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- \u0027\u003c|im_start|\u003eassistant\\n\u0027 }}\n{%- endif %}\n",
"stop": [
"\u003c|im_end|\u003e"
],
"bos_token": "\u003c|endoftext|\u003e",
"eos_token": "\u003c|im_end|\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.3,
"output": 0.3,
"base": 0,
"finetune": 0
}
},
{
"id": "meta-llama/Llama-3.3-70B-Instruct-Turbo",
"object": "model",
"created": 1733466629,
"type": "chat",
"running": false,
"display_name": "Meta Llama 3.3 70B Instruct Turbo",
"organization": "Meta",
"link": "https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct",
"license": "Llama-3.3 (Other)",
"context_length": 131072,
"config": {
"chat_template": "{{- bos_token }}\n{%- if custom_tools is defined %}\n {%- set tools = custom_tools %}\n{%- endif %}\n{%- if not tools_in_user_message is defined %}\n {%- set tools_in_user_message = true %}\n{%- endif %}\n{%- if not date_string is defined %}\n {%- set date_string = \"26 Jul 2024\" %}\n{%- endif %}\n{%- if not tools is defined %}\n {%- set tools = none %}\n{%- endif %}\n\n{#- This block extracts the system message, so we can slot it into the right place. #}\n{%- if messages[0][\u0027role\u0027] == \u0027system\u0027 %}\n {%- set system_message = messages[0][\u0027content\u0027]|trim %}\n {%- set messages = messages[1:] %}\n{%- else %}\n {%- set system_message = \"\" %}\n{%- endif %}\n\n{#- System message + builtin tools #}\n{{- \"\u003c|start_header_id|\u003esystem\u003c|end_header_id|\u003e\\n\\n\" }}\n{%- if builtin_tools is defined or tools is not none %}\n {{- \"Environment: ipython\\n\" }}\n{%- endif %}\n{%- if builtin_tools is defined %}\n {{- \"Tools: \" + builtin_tools | reject(\u0027equalto\u0027, \u0027code_interpreter\u0027) | join(\", \") + \"\\n\\n\"}}\n{%- endif %}\n{{- \"Cutting Knowledge Date: December 2023\\n\" }}\n{{- \"Today Date: \" + date_string + \"\\n\\n\" }}\n{%- if tools is not none and not tools_in_user_message %}\n {{- \"You have access to the following functions. To call a function, please respond with JSON for a function call.\" }}\n {{- \u0027Respond in the format {\"name\": function name, \"parameters\": dictionary of argument name and its value}.\u0027 }}\n {{- \"Do not use variables.\\n\\n\" }}\n {%- for t in tools %}\n {{- t | tojson(indent=4) }}\n {{- \"\\n\\n\" }}\n {%- endfor %}\n{%- endif %}\n{{- system_message }}\n{{- \"\u003c|eot_id|\u003e\" }}\n\n{#- Custom tools are passed in a user message with some extra guidance #}\n{%- if tools_in_user_message and not tools is none %}\n {#- Extract the first user message so we can plug it in here #}\n {%- if messages | length != 0 %}\n {%- set first_user_message = messages[0][\u0027content\u0027]|trim %}\n {%- set messages = messages[1:] %}\n {%- else %}\n {{- raise_exception(\"Cannot put tools in the first user message when there\u0027s no first user message!\") }}\n{%- endif %}\n {{- \u0027\u003c|start_header_id|\u003euser\u003c|end_header_id|\u003e\\n\\n\u0027 -}}\n {{- \"Given the following functions, please respond with a JSON for a function call \" }}\n {{- \"with its proper arguments that best answers the given prompt.\\n\\n\" }}\n {{- \u0027Respond in the format {\"name\": function name, \"parameters\": dictionary of argument name and its value}.\u0027 }}\n {{- \"Do not use variables.\\n\\n\" }}\n {%- for t in tools %}\n {{- t | tojson(indent=4) }}\n {{- \"\\n\\n\" }}\n {%- endfor %}\n {{- first_user_message + \"\u003c|eot_id|\u003e\"}}\n{%- endif %}\n\n{%- for message in messages %}\n {%- if not (message.role == \u0027ipython\u0027 or message.role == \u0027tool\u0027 or \u0027tool_calls\u0027 in message) %}\n {{- \u0027\u003c|start_header_id|\u003e\u0027 + message[\u0027role\u0027] + \u0027\u003c|end_header_id|\u003e\\n\\n\u0027+ message[\u0027content\u0027] | trim + \u0027\u003c|eot_id|\u003e\u0027 }}\n {%- elif \u0027tool_calls\u0027 in message %}\n {%- if not message.tool_calls|length == 1 %}\n {{- raise_exception(\"This model only supports single tool-calls at once!\") }}\n {%- endif %}\n {%- set tool_call = message.tool_calls[0].function %}\n {%- if builtin_tools is defined and tool_call.name in builtin_tools %}\n {{- \u0027\u003c|start_header_id|\u003eassistant\u003c|end_header_id|\u003e\\n\\n\u0027 -}}\n {{- \"\u003c|python_tag|\u003e\" + tool_call.name + \".call(\" }}\n {%- for arg_name, arg_val in tool_call.arguments | items %}\n {{- arg_name + \u0027=\"\u0027 + arg_val + \u0027\"\u0027 }}\n {%- if not loop.last %}\n {{- \", \" }}\n {%- endif %}\n {%- endfor %}\n {{- \")\" }}\n {%- else %}\n {{- \u0027\u003c|start_header_id|\u003eassistant\u003c|end_header_id|\u003e\\n\\n\u0027 -}}\n {{- \u0027{\"name\": \"\u0027 + tool_call.name + \u0027\", \u0027 }}\n {{- \u0027\"parameters\": \u0027 }}\n {{- tool_call.arguments | tojson }}\n {{- \"}\" }}\n {%- endif %}\n {%- if builtin_tools is defined %}\n {#- This means we\u0027re in ipython mode #}\n {{- \"\u003c|eom_id|\u003e\" }}\n {%- else %}\n {{- \"\u003c|eot_id|\u003e\" }}\n {%- endif %}\n {%- elif message.role == \"tool\" or message.role == \"ipython\" %}\n {{- \"\u003c|start_header_id|\u003eipython\u003c|end_header_id|\u003e\\n\\n\" }}\n {%- if message.content is mapping or message.content is iterable %}\n {{- message.content | tojson }}\n {%- else %}\n {{- message.content }}\n {%- endif %}\n {{- \"\u003c|eot_id|\u003e\" }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- \u0027\u003c|start_header_id|\u003eassistant\u003c|end_header_id|\u003e\\n\\n\u0027 }}\n{%- endif %}\n",
"stop": [
"\u003c|eot_id|\u003e",
"\u003c|eom_id|\u003e"
],
"bos_token": "\u003c|begin_of_text|\u003e",
"eos_token": "\u003c|eot_id|\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.88,
"output": 0.88,
"base": 0,
"finetune": 0
}
},
{
"id": "meta-llama/Meta-Llama-3-8B-Instruct-Lite",
"uuid": "endpoint-23097993-11d0-4cd5-bfbc-d0613125f431",
"object": "model",
"created": 0,
"type": "chat",
"running": false,
"display_name": "Meta Llama 3 8B Instruct Lite",
"organization": "Meta",
"link": "https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct",
"license": "Llama-3 (Other)",
"context_length": 8192,
"config": {
"chat_template": "{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = \u0027\u003c|start_header_id|\u003e\u0027 + message[\u0027role\u0027] + \u0027\u003c|end_header_id|\u003e\n\n\u0027+ message[\u0027content\u0027] | trim + \u0027\u003c|eot_id|\u003e\u0027 %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ \u0027\u003c|start_header_id|\u003eassistant\u003c|end_header_id|\u003e\n\n\u0027 }}{% endif %}",
"stop": [
"\u003c|eot_id|\u003e"
],
"bos_token": "\u003c|begin_of_text|\u003e",
"eos_token": "\u003c|end_of_text|\u003e",
"max_output_length": 8192
},
"pricing": {
"hourly": 0,
"input": 0.1,
"output": 0.1,
"base": 0,
"finetune": 0
}
},
{
"id": "mistralai/Mistral-Small-24B-Instruct-2501",
"uuid": "endpoint-d5e9222e-abb6-49ce-940f-f24b0073bfda",
"object": "model",
"created": 1738246136,
"type": "chat",
"running": false,
"display_name": "Mistral Small (24B) Instruct 25.01",
"organization": "mistralai",
"link": "https://huggingface.co/mistralai/Mistral-Small-Instruct-2501",
"license": "apache-2.0",
"context_length": 32768,
"config": {
"chat_template": "{%- if messages[0][\"role\"] == \"system\" %}{%- set system_message = messages[0][\"content\"] %}{%- set loop_messages = messages[1:] %}{%- else %}{%- set today = strftime_now(\"%Y-%m-%d\") %}{%- set system_message = \"You are Mistral Small 3, a Large Language Model (LLM) created by Mistral AI, a French startup headquartered in Paris.\\nYour knowledge base was last updated on 2023-10-01. The current date is \" + today + \".\\n\\nWhen you\u0027re not sure about some information, you say that you don\u0027t have the information and don\u0027t make up anything.\\nIf the user\u0027s question is not clear, ambiguous, or does not provide enough context for you to accurately answer the question, you do not try to answer it right away and you rather ask the user to clarify their request (e.g. \\\"What are some good restaurants around me?\\\" =\u003e \\\"Where are you?\\\" or \\\"When is the next flight to Tokyo\\\" =\u003e \\\"Where do you travel from?\\\")\" %}{%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %}{%- set tools = none %}{%- elif tools is not none %}{%- set parallel_tool_prompt = \"You are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\\\"name\\\": tool call name, \\\"arguments\\\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user.\" %}{%- if system_message is defined %}{%- set system_message = parallel_tool_prompt + \"\\n\\n\" + system_message %}{%- else %}{%- set system_message = parallel_tool_prompt %}{%- endif %}\n{%- endif %}{%- set user_messages = loop_messages | selectattr(\"role\", \"equalto\", \"user\") | list %}{%- for message in loop_messages | rejectattr(\"role\", \"equalto\", \"tool\") | rejectattr(\"role\", \"equalto\", \"tool_results\") | selectattr(\"tool_calls\", \"undefined\") %}{%- if (message[\"role\"] == \"user\") != (loop.index0 % 2 == 0) %}{{- raise_exception(\"After the optional system message, conversation roles must alternate user/assistant/user/assistant/...\") }}{%- endif %}{%- endfor %}{{- bos_token }}{%- for message in loop_messages %}{%- if message[\"role\"] == \"user\" %}{%- if tools is not none and (message == user_messages[user_messages.length-1]) %}{{- \"[AVAILABLE_TOOLS] [\" }}{%- for tool in tools %}{%- set tool = tool.function %}{{- \u0027{\"type\": \"function\", \"function\": {\u0027 }}{%- for key, val in tool.items() if key != \"return\" %}{%- if val is string %}{{- \u0027\"\u0027 + key + \u0027\": \"\u0027 + val + \u0027\"\u0027 }}{%- else %}{{- \u0027\"\u0027 + key + \u0027\": \u0027 + val|tojson }}{%- endif %}{%- if not loop.last %}{{- \", \" }}{%- endif %}{%- endfor %}{{- \"}}\" }}{%- if not loop.last %}{{- \", \" }}{%- else %}{{- \"]\" }}{%- endif %}{%- endfor %}{{- \"[/AVAILABLE_TOOLS]\" }}{%- endif %}{%- if loop.last and system_message is defined %}{{- \"[SYSTEM_PROMPT]\" + system_message + \"[/SYSTEM_PROMPT][INST]\" + message[\"content\"] + \"[/INST]\" }}{%- else %}{{- \"[INST]\" + message[\"content\"] + \"[/INST]\" }}{%- endif %}{%- elif message[\"role\"] == \"tool_calls\" or message.tool_calls is defined %}{%- if message.tool_calls is defined %}{%- set tool_calls = message.tool_calls %}{%- else %}{%- set tool_calls = message.content %}{%- endif %}{{- \"[TOOL_CALLS] [\" }}{%- for tool_call in tool_calls %}{%- set out = tool_call.function|tojson %}{{- out }}{%- if not tool_call.id is defined or tool_call.id|length \u003c 9 %}{{- raise_exception(\"Tool call IDs should be alphanumeric strings with length \u003e= 9! (1)\" + tool_call.id) }}{%- endif %}{{- \u0027, \"id\": \"\u0027 + tool_call.id + \u0027\"}\u0027 }}{%- if not loop.last %}{{- \", \" }}{%- else %}{{- \"]\" + eos_token }}{%- endif %}{%- endfor %}{%- elif message[\"role\"] == \"assistant\" %}{{- \" \" + message[\"content\"] + eos_token }}{%- elif message[\"role\"] == \"tool_results\" or message[\"role\"] == \"tool\" %}{%- if message.content is defined and message.content.content is defined %}{%- set content = message.content.content %}{%- else %}{%- set content = message.content %}{%- endif %}{{- \u0027[TOOL_RESULTS] {\"content\": \u0027 + content|string + \", \" }}{%- if not message.tool_call_id is defined or message.tool_call_id|length \u003c 9 %}{{- raise_exception(\"Tool call IDs should be alphanumeric strings with length \u003e= 9! (2)\" + message.tool_call_id) }}{%- endif %}{{- \u0027\"call_id\": \"\u0027 + message.tool_call_id + \u0027\"}[/TOOL_RESULTS]\u0027 }}{%- else %}{{- raise_exception(\"Only user and assistant roles are supported, with the exception of an initial optional system message!\") }}{%- endif %}\n{%- endfor %}",
"stop": [
"[/INST]",
"\u003c/s\u003e"
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0.1,
"output": 0.3,
"base": 0,
"finetune": 0
}
},
{
"id": "mistralai/Mixtral-8x7B-Instruct-v0.1",
"uuid": "endpoint-14e525c7-aa72-46f4-981d-1bdbf2f83dde",
"object": "model",
"created": 1702342468,
"type": "chat",
"running": false,
"display_name": "Mixtral-8x7B Instruct v0.1",
"organization": "mistralai",
"link": "https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1",
"license": "apache-2.0",
"context_length": 32768,
"config": {
"chat_template": "{% if messages[0][\u0027role\u0027] == \u0027system\u0027 %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0][\u0027content\u0027] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if loop.index0 == 0 and system_message != false %}{% set content = \u0027\u003c\u003cSYS\u003e\u003e\\n\u0027 + system_message + \u0027\\n\u003c\u003c/SYS\u003e\u003e\\n\\n\u0027 + message[\u0027content\u0027] %}{% else %}{% set content = message[\u0027content\u0027] %}{% endif %}{% if message[\u0027role\u0027] == \u0027user\u0027 or message[\u0027role\u0027] == \u0027tool\u0027 %}{{ bos_token + \u0027[INST] \u0027 + content + \u0027 [/INST]\u0027 }}{% elif message[\u0027role\u0027] == \u0027system\u0027 %}{{ \u0027\u003c\u003cSYS\u003e\u003e\\n\u0027 + content + \u0027\\n\u003c\u003c/SYS\u003e\u003e\\n\\n\u0027 }}{% elif message[\u0027role\u0027] == \u0027assistant\u0027 %}{{ \u0027 \u0027 + content + \u0027 \u0027 + eos_token }}{% endif %}{% endfor %}",
"stop": [
"[/INST]",
"\u003c/s\u003e"
],
"bos_token": "\u003cs\u003e",
"eos_token": "\u003c/s\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.6,
"output": 0.6,
"base": 0,
"finetune": 0
}
},
{
"id": "google/gemma-3n-E4B-it",
"uuid": "endpoint-290b90f1-cdb9-46c1-a919-9a73822375c3",
"object": "model",
"created": 1750955040,
"type": "chat",
"running": false,
"display_name": "Gemma 3N E4B Instruct",
"organization": "Google",
"link": "https://huggingface.co/google/gemma-3n-E4B-it",
"license": "gemma",
"context_length": 32768,
"config": {
"chat_template": null,
"stop": [
"\u003ceos\u003e"
],
"bos_token": "\u003cbos\u003e",
"eos_token": "\u003ceos\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.02,
"output": 0.04,
"base": 0,
"finetune": 0
}
},
{
"id": "hexgrad/Kokoro-82M",
"object": "model",
"created": 1773163054,
"type": "audio",
"running": false,
"display_name": "Kokoro 82M",
"organization": "Hexgrad",
"link": "https://huggingface.co/hexgrad/Kokoro-82M",
"license": "apache2",
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 4,
"output": 0,
"base": 0,
"finetune": 0
}
},
{
"id": "canopylabs/orpheus-3b-0.1-ft",
"object": "model",
"created": 1755731205,
"type": "audio",
"running": false,
"display_name": "Orpheus 3B 0.1 FT",
"organization": "Canopy Labs",
"link": "https://huggingface.co/canopylabs/orpheus-3b-0.1-ft",
"license": "apache2",
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 15,
"output": 0,
"base": 0,
"finetune": 0
}
},
{
"id": "openai/whisper-large-v3",
"object": "model",
"created": 1748454089,
"type": "transcribe",
"running": false,
"display_name": "Whisper large-v3",
"organization": "OpenAI",
"link": "https://huggingface.co/openai/whisper-large-v3",
"license": "apache2",
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0.27,
"output": 0.85,
"base": 0,
"finetune": 0
}
},
{
"id": "black-forest-labs/FLUX.1-schnell",
"uuid": "endpoint-e4638297-e0d0-4be4-85d4-62449ad55023",
"object": "model",
"created": 0,
"type": "image",
"running": false,
"display_name": "FLUX.1 Schnell",
"organization": "Black Forest Labs",
"link": "https://huggingface.co/black-forest-labs/FLUX.1-schnell",
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0,
"output": 0,
"base": 0,
"finetune": 0
}
},
{
"id": "black-forest-labs/FLUX.1-krea-dev",
"object": "model",
"created": 1753940366,
"type": "image",
"running": false,
"display_name": "FLUX.1 Krea [dev]",
"organization": "Black Forest Labs",
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0,
"output": 0,
"base": 0,
"finetune": 0
}
},
{
"id": "black-forest-labs/FLUX.1-kontext-pro",
"object": "model",
"created": 0,
"type": "image",
"running": false,
"display_name": "FLUX.1 Kontext [pro]",
"organization": "Black Forest Labs",
"context_length": 0,
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0,
"output": 0,
"base": 0,
"finetune": 0
}
},
{
"id": "black-forest-labs/FLUX.1-kontext-max",
"object": "model",
"created": 0,
"type": "image",
"running": false,
"display_name": "FLUX.1 Kontext [max]",
"organization": "Black Forest Labs",
"context_length": 0,
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0,
"output": 0,
"base": 0,
"finetune": 0
}
},
{
"id": "black-forest-labs/FLUX.2-dev",
"uuid": "endpoint-268047b1-b295-4d9b-bc9f-239d375768ab",
"object": "model",
"created": 1764086551,
"type": "image",
"running": false,
"display_name": "FLUX.2 [dev]",
"organization": "Black Forest Labs",
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0,
"output": 0,
"base": 0,
"finetune": 0
}
},
{
"id": "black-forest-labs/FLUX.2-flex",
"uuid": "endpoint-3d15053d-a558-487c-b0f8-068e9dfd781f",
"object": "model",
"created": 1764090764,
"type": "image",
"running": false,
"display_name": "FLUX.2 [flex]",
"organization": "Black Forest Labs",
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0,
"output": 0,
"base": 0,
"finetune": 0
}
},
{
"id": "black-forest-labs/FLUX.2-pro",
"uuid": "endpoint-f6f3da91-6f41-4b38-b61c-40f60902b714",
"object": "model",
"created": 1764070232,
"type": "image",
"running": false,
"display_name": "FLUX.2 [pro]",
"organization": "Black Forest Labs",
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0,
"output": 0,
"base": 0,
"finetune": 0
}
},
{
"id": "black-forest-labs/FLUX.2-max",
"object": "model",
"created": 0,
"type": "image",
"running": false,
"display_name": "FLUX.2 [max]",
"organization": "Black Forest Labs",
"context_length": 0,
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0,
"output": 0,
"base": 0,
"finetune": 0
}
},
{
"id": "black-forest-labs/FLUX.1.1-pro",
"uuid": "endpoint-071376f6-db8a-44cf-9706-7ba0c9c14833",
"object": "model",
"created": 0,
"type": "image",
"running": false,
"display_name": "FLUX1.1 [pro]",
"organization": "Black Forest Labs",
"link": "https://huggingface.co/black-forest-labs/FLUX.1-schnell",
"config": {
"chat_template": null,
"stop": [
],
"bos_token": null,
"eos_token": null
},
"pricing": {
"hourly": 0,
"input": 0,
"output": 0,
"base": 0,
"finetune": 0
}
},
{
"id": "meta-llama/Llama-Guard-4-12B",
"uuid": "endpoint-2095a2fc-bb95-48df-b94f-f95ccb22fa93",
"object": "model",
"created": 1746038486,
"type": "moderation",
"running": false,
"display_name": "Llama Guard 4 12B",
"organization": "Meta",
"link": "https://huggingface.co/meta-llama/Llama-Guard-4-12B",
"license": "other llama4",
"context_length": 1048576,
"config": {
"chat_template": "{%- if messages | length % 2 == 0 -%}\n {%- set role = \u0027Agent\u0027 -%}\n{%- else -%}\n {%- set role = \u0027User\u0027 -%}\n{%- endif -%}\n\n{%- if categories is not defined -%}\n {%- set ns = namespace(contains_image=false) -%}\n\n {%- for message in messages -%}\n {%- for content in message[\u0027content\u0027] | selectattr(\u0027type\u0027, \u0027equalto\u0027, \u0027image\u0027) -%}\n {%- set ns.contains_image = true -%}\n {%- endfor -%}\n {%- endfor -%}\n\n {%- if ns.contains_image -%}\n {%- set categories = {\n \"S1\": \"Violent Crimes.\",\n \"S2\": \"Non-Violent Crimes.\",\n \"S3\": \"Sex Crimes.\",\n \"S4\": \"Child Exploitation.\",\n \"S5\": \"Defamation.\",\n \"S6\": \"Specialized Advice.\",\n \"S7\": \"Privacy.\",\n \"S8\": \"Intellectual Property.\",\n \"S9\": \"Indiscriminate Weapons.\",\n \"S10\": \"Hate.\",\n \"S11\": \"Self-Harm.\",\n \"S12\": \"Sexual Content.\",\n \"S13\": \"Elections.\",\n } -%}\n {%- else -%}\n {%- set categories = {\n \"S1\": \"Violent Crimes.\",\n \"S2\": \"Non-Violent Crimes.\",\n \"S3\": \"Sex Crimes.\",\n \"S4\": \"Child Exploitation.\",\n \"S5\": \"Defamation.\",\n \"S6\": \"Specialized Advice.\",\n \"S7\": \"Privacy.\",\n \"S8\": \"Intellectual Property.\",\n \"S9\": \"Indiscriminate Weapons.\",\n \"S10\": \"Hate.\",\n \"S11\": \"Self-Harm.\",\n \"S12\": \"Sexual Content.\",\n \"S13\": \"Elections.\",\n \"S14\": \"Code Interpreter Abuse.\",\n } -%}\n {%- endif -%}\n{%- endif -%}\n\n{{ \"\u003c|begin_of_text|\u003e\u003c|header_start|\u003euser\u003c|header_end|\u003e\\n\" }}\n{{ \"Task: Check if there is unsafe content in \u0027\" + role + \"\u0027 messages in conversations according to our safety policy with the below categories.\\n\" }}\n{{ \"\u003cBEGIN UNSAFE CONTENT CATEGORIES\u003e\\n\" }}\n\n{%- for key in categories -%}\n {%- if key not in excluded_category_keys -%}\n {{ key + \": \" + categories[key] + \"\\n\" }}\n {%- endif -%}\n{%- endfor -%}\n\n{{ \"\u003cEND UNSAFE CONTENT CATEGORIES\u003e\\n\" }}\n{{ \"\u003cBEGIN CONVERSATION\u003e\\n\" }}\n\n{%- for message in messages -%}\n {%- if (message[\u0027role\u0027] == \u0027user\u0027) != (loop.index0 % 2 == 0) -%}\n {{ raise_exception(\u0027Conversation roles must alternate user/assistant/user/assistant/...\u0027) }}\n {%- endif -%}\n\n {%- set content = message[\u0027content\u0027] -%}\n\n {%- if message[\u0027role\u0027] == \u0027user\u0027 -%}\n {%- set role = \u0027User\u0027 -%}\n {%- elif message[\u0027role\u0027] == \u0027assistant\u0027 -%}\n {%- set role = \u0027Agent\u0027 -%}\n {%- endif -%}\n\n {#— #1 Accumulate all images for this message —#}\n {%- set ns = namespace(img_tokens=\u0027\u0027) -%}\n {%- for img in message.content | selectattr(\u0027type\u0027, \u0027equalto\u0027, \u0027image\u0027) -%}\n {%- set ns.img_tokens = ns.img_tokens + \u0027\u003c|image|\u003e\u0027 -%}\n {%- endfor -%}\n\n {#— #2 Then emit all text —#}\n {%- for txt in message.content | selectattr(\u0027type\u0027,\u0027equalto\u0027,\u0027text\u0027) -%}\n {{ role + \u0027: \u0027 }}{{ ns.img_tokens }}{{ txt.text | trim }}\\n\\n\n\n {#— clear the buffer so only first text prints images —#}\n {%- if loop.first -%}\n {%- set ns.img_tokens = \u0027\u0027 -%}\n {%- endif -%}\n {%- endfor -%}\n{%- endfor -%}\n\n{{ \"\u003cEND CONVERSATION\u003e\\n\" }}\n{{ \"Provide your safety assessment for ONLY THE LAST \" + role + \" message in the above conversation:\" }}\n{{ \" - First line must read \u0027safe\u0027 or \u0027unsafe\u0027.\" }}\n{{ \" - If unsafe, a second line must include a comma-separated list of violated categories. \u003c|eot|\u003e\u003c|header_start|\u003eassistant\u003c|header_end|\u003e\" }}",
"stop": [
"\u003c|eot|\u003e"
],
"bos_token": "\u003c|begin_of_text|\u003e",
"eos_token": "\u003c|eot|\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.2,
"output": 0.2,
"base": 0,
"finetune": 0
}
},
{
"id": "Virtue-AI/VirtueGuard-Text-Lite",
"uuid": "endpoint-7b619281-f83c-488a-baf9-fdcc0ddbc782",
"object": "model",
"created": 1753221263,
"type": "moderation",
"running": false,
"display_name": "Virtueguard Text Lite",
"organization": "Virtue AI",
"link": "https://huggingface.co/api/models/VirtueAIxTogether/VirtueGuard-Text-Lite",
"license": "unknown",
"context_length": 32768,
"config": {
"chat_template": "{%- if messages | length == 1 -%}\n {{- messages[0].get(\u0027content\u0027, \u0027\u0027) -}}\n{%- else -%}\n {%- for message in messages -%}\n {%- set role = message.get(\u0027role\u0027, \u0027\u0027) | lower -%}\n {%- set content = message.get(\u0027content\u0027, \u0027\u0027) -%}\n {%- if role == \u0027user\u0027 -%}\n {{- \u0027User: \u0027 + content + \u0027\\n\u0027 -}}\n {%- elif role == \u0027assistant\u0027 -%}\n {{- \u0027Assistant: \u0027 + content + \u0027\\n\u0027 -}}\n {%- elif role == \u0027system\u0027 -%}\n {{- \u0027System: \u0027 + content + \u0027\\n\u0027 -}}\n {%- endif -%}\n {%- endfor -%}\n{%- endif -%}",
"stop": [
"\u003c|im_end|\u003e"
],
"bos_token": null,
"eos_token": "\u003c|im_end|\u003e",
"max_output_length": 1
},
"pricing": {
"hourly": 0,
"input": 0.2,
"output": 0.2,
"base": 0,
"finetune": 0
}
},
{
"id": "intfloat/multilingual-e5-large-instruct",
"uuid": "endpoint-b1b563e5-5ec2-4577-9017-16b52ac5c841",
"object": "model",
"created": 1745513588,
"type": "embedding",
"running": false,
"display_name": "Multilingual E5 Large Instruct",
"organization": "Intfloat",
"link": "https://huggingface.co/api/models/intfloat/multilingual-e5-large-instruct",
"license": "mit",
"context_length": 514,
"config": {
"chat_template": null,
"stop": [
"\u003c/s\u003e"
],
"bos_token": "\u003cs\u003e",
"eos_token": "\u003c/s\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.02,
"output": 0.02,
"base": 0,
"finetune": 0
}
},
{
"id": "arize-ai/qwen-2-1.5b-instruct",
"uuid": "endpoint-22ce9f16-299a-47cc-b88f-c59cfb1d235e",
"object": "model",
"created": 1745522693,
"type": "chat",
"running": false,
"display_name": "Arize AI Qwen 2 1.5B Instruct",
"organization": "Togethercomputer",
"link": "https://huggingface.co/api/models/togethercomputer/arize-ai-qwen-2-1.5b-instruct",
"context_length": 32768,
"config": {
"chat_template": "{% for message in messages %}{% if loop.first and messages[0][\u0027role\u0027] != \u0027system\u0027 %}{{ \u0027\u003c|im_start|\u003esystem\nYou are a helpful assistant.\u003c|im_end|\u003e\n\u0027 }}{% endif %}{{\u0027\u003c|im_start|\u003e\u0027 + message[\u0027role\u0027] + \u0027\n\u0027 + message[\u0027content\u0027] + \u0027\u003c|im_end|\u003e\u0027 + \u0027\n\u0027}}{% endfor %}{% if add_generation_prompt %}{{ \u0027\u003c|im_start|\u003eassistant\n\u0027 }}{% endif %}",
"stop": [
"\u003c|im_end|\u003e"
],
"bos_token": "\u003c|endoftext|\u003e",
"eos_token": "\u003c|im_end|\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.1,
"output": 0.1,
"base": 0,
"finetune": 0
}
},
{
"id": "LiquidAI/LFM2-24B-A2B",
"uuid": "endpoint-0bfd17c9-bc9f-4496-8f55-ac2e07a2864c",
"object": "model",
"created": 0,
"type": "chat",
"running": false,
"display_name": "LFM2-24B-A2B",
"organization": "Togethercomputer",
"context_length": 32768,
"config": {
"chat_template": null,
"stop": [
"\u003c|im_end|\u003e"
],
"bos_token": "\u003c|startoftext|\u003e",
"eos_token": "\u003c|im_end|\u003e"
},
"pricing": {
"hourly": 0,
"input": 0.030000000000000002,
"output": 0.12000000000000001,