@chainfuse/types 2.3.1 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,7 +38,13 @@ export declare const azureCatalog: readonly [{
38
38
  readonly outputTokenCost: 6e-7;
39
39
  }];
40
40
  readonly imageModelAvailability: readonly ["dall-e-3"];
41
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large", "text-embedding-3-small"];
41
+ readonly textEmbeddingModelAvailability: readonly [{
42
+ readonly name: "text-embedding-3-large";
43
+ readonly tokenCost: 1.3e-7;
44
+ }, {
45
+ readonly name: "text-embedding-3-small";
46
+ readonly tokenCost: 2e-8;
47
+ }];
42
48
  }, {
43
49
  readonly id: "OpenAi-BR-SaoPauloState";
44
50
  readonly coordinate: {
@@ -86,7 +92,13 @@ export declare const azureCatalog: readonly [{
86
92
  readonly outputTokenCost: 6e-7;
87
93
  }];
88
94
  readonly imageModelAvailability: readonly [];
89
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large", "text-embedding-3-small"];
95
+ readonly textEmbeddingModelAvailability: readonly [{
96
+ readonly name: "text-embedding-3-large";
97
+ readonly tokenCost: 1.3e-7;
98
+ }, {
99
+ readonly name: "text-embedding-3-small";
100
+ readonly tokenCost: 2e-8;
101
+ }];
90
102
  }, {
91
103
  readonly id: "OpenAI-CA-Toronto";
92
104
  readonly coordinate: {
@@ -130,7 +142,13 @@ export declare const azureCatalog: readonly [{
130
142
  readonly outputTokenCost: 6e-7;
131
143
  }];
132
144
  readonly imageModelAvailability: readonly [];
133
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large", "text-embedding-3-small"];
145
+ readonly textEmbeddingModelAvailability: readonly [{
146
+ readonly name: "text-embedding-3-large";
147
+ readonly tokenCost: 1.3e-7;
148
+ }, {
149
+ readonly name: "text-embedding-3-small";
150
+ readonly tokenCost: 2e-8;
151
+ }];
134
152
  }, {
135
153
  readonly id: "OpenAi-EU-Frankfurt";
136
154
  readonly coordinate: {
@@ -184,7 +202,10 @@ export declare const azureCatalog: readonly [{
184
202
  readonly outputTokenCost: 0.0000044;
185
203
  }];
186
204
  readonly imageModelAvailability: readonly ["dall-e-3"];
187
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large"];
205
+ readonly textEmbeddingModelAvailability: readonly [{
206
+ readonly name: "text-embedding-3-large";
207
+ readonly tokenCost: 1.3e-7;
208
+ }];
188
209
  }, {
189
210
  readonly id: "OpenAI-EU-Madrid";
190
211
  readonly coordinate: {
@@ -250,7 +271,10 @@ export declare const azureCatalog: readonly [{
250
271
  readonly outputTokenCost: 6e-7;
251
272
  }];
252
273
  readonly imageModelAvailability: readonly [];
253
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large"];
274
+ readonly textEmbeddingModelAvailability: readonly [{
275
+ readonly name: "text-embedding-3-large";
276
+ readonly tokenCost: 1.3e-7;
277
+ }];
254
278
  }, {
255
279
  readonly id: "OpenAi-EU-Warsaw";
256
280
  readonly coordinate: {
@@ -270,7 +294,9 @@ export declare const azureCatalog: readonly [{
270
294
  readonly outputTokenCost: 6e-7;
271
295
  }];
272
296
  readonly imageModelAvailability: readonly [];
273
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large"];
297
+ readonly textEmbeddingModelAvailability: readonly [{
298
+ readonly name: "text-embedding-3-large";
299
+ }];
274
300
  }, {
275
301
  readonly id: "OpenAi-IN-Chennai";
276
302
  readonly coordinate: {
@@ -294,7 +320,9 @@ export declare const azureCatalog: readonly [{
294
320
  readonly outputTokenCost: 6e-7;
295
321
  }];
296
322
  readonly imageModelAvailability: readonly [];
297
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large"];
323
+ readonly textEmbeddingModelAvailability: readonly [{
324
+ readonly name: "text-embedding-3-large";
325
+ }];
298
326
  }, {
299
327
  readonly id: "OpenAi-JP-Tokyo";
300
328
  readonly coordinate: {
@@ -320,7 +348,12 @@ export declare const azureCatalog: readonly [{
320
348
  readonly outputTokenCost: 6e-7;
321
349
  }];
322
350
  readonly imageModelAvailability: readonly [];
323
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large", "text-embedding-3-small"];
351
+ readonly textEmbeddingModelAvailability: readonly [{
352
+ readonly name: "text-embedding-3-large";
353
+ }, {
354
+ readonly name: "text-embedding-3-small";
355
+ readonly tokenCost: 2e-8;
356
+ }];
324
357
  }, {
325
358
  readonly id: "OpenAi-KR-Seoul";
326
359
  readonly coordinate: {
@@ -362,7 +395,10 @@ export declare const azureCatalog: readonly [{
362
395
  readonly outputTokenCost: 6e-7;
363
396
  }];
364
397
  readonly imageModelAvailability: readonly [];
365
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large"];
398
+ readonly textEmbeddingModelAvailability: readonly [{
399
+ readonly name: "text-embedding-3-large";
400
+ readonly tokenCost: 1.3e-7;
401
+ }];
366
402
  }, {
367
403
  readonly id: "OpenAi-SG-Singapore";
368
404
  readonly coordinate: {
@@ -397,7 +433,10 @@ export declare const azureCatalog: readonly [{
397
433
  readonly outputTokenCost: 6e-7;
398
434
  }];
399
435
  readonly imageModelAvailability: readonly [];
400
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large"];
436
+ readonly textEmbeddingModelAvailability: readonly [{
437
+ readonly name: "text-embedding-3-large";
438
+ readonly tokenCost: 1.3e-7;
439
+ }];
401
440
  }, {
402
441
  readonly id: "OpenAi-US-California";
403
442
  readonly coordinate: {
@@ -466,7 +505,9 @@ export declare const azureCatalog: readonly [{
466
505
  readonly outputTokenCost: 6.6e-7;
467
506
  }];
468
507
  readonly imageModelAvailability: readonly [];
469
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large"];
508
+ readonly textEmbeddingModelAvailability: readonly [{
509
+ readonly name: "text-embedding-3-large";
510
+ }];
470
511
  }, {
471
512
  readonly id: "OpenAi-US-Texas";
472
513
  readonly coordinate: {
@@ -516,7 +557,13 @@ export declare const azureCatalog: readonly [{
516
557
  readonly outputTokenCost: 6.6e-7;
517
558
  }];
518
559
  readonly imageModelAvailability: readonly ["dall-e-3"];
519
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large", "text-embedding-3-small"];
560
+ readonly textEmbeddingModelAvailability: readonly [{
561
+ readonly name: "text-embedding-3-large";
562
+ readonly tokenCost: 1.3e-7;
563
+ }, {
564
+ readonly name: "text-embedding-3-small";
565
+ readonly tokenCost: 2e-8;
566
+ }];
520
567
  }, {
521
568
  readonly id: "OpenAi-US-Virginia2";
522
569
  readonly coordinate: {
@@ -549,7 +596,13 @@ export declare const azureCatalog: readonly [{
549
596
  readonly outputTokenCost: 0.0000044;
550
597
  }];
551
598
  readonly imageModelAvailability: readonly [];
552
- readonly textEmbeddingModelAvailability: readonly ["text-embedding-3-large", "text-embedding-3-small"];
599
+ readonly textEmbeddingModelAvailability: readonly [{
600
+ readonly name: "text-embedding-3-large";
601
+ readonly tokenCost: 1.3e-7;
602
+ }, {
603
+ readonly name: "text-embedding-3-small";
604
+ readonly tokenCost: 2e-8;
605
+ }];
553
606
  }, {
554
607
  readonly id: "OpenAi-ZA-Johannesburg";
555
608
  readonly coordinate: {
@@ -48,7 +48,16 @@ export const azureCatalog = [
48
48
  },
49
49
  ],
50
50
  imageModelAvailability: ['dall-e-3'],
51
- textEmbeddingModelAvailability: ['text-embedding-3-large', 'text-embedding-3-small'],
51
+ textEmbeddingModelAvailability: [
52
+ {
53
+ name: 'text-embedding-3-large',
54
+ tokenCost: 1.3e-7,
55
+ },
56
+ {
57
+ name: 'text-embedding-3-small',
58
+ tokenCost: 2e-8,
59
+ },
60
+ ],
52
61
  },
53
62
  {
54
63
  id: 'OpenAi-BR-SaoPauloState',
@@ -107,7 +116,16 @@ export const azureCatalog = [
107
116
  },
108
117
  ],
109
118
  imageModelAvailability: [],
110
- textEmbeddingModelAvailability: ['text-embedding-3-large', 'text-embedding-3-small'],
119
+ textEmbeddingModelAvailability: [
120
+ {
121
+ name: 'text-embedding-3-large',
122
+ tokenCost: 1.3e-7,
123
+ },
124
+ {
125
+ name: 'text-embedding-3-small',
126
+ tokenCost: 2e-8,
127
+ },
128
+ ],
111
129
  },
112
130
  {
113
131
  id: 'OpenAI-CA-Toronto',
@@ -159,7 +177,16 @@ export const azureCatalog = [
159
177
  },
160
178
  ],
161
179
  imageModelAvailability: [],
162
- textEmbeddingModelAvailability: ['text-embedding-3-large', 'text-embedding-3-small'],
180
+ textEmbeddingModelAvailability: [
181
+ {
182
+ name: 'text-embedding-3-large',
183
+ tokenCost: 1.3e-7,
184
+ },
185
+ {
186
+ name: 'text-embedding-3-small',
187
+ tokenCost: 2e-8,
188
+ },
189
+ ],
163
190
  },
164
191
  {
165
192
  id: 'OpenAi-EU-Frankfurt',
@@ -226,7 +253,12 @@ export const azureCatalog = [
226
253
  },
227
254
  ],
228
255
  imageModelAvailability: ['dall-e-3'],
229
- textEmbeddingModelAvailability: ['text-embedding-3-large'],
256
+ textEmbeddingModelAvailability: [
257
+ {
258
+ name: 'text-embedding-3-large',
259
+ tokenCost: 1.3e-7,
260
+ },
261
+ ],
230
262
  },
231
263
  {
232
264
  id: 'OpenAI-EU-Madrid',
@@ -307,7 +339,12 @@ export const azureCatalog = [
307
339
  },
308
340
  ],
309
341
  imageModelAvailability: [],
310
- textEmbeddingModelAvailability: ['text-embedding-3-large'],
342
+ textEmbeddingModelAvailability: [
343
+ {
344
+ name: 'text-embedding-3-large',
345
+ tokenCost: 1.3e-7,
346
+ },
347
+ ],
311
348
  },
312
349
  {
313
350
  id: 'OpenAi-EU-Warsaw',
@@ -332,7 +369,11 @@ export const azureCatalog = [
332
369
  },
333
370
  ],
334
371
  imageModelAvailability: [],
335
- textEmbeddingModelAvailability: ['text-embedding-3-large'],
372
+ textEmbeddingModelAvailability: [
373
+ {
374
+ name: 'text-embedding-3-large',
375
+ },
376
+ ],
336
377
  },
337
378
  {
338
379
  id: 'OpenAi-IN-Chennai',
@@ -362,7 +403,11 @@ export const azureCatalog = [
362
403
  },
363
404
  ],
364
405
  imageModelAvailability: [],
365
- textEmbeddingModelAvailability: ['text-embedding-3-large'],
406
+ textEmbeddingModelAvailability: [
407
+ {
408
+ name: 'text-embedding-3-large',
409
+ },
410
+ ],
366
411
  },
367
412
  {
368
413
  id: 'OpenAi-JP-Tokyo',
@@ -394,7 +439,15 @@ export const azureCatalog = [
394
439
  },
395
440
  ],
396
441
  imageModelAvailability: [],
397
- textEmbeddingModelAvailability: ['text-embedding-3-large', 'text-embedding-3-small'],
442
+ textEmbeddingModelAvailability: [
443
+ {
444
+ name: 'text-embedding-3-large',
445
+ },
446
+ {
447
+ name: 'text-embedding-3-small',
448
+ tokenCost: 2e-8,
449
+ },
450
+ ],
398
451
  },
399
452
  {
400
453
  id: 'OpenAi-KR-Seoul',
@@ -446,7 +499,12 @@ export const azureCatalog = [
446
499
  },
447
500
  ],
448
501
  imageModelAvailability: [],
449
- textEmbeddingModelAvailability: ['text-embedding-3-large'],
502
+ textEmbeddingModelAvailability: [
503
+ {
504
+ name: 'text-embedding-3-large',
505
+ tokenCost: 1.3e-7,
506
+ },
507
+ ],
450
508
  },
451
509
  {
452
510
  id: 'OpenAi-SG-Singapore',
@@ -488,7 +546,12 @@ export const azureCatalog = [
488
546
  },
489
547
  ],
490
548
  imageModelAvailability: [],
491
- textEmbeddingModelAvailability: ['text-embedding-3-large'],
549
+ textEmbeddingModelAvailability: [
550
+ {
551
+ name: 'text-embedding-3-large',
552
+ tokenCost: 1.3e-7,
553
+ },
554
+ ],
492
555
  },
493
556
  {
494
557
  id: 'OpenAi-US-California',
@@ -575,7 +638,11 @@ export const azureCatalog = [
575
638
  },
576
639
  ],
577
640
  imageModelAvailability: [],
578
- textEmbeddingModelAvailability: ['text-embedding-3-large'],
641
+ textEmbeddingModelAvailability: [
642
+ {
643
+ name: 'text-embedding-3-large',
644
+ },
645
+ ],
579
646
  },
580
647
  {
581
648
  id: 'OpenAi-US-Texas',
@@ -637,7 +704,16 @@ export const azureCatalog = [
637
704
  },
638
705
  ],
639
706
  imageModelAvailability: ['dall-e-3'],
640
- textEmbeddingModelAvailability: ['text-embedding-3-large', 'text-embedding-3-small'],
707
+ textEmbeddingModelAvailability: [
708
+ {
709
+ name: 'text-embedding-3-large',
710
+ tokenCost: 1.3e-7,
711
+ },
712
+ {
713
+ name: 'text-embedding-3-small',
714
+ tokenCost: 2e-8,
715
+ },
716
+ ],
641
717
  },
642
718
  {
643
719
  id: 'OpenAi-US-Virginia2',
@@ -678,7 +754,16 @@ export const azureCatalog = [
678
754
  },
679
755
  ],
680
756
  imageModelAvailability: [],
681
- textEmbeddingModelAvailability: ['text-embedding-3-large', 'text-embedding-3-small'],
757
+ textEmbeddingModelAvailability: [
758
+ {
759
+ name: 'text-embedding-3-large',
760
+ tokenCost: 1.3e-7,
761
+ },
762
+ {
763
+ name: 'text-embedding-3-small',
764
+ tokenCost: 2e-8,
765
+ },
766
+ ],
682
767
  },
