@diogonzafe/tokenwatch 0.1.1 → 0.1.2

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.
package/dist/index.cjs CHANGED
@@ -201,55 +201,1158 @@ async function getRemotePrices() {
201
201
  // prices.json
202
202
  var prices_default = {
203
203
  updated_at: "2026-04-16",
204
- source: "https://raw.githubusercontent.com/diogonzafe/tokenwatch/main/prices.json",
204
+ source: "https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json",
205
205
  models: {
206
206
  "gpt-4o": {
207
207
  input: 2.5,
208
- output: 10
208
+ output: 10,
209
+ maxInputTokens: 128e3
209
210
  },
210
211
  "gpt-4o-mini": {
211
212
  input: 0.15,
212
- output: 0.6
213
+ output: 0.6,
214
+ maxInputTokens: 128e3
213
215
  },
214
216
  "gpt-5": {
215
217
  input: 1.25,
216
- output: 10
218
+ output: 10,
219
+ maxInputTokens: 272e3
217
220
  },
218
221
  "gpt-5-mini": {
219
222
  input: 0.25,
220
- output: 2
223
+ output: 2,
224
+ maxInputTokens: 272e3
221
225
  },
222
226
  "gpt-5-nano": {
223
227
  input: 0.05,
224
- output: 0.4
228
+ output: 0.4,
229
+ maxInputTokens: 272e3
225
230
  },
226
231
  "claude-opus-4-6": {
227
232
  input: 5,
228
- output: 25
233
+ output: 25,
234
+ maxInputTokens: 1e6
229
235
  },
230
236
  "claude-sonnet-4-6": {
231
237
  input: 3,
232
- output: 15
238
+ output: 15,
239
+ maxInputTokens: 1e6
233
240
  },
234
241
  "claude-haiku-4-5": {
235
242
  input: 1,
236
- output: 5
243
+ output: 5,
244
+ maxInputTokens: 2e5
237
245
  },
238
246
  "gemini-2.5-pro": {
239
247
  input: 1.25,
240
- output: 10
248
+ output: 10,
249
+ maxInputTokens: 1048576
241
250
  },
242
251
  "gemini-2.5-flash": {
243
252
  input: 0.3,
244
- output: 2.5
253
+ output: 2.5,
254
+ maxInputTokens: 1048576
245
255
  },
246
256
  "deepseek-chat": {
247
257
  input: 0.28,
248
- output: 0.42
258
+ output: 0.42,
259
+ maxInputTokens: 131072
249
260
  },
250
261
  "deepseek-reasoner": {
262
+ input: 0.28,
263
+ output: 0.42,
264
+ maxInputTokens: 131072
265
+ },
266
+ "claude-opus-4-5": {
267
+ input: 5,
268
+ output: 25,
269
+ maxInputTokens: 2e5
270
+ },
271
+ "claude-opus-4-7": {
272
+ input: 5,
273
+ output: 25,
274
+ maxInputTokens: 1e6
275
+ },
276
+ "claude-opus-4-1": {
277
+ input: 15,
278
+ output: 75,
279
+ maxInputTokens: 2e5
280
+ },
281
+ "claude-sonnet-4-5": {
282
+ input: 3,
283
+ output: 15,
284
+ maxInputTokens: 2e5
285
+ },
286
+ "gpt-oss-120b": {
287
+ input: 3,
288
+ output: 4.5,
289
+ maxInputTokens: 131072
290
+ },
291
+ "gpt-3.5-turbo": {
292
+ input: 0.5,
293
+ output: 1.5,
294
+ maxInputTokens: 16385
295
+ },
296
+ "gpt-3.5-turbo-0125": {
297
+ input: 0.5,
298
+ output: 1.5,
299
+ maxInputTokens: 16385
300
+ },
301
+ "gpt-35-turbo": {
302
+ input: 0.5,
303
+ output: 1.5,
304
+ maxInputTokens: 4097
305
+ },
306
+ "gpt-35-turbo-0125": {
307
+ input: 0.5,
308
+ output: 1.5,
309
+ maxInputTokens: 16384
310
+ },
311
+ "gpt-35-turbo-1106": {
312
+ input: 1,
313
+ output: 2,
314
+ maxInputTokens: 16384
315
+ },
316
+ "gpt-35-turbo-16k": {
317
+ input: 3,
318
+ output: 4,
319
+ maxInputTokens: 16385
320
+ },
321
+ "gpt-35-turbo-16k-0613": {
322
+ input: 3,
323
+ output: 4,
324
+ maxInputTokens: 16385
325
+ },
326
+ "gpt-4": {
327
+ input: 30,
328
+ output: 60,
329
+ maxInputTokens: 8192
330
+ },
331
+ "gpt-4-0125-preview": {
332
+ input: 10,
333
+ output: 30,
334
+ maxInputTokens: 128e3
335
+ },
336
+ "gpt-4-0613": {
337
+ input: 30,
338
+ output: 60,
339
+ maxInputTokens: 8192
340
+ },
341
+ "gpt-4-1106-preview": {
342
+ input: 10,
343
+ output: 30,
344
+ maxInputTokens: 128e3
345
+ },
346
+ "gpt-4-32k": {
347
+ input: 60,
348
+ output: 120,
349
+ maxInputTokens: 32768
350
+ },
351
+ "gpt-4-32k-0613": {
352
+ input: 60,
353
+ output: 120,
354
+ maxInputTokens: 32768
355
+ },
356
+ "gpt-4-turbo": {
357
+ input: 10,
358
+ output: 30,
359
+ maxInputTokens: 128e3
360
+ },
361
+ "gpt-4-turbo-2024-04-09": {
362
+ input: 10,
363
+ output: 30,
364
+ maxInputTokens: 128e3
365
+ },
366
+ "gpt-4-turbo-vision-preview": {
367
+ input: 10,
368
+ output: 30,
369
+ maxInputTokens: 128e3
370
+ },
371
+ "gpt-4.1": {
372
+ input: 2,
373
+ output: 8,
374
+ maxInputTokens: 1047576
375
+ },
376
+ "gpt-4.1-2025-04-14": {
377
+ input: 2,
378
+ output: 8,
379
+ maxInputTokens: 1047576
380
+ },
381
+ "gpt-4.1-mini": {
382
+ input: 0.4,
383
+ output: 1.6,
384
+ maxInputTokens: 1047576
385
+ },
386
+ "gpt-4.1-mini-2025-04-14": {
387
+ input: 0.4,
388
+ output: 1.6,
389
+ maxInputTokens: 1047576
390
+ },
391
+ "gpt-4.1-nano": {
392
+ input: 0.1,
393
+ output: 0.4,
394
+ maxInputTokens: 1047576
395
+ },
396
+ "gpt-4.1-nano-2025-04-14": {
397
+ input: 0.1,
398
+ output: 0.4,
399
+ maxInputTokens: 1047576
400
+ },
401
+ "gpt-4.5-preview": {
402
+ input: 75,
403
+ output: 150,
404
+ maxInputTokens: 128e3
405
+ },
406
+ "gpt-4o-2024-05-13": {
407
+ input: 5,
408
+ output: 15,
409
+ maxInputTokens: 128e3
410
+ },
411
+ "gpt-4o-2024-08-06": {
412
+ input: 2.5,
413
+ output: 10,
414
+ maxInputTokens: 128e3
415
+ },
416
+ "gpt-4o-2024-11-20": {
417
+ input: 2.5,
418
+ output: 10,
419
+ maxInputTokens: 128e3
420
+ },
421
+ "gpt-audio-2025-08-28": {
422
+ input: 2.5,
423
+ output: 10,
424
+ maxInputTokens: 128e3
425
+ },
426
+ "gpt-audio-1.5-2026-02-23": {
427
+ input: 2.5,
428
+ output: 10,
429
+ maxInputTokens: 128e3
430
+ },
431
+ "gpt-audio-mini-2025-10-06": {
432
+ input: 0.6,
433
+ output: 2.4,
434
+ maxInputTokens: 128e3
435
+ },
436
+ "gpt-4o-audio-preview-2024-12-17": {
437
+ input: 2.5,
438
+ output: 10,
439
+ maxInputTokens: 128e3
440
+ },
441
+ "gpt-4o-mini-2024-07-18": {
442
+ input: 0.15,
443
+ output: 0.6,
444
+ maxInputTokens: 128e3
445
+ },
446
+ "gpt-4o-mini-audio-preview-2024-12-17": {
447
+ input: 0.15,
448
+ output: 0.6,
449
+ maxInputTokens: 128e3
450
+ },
451
+ "gpt-4o-mini-realtime-preview-2024-12-17": {
452
+ input: 0.6,
453
+ output: 2.4,
454
+ maxInputTokens: 128e3
455
+ },
456
+ "gpt-realtime-2025-08-28": {
457
+ input: 4,
458
+ output: 16,
459
+ maxInputTokens: 32e3
460
+ },
461
+ "gpt-realtime-1.5-2026-02-23": {
462
+ input: 4,
463
+ output: 16,
464
+ maxInputTokens: 32e3
465
+ },
466
+ "gpt-realtime-mini-2025-10-06": {
467
+ input: 0.6,
468
+ output: 2.4,
469
+ maxInputTokens: 128e3
470
+ },
471
+ "gpt-4o-mini-transcribe": {
472
+ input: 1.25,
473
+ output: 5,
474
+ maxInputTokens: 16e3
475
+ },
476
+ "gpt-4o-realtime-preview-2024-10-01": {
477
+ input: 5,
478
+ output: 20,
479
+ maxInputTokens: 128e3
480
+ },
481
+ "gpt-4o-realtime-preview-2024-12-17": {
482
+ input: 5,
483
+ output: 20,
484
+ maxInputTokens: 128e3
485
+ },
486
+ "gpt-4o-transcribe": {
487
+ input: 2.5,
488
+ output: 10,
489
+ maxInputTokens: 16e3
490
+ },
491
+ "gpt-4o-transcribe-diarize": {
492
+ input: 2.5,
493
+ output: 10,
494
+ maxInputTokens: 16e3
495
+ },
496
+ "gpt-5.1-2025-11-13": {
497
+ input: 1.25,
498
+ output: 10,
499
+ maxInputTokens: 272e3
500
+ },
501
+ "gpt-5.1-chat-2025-11-13": {
502
+ input: 1.25,
503
+ output: 10,
504
+ maxInputTokens: 128e3
505
+ },
506
+ "gpt-5.1-codex-2025-11-13": {
507
+ input: 1.25,
508
+ output: 10,
509
+ maxInputTokens: 272e3
510
+ },
511
+ "gpt-5.1-codex-mini-2025-11-13": {
512
+ input: 0.25,
513
+ output: 2,
514
+ maxInputTokens: 272e3
515
+ },
516
+ "gpt-5-2025-08-07": {
517
+ input: 1.25,
518
+ output: 10,
519
+ maxInputTokens: 272e3
520
+ },
521
+ "gpt-5-chat": {
522
+ input: 1.25,
523
+ output: 10,
524
+ maxInputTokens: 128e3
525
+ },
526
+ "gpt-5-chat-latest": {
527
+ input: 1.25,
528
+ output: 10,
529
+ maxInputTokens: 128e3
530
+ },
531
+ "gpt-5-codex": {
532
+ input: 1.25,
533
+ output: 10,
534
+ maxInputTokens: 272e3
535
+ },
536
+ "gpt-5-mini-2025-08-07": {
537
+ input: 0.25,
538
+ output: 2,
539
+ maxInputTokens: 272e3
540
+ },
541
+ "gpt-5-nano-2025-08-07": {
542
+ input: 0.05,
543
+ output: 0.4,
544
+ maxInputTokens: 272e3
545
+ },
546
+ "gpt-5-pro": {
547
+ input: 15,
548
+ output: 120,
549
+ maxInputTokens: 128e3
550
+ },
551
+ "gpt-5.1": {
552
+ input: 1.25,
553
+ output: 10,
554
+ maxInputTokens: 272e3
555
+ },
556
+ "gpt-5.1-chat": {
557
+ input: 1.25,
558
+ output: 10,
559
+ maxInputTokens: 128e3
560
+ },
561
+ "gpt-5.1-codex": {
562
+ input: 1.25,
563
+ output: 10,
564
+ maxInputTokens: 272e3
565
+ },
566
+ "gpt-5.1-codex-max": {
567
+ input: 1.25,
568
+ output: 10,
569
+ maxInputTokens: 272e3
570
+ },
571
+ "gpt-5.1-codex-mini": {
572
+ input: 0.25,
573
+ output: 2,
574
+ maxInputTokens: 272e3
575
+ },
576
+ "gpt-5.2": {
577
+ input: 1.75,
578
+ output: 14,
579
+ maxInputTokens: 272e3
580
+ },
581
+ "gpt-5.2-2025-12-11": {
582
+ input: 1.75,
583
+ output: 14,
584
+ maxInputTokens: 272e3
585
+ },
586
+ "gpt-5.2-chat": {
587
+ input: 1.75,
588
+ output: 14,
589
+ maxInputTokens: 128e3
590
+ },
591
+ "gpt-5.2-chat-2025-12-11": {
592
+ input: 1.75,
593
+ output: 14,
594
+ maxInputTokens: 128e3
595
+ },
596
+ "gpt-5.2-codex": {
597
+ input: 1.75,
598
+ output: 14,
599
+ maxInputTokens: 272e3
600
+ },
601
+ "gpt-5.3-chat": {
602
+ input: 1.75,
603
+ output: 14,
604
+ maxInputTokens: 128e3
605
+ },
606
+ "gpt-5.3-codex": {
607
+ input: 1.75,
608
+ output: 14,
609
+ maxInputTokens: 272e3
610
+ },
611
+ "gpt-5.2-pro": {
612
+ input: 21,
613
+ output: 168,
614
+ maxInputTokens: 272e3
615
+ },
616
+ "gpt-5.2-pro-2025-12-11": {
617
+ input: 21,
618
+ output: 168,
619
+ maxInputTokens: 272e3
620
+ },
621
+ "gpt-5.4": {
622
+ input: 2.5,
623
+ output: 15,
624
+ maxInputTokens: 105e4
625
+ },
626
+ "gpt-5.4-2026-03-05": {
627
+ input: 2.5,
628
+ output: 15,
629
+ maxInputTokens: 105e4
630
+ },
631
+ "gpt-5.4-pro": {
632
+ input: 30,
633
+ output: 180,
634
+ maxInputTokens: 105e4
635
+ },
636
+ "gpt-5.4-pro-2026-03-05": {
637
+ input: 30,
638
+ output: 180,
639
+ maxInputTokens: 105e4
640
+ },
641
+ "gpt-5.4-mini": {
642
+ input: 0.75,
643
+ output: 4.5,
644
+ maxInputTokens: 272e3
645
+ },
646
+ "gpt-5.4-nano": {
647
+ input: 0.2,
648
+ output: 1.25,
649
+ maxInputTokens: 272e3
650
+ },
651
+ "o1-2024-12-17": {
652
+ input: 15,
653
+ output: 60,
654
+ maxInputTokens: 2e5
655
+ },
656
+ "o1-mini": {
657
+ input: 1.21,
658
+ output: 4.84,
659
+ maxInputTokens: 128e3
660
+ },
661
+ "o1-mini-2024-09-12": {
662
+ input: 1.1,
663
+ output: 4.4,
664
+ maxInputTokens: 128e3
665
+ },
666
+ "o1-preview": {
667
+ input: 15,
668
+ output: 60,
669
+ maxInputTokens: 128e3
670
+ },
671
+ "o1-preview-2024-09-12": {
672
+ input: 15,
673
+ output: 60,
674
+ maxInputTokens: 128e3
675
+ },
676
+ "o3-2025-04-16": {
677
+ input: 2,
678
+ output: 8,
679
+ maxInputTokens: 2e5
680
+ },
681
+ "o3-mini": {
682
+ input: 1.1,
683
+ output: 4.4,
684
+ maxInputTokens: 2e5
685
+ },
686
+ "o3-mini-2025-01-31": {
687
+ input: 1.1,
688
+ output: 4.4,
689
+ maxInputTokens: 2e5
690
+ },
691
+ "o3-pro": {
692
+ input: 20,
693
+ output: 80,
694
+ maxInputTokens: 2e5
695
+ },
696
+ "o3-pro-2025-06-10": {
697
+ input: 20,
698
+ output: 80,
699
+ maxInputTokens: 2e5
700
+ },
701
+ "o4-mini": {
702
+ input: 1.1,
703
+ output: 4.4,
704
+ maxInputTokens: 2e5
705
+ },
706
+ "o4-mini-2025-04-16": {
707
+ input: 1.1,
708
+ output: 4.4,
709
+ maxInputTokens: 2e5
710
+ },
711
+ "deepseek-v3.2": {
712
+ input: 0.28,
713
+ output: 0.4,
714
+ maxInputTokens: 163840
715
+ },
716
+ "deepseek-v3.2-speciale": {
717
+ input: 0.58,
718
+ output: 1.68,
719
+ maxInputTokens: 163840
720
+ },
721
+ "deepseek-r1": {
251
722
  input: 0.55,
252
- output: 2.19
723
+ output: 2.19,
724
+ maxInputTokens: 65536
725
+ },
726
+ "deepseek-v3": {
727
+ input: 0.27,
728
+ output: 1.1,
729
+ maxInputTokens: 65536
730
+ },
731
+ "deepseek-v3-0324": {
732
+ input: 0.2,
733
+ output: 0.6,
734
+ maxInputTokens: 131072
735
+ },
736
+ "chatgpt-4o-latest": {
737
+ input: 5,
738
+ output: 15,
739
+ maxInputTokens: 128e3
740
+ },
741
+ "claude-haiku-4-5-20251001": {
742
+ input: 1,
743
+ output: 5,
744
+ maxInputTokens: 2e5
745
+ },
746
+ "claude-3-7-sonnet-20250219": {
747
+ input: 3,
748
+ output: 15,
749
+ maxInputTokens: 2e5
750
+ },
751
+ "claude-3-haiku-20240307": {
752
+ input: 0.25,
753
+ output: 1.25,
754
+ maxInputTokens: 2e5
755
+ },
756
+ "claude-3-opus-20240229": {
757
+ input: 15,
758
+ output: 75,
759
+ maxInputTokens: 2e5
760
+ },
761
+ "claude-4-opus-20250514": {
762
+ input: 15,
763
+ output: 75,
764
+ maxInputTokens: 2e5
765
+ },
766
+ "claude-4-sonnet-20250514": {
767
+ input: 3,
768
+ output: 15,
769
+ maxInputTokens: 1e6
770
+ },
771
+ "claude-sonnet-4-5-20250929": {
772
+ input: 3,
773
+ output: 15,
774
+ maxInputTokens: 2e5
775
+ },
776
+ "claude-sonnet-4-5-20250929-v1:0": {
777
+ input: 3,
778
+ output: 15,
779
+ maxInputTokens: 2e5
780
+ },
781
+ "claude-opus-4-1-20250805": {
782
+ input: 15,
783
+ output: 75,
784
+ maxInputTokens: 2e5
785
+ },
786
+ "claude-opus-4-20250514": {
787
+ input: 15,
788
+ output: 75,
789
+ maxInputTokens: 2e5
790
+ },
791
+ "claude-opus-4-5-20251101": {
792
+ input: 5,
793
+ output: 25,
794
+ maxInputTokens: 2e5
795
+ },
796
+ "claude-opus-4-6-20260205": {
797
+ input: 5,
798
+ output: 25,
799
+ maxInputTokens: 1e6
800
+ },
801
+ "claude-opus-4-7-20260416": {
802
+ input: 5,
803
+ output: 25,
804
+ maxInputTokens: 1e6
805
+ },
806
+ "claude-sonnet-4-20250514": {
807
+ input: 3,
808
+ output: 15,
809
+ maxInputTokens: 1e6
810
+ },
811
+ "codex-mini-latest": {
812
+ input: 1.5,
813
+ output: 6,
814
+ maxInputTokens: 2e5
815
+ },
816
+ "deepseek-ai/deepseek-r1": {
817
+ input: 3,
818
+ output: 7,
819
+ maxInputTokens: 128e3
820
+ },
821
+ "deepseek-ai/deepseek-r1-0528": {
822
+ input: 135e3,
823
+ output: 54e4,
824
+ maxInputTokens: 161e3
825
+ },
826
+ "deepseek-ai/deepseek-r1-0528-turbo": {
827
+ input: 1,
828
+ output: 3,
829
+ maxInputTokens: 32768
830
+ },
831
+ "deepseek-ai/deepseek-r1-distill-llama-70b": {
832
+ input: 0.25,
833
+ output: 0.75,
834
+ maxInputTokens: 128e3
835
+ },
836
+ "deepseek-ai/deepseek-r1-distill-qwen-32b": {
837
+ input: 0.15,
838
+ output: 0.15
839
+ },
840
+ "deepseek-ai/deepseek-r1-turbo": {
841
+ input: 1,
842
+ output: 3,
843
+ maxInputTokens: 40960
844
+ },
845
+ "deepseek-ai/deepseek-v3": {
846
+ input: 1.25,
847
+ output: 1.25,
848
+ maxInputTokens: 65536
849
+ },
850
+ "deepseek-ai/deepseek-v3-0324": {
851
+ input: 114e3,
852
+ output: 275e3,
853
+ maxInputTokens: 161e3
854
+ },
855
+ "deepseek-ai/deepseek-v3.1": {
856
+ input: 55e3,
857
+ output: 165e3,
858
+ maxInputTokens: 128e3
859
+ },
860
+ "deepseek-ai/deepseek-v3.1-terminus": {
861
+ input: 0.27,
862
+ output: 1,
863
+ maxInputTokens: 163840
864
+ },
865
+ "deepseek-coder": {
866
+ input: 0.14,
867
+ output: 0.28,
868
+ maxInputTokens: 128e3
869
+ },
870
+ "gemini-2.0-flash": {
871
+ input: 0.1,
872
+ output: 0.4,
873
+ maxInputTokens: 1048576
874
+ },
875
+ "gemini-2.0-flash-001": {
876
+ input: 0.1,
877
+ output: 0.4,
878
+ maxInputTokens: 1048576
879
+ },
880
+ "gemini-2.0-flash-lite": {
881
+ input: 0.075,
882
+ output: 0.3,
883
+ maxInputTokens: 1048576
884
+ },
885
+ "gemini-2.0-flash-lite-001": {
886
+ input: 0.075,
887
+ output: 0.3,
888
+ maxInputTokens: 1048576
889
+ },
890
+ "gemini-2.5-flash-image": {
891
+ input: 0.3,
892
+ output: 2.5,
893
+ maxInputTokens: 32768
894
+ },
895
+ "gemini-3-pro-image-preview": {
896
+ input: 2,
897
+ output: 12,
898
+ maxInputTokens: 65536
899
+ },
900
+ "gemini-3.1-flash-image-preview": {
901
+ input: 0.5,
902
+ output: 3,
903
+ maxInputTokens: 65536
904
+ },
905
+ "gemini-3.1-flash-lite-preview": {
906
+ input: 0.25,
907
+ output: 1.5,
908
+ maxInputTokens: 1048576
909
+ },
910
+ "gemini-2.5-flash-lite": {
911
+ input: 0.1,
912
+ output: 0.4,
913
+ maxInputTokens: 1048576
914
+ },
915
+ "gemini-2.5-flash-lite-preview-09-2025": {
916
+ input: 0.1,
917
+ output: 0.4,
918
+ maxInputTokens: 1048576
919
+ },
920
+ "gemini-2.5-flash-preview-09-2025": {
921
+ input: 0.3,
922
+ output: 2.5,
923
+ maxInputTokens: 1048576
924
+ },
925
+ "gemini-live-2.5-flash-preview-native-audio-09-2025": {
926
+ input: 0.3,
927
+ output: 2,
928
+ maxInputTokens: 1048576
929
+ },
930
+ "gemini-2.5-flash-lite-preview-06-17": {
931
+ input: 0.1,
932
+ output: 0.4,
933
+ maxInputTokens: 1048576
934
+ },
935
+ "gemini-3-pro-preview": {
936
+ input: 2,
937
+ output: 12,
938
+ maxInputTokens: 1048576
939
+ },
940
+ "gemini-3.1-pro-preview": {
941
+ input: 2,
942
+ output: 12,
943
+ maxInputTokens: 1048576
944
+ },
945
+ "gemini-3.1-pro-preview-customtools": {
946
+ input: 2,
947
+ output: 12,
948
+ maxInputTokens: 1048576
949
+ },
950
+ "gemini-3-flash-preview": {
951
+ input: 0.5,
952
+ output: 3,
953
+ maxInputTokens: 1048576
954
+ },
955
+ "gemini-robotics-er-1.5-preview": {
956
+ input: 0.3,
957
+ output: 2.5,
958
+ maxInputTokens: 1048576
959
+ },
960
+ "gemini-2.5-computer-use-preview-10-2025": {
961
+ input: 1.25,
962
+ output: 10,
963
+ maxInputTokens: 128e3
964
+ },
965
+ "gemini-flash-latest": {
966
+ input: 0.3,
967
+ output: 2.5,
968
+ maxInputTokens: 1048576
969
+ },
970
+ "gemini-flash-lite-latest": {
971
+ input: 0.1,
972
+ output: 0.4,
973
+ maxInputTokens: 1048576
974
+ },
975
+ "gemini-gemma-2-27b-it": {
976
+ input: 0.35,
977
+ output: 1.05,
978
+ maxInputTokens: 8192
979
+ },
980
+ "gemini-gemma-2-9b-it": {
981
+ input: 0.35,
982
+ output: 1.05,
983
+ maxInputTokens: 8192
984
+ },
985
+ "deepseek-ai/deepseek-v3.2": {
986
+ input: 0.28,
987
+ output: 0.4,
988
+ maxInputTokens: 163840
989
+ },
990
+ "gpt-3.5-turbo-1106": {
991
+ input: 1,
992
+ output: 2,
993
+ maxInputTokens: 16385
994
+ },
995
+ "gpt-3.5-turbo-16k": {
996
+ input: 3,
997
+ output: 4,
998
+ maxInputTokens: 16385
999
+ },
1000
+ "gpt-4-0314": {
1001
+ input: 30,
1002
+ output: 60,
1003
+ maxInputTokens: 8192
1004
+ },
1005
+ "gpt-4-turbo-preview": {
1006
+ input: 10,
1007
+ output: 30,
1008
+ maxInputTokens: 128e3
1009
+ },
1010
+ "gpt-4o-audio-preview": {
1011
+ input: 2.5,
1012
+ output: 10,
1013
+ maxInputTokens: 128e3
1014
+ },
1015
+ "gpt-4o-audio-preview-2025-06-03": {
1016
+ input: 2.5,
1017
+ output: 10,
1018
+ maxInputTokens: 128e3
1019
+ },
1020
+ "gpt-audio": {
1021
+ input: 2.5,
1022
+ output: 10,
1023
+ maxInputTokens: 128e3
1024
+ },
1025
+ "gpt-audio-1.5": {
1026
+ input: 2.5,
1027
+ output: 10,
1028
+ maxInputTokens: 128e3
1029
+ },
1030
+ "gpt-audio-mini": {
1031
+ input: 0.6,
1032
+ output: 2.4,
1033
+ maxInputTokens: 128e3
1034
+ },
1035
+ "gpt-audio-mini-2025-12-15": {
1036
+ input: 0.6,
1037
+ output: 2.4,
1038
+ maxInputTokens: 128e3
1039
+ },
1040
+ "gpt-4o-mini-audio-preview": {
1041
+ input: 0.15,
1042
+ output: 0.6,
1043
+ maxInputTokens: 128e3
1044
+ },
1045
+ "gpt-4o-mini-realtime-preview": {
1046
+ input: 0.6,
1047
+ output: 2.4,
1048
+ maxInputTokens: 128e3
1049
+ },
1050
+ "gpt-4o-realtime-preview": {
1051
+ input: 5,
1052
+ output: 20,
1053
+ maxInputTokens: 128e3
1054
+ },
1055
+ "gpt-4o-realtime-preview-2025-06-03": {
1056
+ input: 5,
1057
+ output: 20,
1058
+ maxInputTokens: 128e3
1059
+ },
1060
+ "gpt-image-1.5": {
1061
+ input: 5,
1062
+ output: 10
1063
+ },
1064
+ "gpt-image-1.5-2025-12-16": {
1065
+ input: 5,
1066
+ output: 10
1067
+ },
1068
+ "gpt-5.1-chat-latest": {
1069
+ input: 1.25,
1070
+ output: 10,
1071
+ maxInputTokens: 128e3
1072
+ },
1073
+ "gpt-5.2-chat-latest": {
1074
+ input: 1.75,
1075
+ output: 14,
1076
+ maxInputTokens: 128e3
1077
+ },
1078
+ "gpt-5.3-chat-latest": {
1079
+ input: 1.75,
1080
+ output: 14,
1081
+ maxInputTokens: 128e3
1082
+ },
1083
+ "gpt-5-pro-2025-10-06": {
1084
+ input: 15,
1085
+ output: 120,
1086
+ maxInputTokens: 128e3
1087
+ },
1088
+ "gpt-realtime": {
1089
+ input: 4,
1090
+ output: 16,
1091
+ maxInputTokens: 32e3
1092
+ },
1093
+ "gpt-realtime-1.5": {
1094
+ input: 4,
1095
+ output: 16,
1096
+ maxInputTokens: 32e3
1097
+ },
1098
+ "gpt-realtime-mini": {
1099
+ input: 0.6,
1100
+ output: 2.4,
1101
+ maxInputTokens: 128e3
1102
+ },
1103
+ "deepseek-r1-distill-llama-70b": {
1104
+ input: 0.99,
1105
+ output: 0.99,
1106
+ maxInputTokens: 8e3
1107
+ },
1108
+ "deepseek-llama3.3-70b": {
1109
+ input: 0.2,
1110
+ output: 0.6,
1111
+ maxInputTokens: 131072
1112
+ },
1113
+ "deepseek-r1-0528": {
1114
+ input: 0.2,
1115
+ output: 0.6,
1116
+ maxInputTokens: 131072
1117
+ },
1118
+ "deepseek-r1-671b": {
1119
+ input: 0.8,
1120
+ output: 0.8,
1121
+ maxInputTokens: 131072
1122
+ },
1123
+ "deepseek-ai/deepseek-r1-distill-llama-8b": {
1124
+ input: 0.025,
1125
+ output: 0.025
1126
+ },
1127
+ "deepseek-ai/deepseek-r1-distill-qwen-1.5b": {
1128
+ input: 0.09,
1129
+ output: 0.09
1130
+ },
1131
+ "deepseek-ai/deepseek-r1-distill-qwen-14b": {
1132
+ input: 0.07,
1133
+ output: 0.07
1134
+ },
1135
+ "deepseek-ai/deepseek-r1-distill-qwen-7b": {
1136
+ input: 0.2,
1137
+ output: 0.2
1138
+ },
1139
+ o1: {
1140
+ input: 15,
1141
+ output: 60,
1142
+ maxInputTokens: 2e5
1143
+ },
1144
+ "o1-pro": {
1145
+ input: 150,
1146
+ output: 600,
1147
+ maxInputTokens: 2e5
1148
+ },
1149
+ "o1-pro-2025-03-19": {
1150
+ input: 150,
1151
+ output: 600,
1152
+ maxInputTokens: 2e5
1153
+ },
1154
+ o3: {
1155
+ input: 2,
1156
+ output: 8,
1157
+ maxInputTokens: 2e5
1158
+ },
1159
+ "gpt-oss-20b": {
1160
+ input: 0.09,
1161
+ output: 0.36
1162
+ },
1163
+ "deepseek-ai/deepseek-r1-0528-tput": {
1164
+ input: 0.55,
1165
+ output: 2.19,
1166
+ maxInputTokens: 128e3
1167
+ },
1168
+ "claude-3-5-haiku": {
1169
+ input: 1,
1170
+ output: 5,
1171
+ maxInputTokens: 2e5
1172
+ },
1173
+ "claude-3-5-haiku@20241022": {
1174
+ input: 1,
1175
+ output: 5,
1176
+ maxInputTokens: 2e5
1177
+ },
1178
+ "claude-haiku-4-5@20251001": {
1179
+ input: 1,
1180
+ output: 5,
1181
+ maxInputTokens: 2e5
1182
+ },
1183
+ "claude-3-5-sonnet": {
1184
+ input: 3,
1185
+ output: 15,
1186
+ maxInputTokens: 2e5
1187
+ },
1188
+ "claude-3-5-sonnet@20240620": {
1189
+ input: 3,
1190
+ output: 15,
1191
+ maxInputTokens: 2e5
1192
+ },
1193
+ "claude-3-7-sonnet@20250219": {
1194
+ input: 3,
1195
+ output: 15,
1196
+ maxInputTokens: 2e5
1197
+ },
1198
+ "claude-3-haiku": {
1199
+ input: 0.25,
1200
+ output: 1.25,
1201
+ maxInputTokens: 2e5
1202
+ },
1203
+ "claude-3-haiku@20240307": {
1204
+ input: 0.25,
1205
+ output: 1.25,
1206
+ maxInputTokens: 2e5
1207
+ },
1208
+ "claude-3-opus": {
1209
+ input: 15,
1210
+ output: 75,
1211
+ maxInputTokens: 2e5
1212
+ },
1213
+ "claude-3-opus@20240229": {
1214
+ input: 15,
1215
+ output: 75,
1216
+ maxInputTokens: 2e5
1217
+ },
1218
+ "claude-3-sonnet": {
1219
+ input: 3,
1220
+ output: 15,
1221
+ maxInputTokens: 2e5
1222
+ },
1223
+ "claude-3-sonnet@20240229": {
1224
+ input: 3,
1225
+ output: 15,
1226
+ maxInputTokens: 2e5
1227
+ },
1228
+ "claude-opus-4": {
1229
+ input: 15,
1230
+ output: 75,
1231
+ maxInputTokens: 2e5
1232
+ },
1233
+ "claude-opus-4-1@20250805": {
1234
+ input: 15,
1235
+ output: 75,
1236
+ maxInputTokens: 2e5
1237
+ },
1238
+ "claude-opus-4-5@20251101": {
1239
+ input: 5,
1240
+ output: 25,
1241
+ maxInputTokens: 2e5
1242
+ },
1243
+ "claude-opus-4-6@default": {
1244
+ input: 5,
1245
+ output: 25,
1246
+ maxInputTokens: 1e6
1247
+ },
1248
+ "claude-opus-4-7@default": {
1249
+ input: 5,
1250
+ output: 25,
1251
+ maxInputTokens: 1e6
1252
+ },
1253
+ "claude-sonnet-4-5@20250929": {
1254
+ input: 3,
1255
+ output: 15,
1256
+ maxInputTokens: 2e5
1257
+ },
1258
+ "claude-opus-4@20250514": {
1259
+ input: 15,
1260
+ output: 75,
1261
+ maxInputTokens: 2e5
1262
+ },
1263
+ "claude-sonnet-4": {
1264
+ input: 3,
1265
+ output: 15,
1266
+ maxInputTokens: 1e6
1267
+ },
1268
+ "claude-sonnet-4@20250514": {
1269
+ input: 3,
1270
+ output: 15,
1271
+ maxInputTokens: 1e6
1272
+ },
1273
+ "deepseek-ai/deepseek-v3.1-maas": {
1274
+ input: 1.35,
1275
+ output: 5.4,
1276
+ maxInputTokens: 163840
1277
+ },
1278
+ "deepseek-ai/deepseek-v3.2-maas": {
1279
+ input: 0.56,
1280
+ output: 1.68,
1281
+ maxInputTokens: 163840
1282
+ },
1283
+ "deepseek-ai/deepseek-r1-0528-maas": {
1284
+ input: 1.35,
1285
+ output: 5.4,
1286
+ maxInputTokens: 65336
1287
+ },
1288
+ "deepseek-ai/deepseek-ocr-maas": {
1289
+ input: 0.3,
1290
+ output: 1.2
1291
+ },
1292
+ "deepseek-r1-8b": {
1293
+ input: 0.1,
1294
+ output: 0.2,
1295
+ maxInputTokens: 65536
1296
+ },
1297
+ "deepseek-r1-7b-qwen": {
1298
+ input: 0.08,
1299
+ output: 0.15,
1300
+ maxInputTokens: 131072
1301
+ },
1302
+ "deepseek-coder-6.7b": {
1303
+ input: 0.06,
1304
+ output: 0.12,
1305
+ maxInputTokens: 16384
1306
+ },
1307
+ "gpt-4o-mini-transcribe-2025-03-20": {
1308
+ input: 1.25,
1309
+ output: 5,
1310
+ maxInputTokens: 16e3
1311
+ },
1312
+ "gpt-4o-mini-transcribe-2025-12-15": {
1313
+ input: 1.25,
1314
+ output: 5,
1315
+ maxInputTokens: 16e3
1316
+ },
1317
+ "gpt-realtime-mini-2025-12-15": {
1318
+ input: 0.6,
1319
+ output: 2.4,
1320
+ maxInputTokens: 128e3
1321
+ },
1322
+ "gemini-2.5-flash-native-audio-latest": {
1323
+ input: 0.3,
1324
+ output: 2.5,
1325
+ maxInputTokens: 1048576
1326
+ },
1327
+ "gemini-2.5-flash-native-audio-preview-09-2025": {
1328
+ input: 0.3,
1329
+ output: 2.5,
1330
+ maxInputTokens: 1048576
1331
+ },
1332
+ "gemini-2.5-flash-native-audio-preview-12-2025": {
1333
+ input: 0.3,
1334
+ output: 2.5,
1335
+ maxInputTokens: 1048576
1336
+ },
1337
+ "gemini-3.1-flash-live-preview": {
1338
+ input: 0.75,
1339
+ output: 4.5,
1340
+ maxInputTokens: 131072
1341
+ },
1342
+ "gemini-pro-latest": {
1343
+ input: 1.25,
1344
+ output: 10,
1345
+ maxInputTokens: 1048576
1346
+ },
1347
+ "gemini-exp-1206": {
1348
+ input: 0.3,
1349
+ output: 2.5,
1350
+ maxInputTokens: 1048576
1351
+ },
1352
+ "claude-sonnet-4-6@default": {
1353
+ input: 3,
1354
+ output: 15,
1355
+ maxInputTokens: 1e6
253
1356
  }
254
1357
  }
255
1358
  };