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