683
768
  {
684
769
  id: 'OpenAi-ZA-Johannesburg',
@@ -1,3 +1,3 @@
1
1
  import type { azureCatalog } from './catalog.js';
2
2
  export type AzureChatModels = (typeof azureCatalog)[number]['languageModelAvailability'][number]['name'];
3
- export type AzureEmbeddingModels = (typeof azureCatalog)[number]['textEmbeddingModelAvailability'][number];
3
+ export type AzureEmbeddingModels = (typeof azureCatalog)[number]['textEmbeddingModelAvailability'][number]['name'];
@@ -131,7 +131,15 @@ export declare const workersAiCatalog: {
131
131
  readonly created_at: "2023-11-07 11:54:20.229";
132
132
  readonly tags: readonly [];
133
133
  readonly properties: {
134
- readonly beta: true;
134
+ readonly price: readonly [{
135
+ readonly unit: "per M input tokens";
136
+ readonly price: 0.56;
137
+ readonly currency: "USD";
138
+ }, {
139
+ readonly unit: "per M output tokens";
140
+ readonly price: 6.67;
141
+ readonly currency: "USD";
142
+ }];
135
143
  readonly context_window: 4096;
136
144
  readonly info: "https://ai.meta.com/llama/";
137
145
  readonly terms: "https://ai.meta.com/resources/models-and-libraries/llama-downloads/";
@@ -144,7 +152,15 @@ export declare const workersAiCatalog: {
144
152
  readonly created_at: "2023-11-07 11:54:20.229";
145
153
  readonly tags: readonly [];
146
154
  readonly properties: {
147
- readonly beta: true;
155
+ readonly price: readonly [{
156
+ readonly unit: "per M input tokens";
157
+ readonly price: 0.11;
158
+ readonly currency: "USD";
159
+ }, {
160
+ readonly unit: "per M output tokens";
161
+ readonly price: 0.19;
162
+ readonly currency: "USD";
163
+ }];
148
164
  readonly context_window: 2824;
149
165
  readonly info: "https://mistral.ai/news/announcing-mistral-7b/";
150
166
  readonly lora: true;
@@ -612,6 +628,25 @@ export declare const workersAiCatalog: {
612
628
  readonly context_window: 8192;
613
629
  readonly info: "https://huggingface.co/openchat/openchat-3.5-0106";
614
630
  };
631
+ }, {
632
+ readonly id: "06455e78-19f7-487b-93cd-c05a3dd07813";
633
+ readonly source: 1;
634
+ readonly name: "@cf/meta/llama-4-scout-17b-16e-instruct";
635
+ readonly description: "Meta's Llama 4 Scout is a 17 billion parameter model with 16 experts that is natively multimodal. These models leverage a mixture-of-experts architecture to offer industry-leading performance in text and image understanding.";
636
+ readonly created_at: "2025-04-05 20:25:56.137";
637
+ readonly tags: readonly [];
638
+ readonly properties: {
639
+ readonly price: readonly [{
640
+ readonly unit: "per M input tokens";
641
+ readonly price: 0;
642
+ readonly currency: "USD";
643
+ }, {
644
+ readonly unit: "per M output tokens";
645
+ readonly price: 0;
646
+ readonly currency: "USD";
647
+ }];
648
+ readonly terms: "https://github.com/meta-llama/llama-models/blob/main/models/llama4/LICENSE";
649
+ };
615
650
  }];
616
651
  };
617
652
  readonly 'Text Embeddings': {
@@ -639,7 +674,11 @@ export declare const workersAiCatalog: {
639
674
  readonly created_at: "2023-11-07 15:43:58.042";
640
675
  readonly tags: readonly [];
641
676
  readonly properties: {
642
- readonly beta: true;
677
+ readonly price: readonly [{
678
+ readonly unit: "per M input tokens";
679
+ readonly price: 0.02;
680
+ readonly currency: "USD";
681
+ }];
643
682
  readonly info: "https://huggingface.co/BAAI/bge-base-en-v1.5";
644
683
  readonly max_input_tokens: 512;
645
684
  readonly output_dimensions: 384;
@@ -652,7 +691,11 @@ export declare const workersAiCatalog: {
652
691
  readonly created_at: "2023-09-25 19:21:11.898";
653
692
  readonly tags: readonly [];
654
693
  readonly properties: {
655
- readonly beta: true;
694
+ readonly price: readonly [{
695
+ readonly unit: "per M input tokens";
696
+ readonly price: 0.067;
697
+ readonly currency: "USD";
698
+ }];
656
699
  readonly info: "https://huggingface.co/BAAI/bge-base-en-v1.5";
657
700
  readonly max_input_tokens: 512;
658
701
  readonly output_dimensions: 768;
@@ -665,7 +708,11 @@ export declare const workersAiCatalog: {
665
708
  readonly created_at: "2023-11-07 15:43:58.042";
666
709
  readonly tags: readonly [];
667
710
  readonly properties: {
668
- readonly beta: true;
711
+ readonly price: readonly [{
712
+ readonly unit: "per M input tokens";
713
+ readonly price: 0.2;
714
+ readonly currency: "USD";
715
+ }];
669
716
  readonly info: "https://huggingface.co/BAAI/bge-base-en-v1.5";
670
717
  readonly max_input_tokens: 512;
671
718
  readonly output_dimensions: 1024;
@@ -683,7 +730,11 @@ export declare const workersAiCatalog: {
683
730
  readonly created_at: "2023-09-25 19:21:11.898";
684
731
  readonly tags: readonly [];
685
732
  readonly properties: {
686
- readonly beta: true;
733
+ readonly price: readonly [{
734
+ readonly unit: "per M input tokens";
735
+ readonly price: 0.026;
736
+ readonly currency: "USD";
737
+ }];
687
738
  readonly info: "https://huggingface.co/Intel/distilbert-base-uncased-finetuned-sst-2-english-int8-static";
688
739
  };
689
740
  }, {
@@ -735,7 +786,11 @@ export declare const workersAiCatalog: {
735
786
  readonly created_at: "2023-09-25 19:21:11.898";
736
787
  readonly tags: readonly [];
737
788
  readonly properties: {
738
- readonly beta: true;
789
+ readonly price: readonly [{
790
+ readonly unit: "per audio minute";
791
+ readonly price: 0.00045;
792
+ readonly currency: "USD";
793
+ }];
739
794
  readonly info: "https://openai.com/research/whisper";
740
795
  };
741
796
  }, {
@@ -882,7 +937,11 @@ export declare const workersAiCatalog: {
882
937
  readonly created_at: "2023-09-25 19:21:11.898";
883
938
  readonly tags: readonly [];
884
939
  readonly properties: {
885
- readonly beta: true;
940
+ readonly price: readonly [{
941
+ readonly unit: "per inference request";
942
+ readonly price: 0.0000025;
943
+ readonly currency: "USD";
944
+ }];
886
945
  readonly info: "https://www.microsoft.com/en-us/research/blog/microsoft-vision-model-resnet-50-combines-web-scale-data-and-multi-task-learning-to-achieve-state-of-the-art/";
887
946
  };
888
947
  }];
@@ -898,7 +957,15 @@ export declare const workersAiCatalog: {
898
957
  readonly created_at: "2023-09-25 19:21:11.898";
899
958
  readonly tags: readonly [];
900
959
  readonly properties: {
901
- readonly beta: true;
960
+ readonly price: readonly [{
961
+ readonly unit: "per M input tokens";
962
+ readonly price: 0.34;
963
+ readonly currency: "USD";
964
+ }, {
965
+ readonly unit: "per M output tokens";
966
+ readonly price: 0.34;
967
+ readonly currency: "USD";
968
+ }];
902
969
  readonly info: "https://github.com/facebookresearch/fairseq/tree/main/examples/m2m_100";
903
970
  readonly languages: "english, chinese, french, spanish, arabic, russian, german, japanese, portuguese, hindi";
904
971
  readonly terms: "https://github.com/facebookresearch/fairseq/blob/main/LICENSE";
@@ -149,7 +149,18 @@ export const workersAiCatalog = {
149
149
  created_at: '2023-11-07 11:54:20.229',
150
150
  tags: [],
151
151
  properties: {
152
- beta: true,
152
+ price: [
153
+ {
154
+ unit: 'per M input tokens',
155
+ price: 0.56,
156
+ currency: 'USD',
157
+ },
158
+ {
159
+ unit: 'per M output tokens',
160
+ price: 6.67,
161
+ currency: 'USD',
162
+ },
163
+ ],
153
164
  context_window: 4096,
154
165
  info: 'https://ai.meta.com/llama/',
155
166
  terms: 'https://ai.meta.com/resources/models-and-libraries/llama-downloads/',
@@ -163,7 +174,18 @@ export const workersAiCatalog = {
163
174
  created_at: '2023-11-07 11:54:20.229',
164
175
  tags: [],
165
176
  properties: {
166
- beta: true,
177
+ price: [
178
+ {
179
+ unit: 'per M input tokens',
180
+ price: 0.11,
181
+ currency: 'USD',
182
+ },
183
+ {
184
+ unit: 'per M output tokens',
185
+ price: 0.19,
186
+ currency: 'USD',
187
+ },
188
+ ],
167
189
  context_window: 2824,
168
190
  info: 'https://mistral.ai/news/announcing-mistral-7b/',
169
191
  lora: true,
@@ -689,6 +711,29 @@ export const workersAiCatalog = {
689
711
  info: 'https://huggingface.co/openchat/openchat-3.5-0106',
690
712
  },
691
713
  },
714
+ {
715
+ id: '06455e78-19f7-487b-93cd-c05a3dd07813',
716
+ source: 1,
717
+ name: '@cf/meta/llama-4-scout-17b-16e-instruct',
718
+ description: "Meta's Llama 4 Scout is a 17 billion parameter model with 16 experts that is natively multimodal. These models leverage a mixture-of-experts architecture to offer industry-leading performance in text and image understanding.",
719
+ created_at: '2025-04-05 20:25:56.137',
720
+ tags: [],
721
+ properties: {
722
+ price: [
723
+ {
724
+ unit: 'per M input tokens',
725
+ price: 0,
726
+ currency: 'USD',
727
+ },
728
+ {
729
+ unit: 'per M output tokens',
730
+ price: 0,
731
+ currency: 'USD',
732
+ },
733
+ ],
734
+ terms: 'https://github.com/meta-llama/llama-models/blob/main/models/llama4/LICENSE',
735
+ },
736
+ },
692
737
  ],
693
738
  },
694
739
  'Text Embeddings': {
@@ -720,7 +765,13 @@ export const workersAiCatalog = {
720
765
  created_at: '2023-11-07 15:43:58.042',
721
766
  tags: [],
722
767
  properties: {
723
- beta: true,
768
+ price: [
769
+ {
770
+ unit: 'per M input tokens',
771
+ price: 0.02,
772
+ currency: 'USD',
773
+ },
774
+ ],
724
775
  info: 'https://huggingface.co/BAAI/bge-base-en-v1.5',
725
776
  max_input_tokens: 512,
726
777
  output_dimensions: 384,
@@ -734,7 +785,13 @@ export const workersAiCatalog = {
734
785
  created_at: '2023-09-25 19:21:11.898',
735
786
  tags: [],
736
787
  properties: {
737
- beta: true,
788
+ price: [
789
+ {
790
+ unit: 'per M input tokens',
791
+ price: 0.067,
792
+ currency: 'USD',
793
+ },
794
+ ],
738
795
  info: 'https://huggingface.co/BAAI/bge-base-en-v1.5',
739
796
  max_input_tokens: 512,
740
797
  output_dimensions: 768,
@@ -748,7 +805,13 @@ export const workersAiCatalog = {
748
805
  created_at: '2023-11-07 15:43:58.042',
749
806
  tags: [],
750
807
  properties: {
751
- beta: true,
808
+ price: [
809
+ {
810
+ unit: 'per M input tokens',
811
+ price: 0.2,
812
+ currency: 'USD',
813
+ },
814
+ ],
752
815
  info: 'https://huggingface.co/BAAI/bge-base-en-v1.5',
753
816
  max_input_tokens: 512,
754
817
  output_dimensions: 1024,
@@ -768,7 +831,13 @@ export const workersAiCatalog = {
768
831
  created_at: '2023-09-25 19:21:11.898',
769
832
  tags: [],
770
833
  properties: {
771
- beta: true,
834
+ price: [
835
+ {
836
+ unit: 'per M input tokens',
837
+ price: 0.026,
838
+ currency: 'USD',
839
+ },
840
+ ],
772
841
  info: 'https://huggingface.co/Intel/distilbert-base-uncased-finetuned-sst-2-english-int8-static',
773
842
  },
774
843
  },
@@ -827,7 +896,13 @@ export const workersAiCatalog = {
827
896
  created_at: '2023-09-25 19:21:11.898',
828
897
  tags: [],
829
898
  properties: {
830
- beta: true,
899
+ price: [
900
+ {
901
+ unit: 'per audio minute',
902
+ price: 0.00045,
903
+ currency: 'USD',
904
+ },
905
+ ],
831
906
  info: 'https://openai.com/research/whisper',
832
907
  },
833
908
  },
@@ -993,7 +1068,13 @@ export const workersAiCatalog = {
993
1068
  created_at: '2023-09-25 19:21:11.898',
994
1069
  tags: [],
995
1070
  properties: {
996
- beta: true,
1071
+ price: [
1072
+ {
1073
+ unit: 'per inference request',
1074
+ price: 0.0000025,
1075
+ currency: 'USD',
1076
+ },
1077
+ ],
997
1078
  info: 'https://www.microsoft.com/en-us/research/blog/microsoft-vision-model-resnet-50-combines-web-scale-data-and-multi-task-learning-to-achieve-state-of-the-art/',
998
1079
  },
999
1080
  },
@@ -1011,7 +1092,18 @@ export const workersAiCatalog = {
1011
1092
  created_at: '2023-09-25 19:21:11.898',
1012
1093
  tags: [],
1013
1094
  properties: {
1014
- beta: true,
1095
+ price: [
1096
+ {
1097
+ unit: 'per M input tokens',
1098
+ price: 0.34,
1099
+ currency: 'USD',
1100
+ },
1101
+ {
1102
+ unit: 'per M output tokens',
1103
+ price: 0.34,
1104
+ currency: 'USD',
1105
+ },
1106
+ ],
1015
1107
  info: 'https://github.com/facebookresearch/fairseq/tree/main/examples/m2m_100',
1016
1108
  languages: 'english, chinese, french, spanish, arabic, russian, german, japanese, portuguese, hindi',
1017
1109
  terms: 'https://github.com/facebookresearch/fairseq/blob/main/LICENSE',
package/dist/index.d.ts CHANGED
@@ -46,5 +46,5 @@ export interface ExternallyResolvablePromise<T> {
46
46
  export type UndefinedProperties<T extends object> = {
47
47
  [P in keyof T]: undefined;
48
48
  };
49
- export type CustomLogCallback = (message: string) => void;
49
+ export type CustomLogCallback = (message?: any, ...optionalParams: any[]) => void;
50
50
  export type CustomLoging = boolean | CustomLogCallback;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainfuse/types",
3
- "version": "2.3.1",
3
+ "version": "2.5.0",
4
4
  "description": "",
5
5
  "author": "ChainFuse",
6
6
  "homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
@@ -94,8 +94,8 @@
94
94
  "zod": "^3.24.2"
95
95
  },
96
96
  "devDependencies": {
97
- "@cloudflare/workers-types": "^4.20250327.0",
97
+ "@cloudflare/workers-types": "^4.20250407.0",
98
98
  "@types/validator": "^13.12.3"
99
99
  },
100
- "gitHead": "0e791ace039e29822b615aa2091e07950797f52d"
100
+ "gitHead": "bbe7acd905d1ac371a01cbdbcba1fb0023ee185c"
101
101
  }