@llmgateway/models 1.392.1 → 1.393.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.
package/dist/models.d.ts CHANGED
@@ -78,7 +78,7 @@ export interface ProviderModelMapping {
78
78
  requestPrice?: Price;
79
79
  ocrPagePrice?: Price;
80
80
  perSecondPrice?: Record<string, Price>;
81
- videoOutputPrice?: Price;
81
+ videoOutputPrice?: Price | Record<string, Price>;
82
82
  perImagePrice?: Record<string, Price>;
83
83
  pricingTiers?: PricingTier[];
84
84
  peakPricing?: PeakPricing;
@@ -3220,6 +3220,18 @@ export declare const models: [{
3220
3220
  readonly tools: false;
3221
3221
  readonly jsonOutput: false;
3222
3222
  readonly embeddings: true;
3223
+ }, {
3224
+ readonly providerId: "azure";
3225
+ readonly externalId: "text-embedding-3-small";
3226
+ readonly deactivatedAt: Date;
3227
+ readonly inputPrice: "0.02e-6";
3228
+ readonly outputPrice: "0";
3229
+ readonly requestPrice: "0";
3230
+ readonly contextSize: 8192;
3231
+ readonly streaming: false;
3232
+ readonly tools: false;
3233
+ readonly jsonOutput: false;
3234
+ readonly embeddings: true;
3223
3235
  }];
3224
3236
  }, {
3225
3237
  readonly id: "text-embedding-3-large";
@@ -3239,6 +3251,18 @@ export declare const models: [{
3239
3251
  readonly tools: false;
3240
3252
  readonly jsonOutput: false;
3241
3253
  readonly embeddings: true;
3254
+ }, {
3255
+ readonly providerId: "azure";
3256
+ readonly externalId: "text-embedding-3-large";
3257
+ readonly deactivatedAt: Date;
3258
+ readonly inputPrice: "0.13e-6";
3259
+ readonly outputPrice: "0";
3260
+ readonly requestPrice: "0";
3261
+ readonly contextSize: 8192;
3262
+ readonly streaming: false;
3263
+ readonly tools: false;
3264
+ readonly jsonOutput: false;
3265
+ readonly embeddings: true;
3242
3266
  }];
3243
3267
  }, {
3244
3268
  readonly id: "text-embedding-ada-002";
@@ -3258,6 +3282,18 @@ export declare const models: [{
3258
3282
  readonly tools: false;
3259
3283
  readonly jsonOutput: false;
3260
3284
  readonly embeddings: true;
3285
+ }, {
3286
+ readonly providerId: "azure";
3287
+ readonly externalId: "text-embedding-ada-002";
3288
+ readonly deactivatedAt: Date;
3289
+ readonly inputPrice: "0.1e-6";
3290
+ readonly outputPrice: "0";
3291
+ readonly requestPrice: "0";
3292
+ readonly contextSize: 8192;
3293
+ readonly streaming: false;
3294
+ readonly tools: false;
3295
+ readonly jsonOutput: false;
3296
+ readonly embeddings: true;
3261
3297
  }];
3262
3298
  }, {
3263
3299
  readonly id: "tts-1";
@@ -3280,6 +3316,20 @@ export declare const models: [{
3280
3316
  readonly jsonOutput: false;
3281
3317
  readonly speechGenerations: true;
3282
3318
  readonly supportedVoices: string[];
3319
+ }, {
3320
+ readonly providerId: "azure";
3321
+ readonly externalId: "tts-1";
3322
+ readonly deactivatedAt: Date;
3323
+ readonly inputPrice: "0";
3324
+ readonly outputPrice: "0";
3325
+ readonly inputCharacterPrice: "15e-6";
3326
+ readonly requestPrice: "0";
3327
+ readonly contextSize: 4096;
3328
+ readonly streaming: false;
3329
+ readonly tools: false;
3330
+ readonly jsonOutput: false;
3331
+ readonly speechGenerations: true;
3332
+ readonly supportedVoices: ["alloy", "echo", "fable", "nova", "onyx", "shimmer"];
3283
3333
  }];
3284
3334
  }, {
3285
3335
  readonly id: "tts-1-hd";
@@ -3302,6 +3352,20 @@ export declare const models: [{
3302
3352
  readonly jsonOutput: false;
3303
3353
  readonly speechGenerations: true;
3304
3354
  readonly supportedVoices: string[];
3355
+ }, {
3356
+ readonly providerId: "azure";
3357
+ readonly externalId: "tts-1-hd";
3358
+ readonly deactivatedAt: Date;
3359
+ readonly inputPrice: "0";
3360
+ readonly outputPrice: "0";
3361
+ readonly inputCharacterPrice: "30e-6";
3362
+ readonly requestPrice: "0";
3363
+ readonly contextSize: 4096;
3364
+ readonly streaming: false;
3365
+ readonly tools: false;
3366
+ readonly jsonOutput: false;
3367
+ readonly speechGenerations: true;
3368
+ readonly supportedVoices: ["alloy", "echo", "fable", "nova", "onyx", "shimmer"];
3305
3369
  }];
3306
3370
  }, {
3307
3371
  readonly id: "gpt-4o-mini-tts";
@@ -3324,6 +3388,20 @@ export declare const models: [{
3324
3388
  readonly jsonOutput: false;
3325
3389
  readonly speechGenerations: true;
3326
3390
  readonly supportedVoices: string[];
3391
+ }, {
3392
+ readonly providerId: "azure";
3393
+ readonly externalId: "gpt-4o-mini-tts";
3394
+ readonly deactivatedAt: Date;
3395
+ readonly inputPrice: "0.6e-6";
3396
+ readonly outputPrice: "12.0e-6";
3397
+ readonly outputAudioPrice: "12.0e-6";
3398
+ readonly requestPrice: "0";
3399
+ readonly contextSize: 2000;
3400
+ readonly streaming: false;
3401
+ readonly tools: false;
3402
+ readonly jsonOutput: false;
3403
+ readonly speechGenerations: true;
3404
+ readonly supportedVoices: string[];
3327
3405
  }];
3328
3406
  }, {
3329
3407
  readonly id: "gpt-realtime";
@@ -3349,7 +3427,7 @@ export declare const models: [{
3349
3427
  readonly contextSize: 32768;
3350
3428
  readonly maxOutput: 4096;
3351
3429
  readonly streaming: false;
3352
- readonly vision: false;
3430
+ readonly vision: true;
3353
3431
  readonly audio: true;
3354
3432
  readonly tools: true;
3355
3433
  readonly jsonOutput: false;
@@ -3358,6 +3436,29 @@ export declare const models: [{
3358
3436
  readonly test: "skip";
3359
3437
  readonly deprecatedAt: Date;
3360
3438
  readonly deactivatedAt: Date;
3439
+ }, {
3440
+ readonly providerId: "azure";
3441
+ readonly externalId: "gpt-realtime";
3442
+ readonly deactivatedAt: Date;
3443
+ readonly inputPrice: "4.0e-6";
3444
+ readonly cachedInputPrice: "0.4e-6";
3445
+ readonly outputPrice: "16.0e-6";
3446
+ readonly inputAudioPrice: "32.0e-6";
3447
+ readonly cachedInputAudioPrice: "0.4e-6";
3448
+ readonly outputAudioPrice: "64.0e-6";
3449
+ readonly imageInputPrice: "5.0e-6";
3450
+ readonly cachedImageInputPrice: "0.5e-6";
3451
+ readonly requestPrice: "0";
3452
+ readonly contextSize: 32768;
3453
+ readonly maxOutput: 4096;
3454
+ readonly streaming: false;
3455
+ readonly vision: true;
3456
+ readonly audio: true;
3457
+ readonly tools: true;
3458
+ readonly jsonOutput: false;
3459
+ readonly realtime: true;
3460
+ readonly supportedVoices: string[];
3461
+ readonly test: "skip";
3361
3462
  }];
3362
3463
  }, {
3363
3464
  readonly id: "gpt-realtime-mini";
@@ -3377,11 +3478,13 @@ export declare const models: [{
3377
3478
  readonly inputAudioPrice: "10.0e-6";
3378
3479
  readonly cachedInputAudioPrice: "0.3e-6";
3379
3480
  readonly outputAudioPrice: "20.0e-6";
3481
+ readonly imageInputPrice: "0.8e-6";
3482
+ readonly cachedImageInputPrice: "0.08e-6";
3380
3483
  readonly requestPrice: "0";
3381
3484
  readonly contextSize: 32768;
3382
3485
  readonly maxOutput: 4096;
3383
3486
  readonly streaming: false;
3384
- readonly vision: false;
3487
+ readonly vision: true;
3385
3488
  readonly audio: true;
3386
3489
  readonly tools: true;
3387
3490
  readonly jsonOutput: false;
@@ -3390,6 +3493,29 @@ export declare const models: [{
3390
3493
  readonly test: "skip";
3391
3494
  readonly deprecatedAt: Date;
3392
3495
  readonly deactivatedAt: Date;
3496
+ }, {
3497
+ readonly providerId: "azure";
3498
+ readonly externalId: "gpt-realtime-mini";
3499
+ readonly deactivatedAt: Date;
3500
+ readonly inputPrice: "0.6e-6";
3501
+ readonly cachedInputPrice: "0.06e-6";
3502
+ readonly outputPrice: "2.4e-6";
3503
+ readonly inputAudioPrice: "10.0e-6";
3504
+ readonly cachedInputAudioPrice: "0.3e-6";
3505
+ readonly outputAudioPrice: "20.0e-6";
3506
+ readonly imageInputPrice: "0.8e-6";
3507
+ readonly cachedImageInputPrice: "0.08e-6";
3508
+ readonly requestPrice: "0";
3509
+ readonly contextSize: 32768;
3510
+ readonly maxOutput: 4096;
3511
+ readonly streaming: false;
3512
+ readonly vision: true;
3513
+ readonly audio: true;
3514
+ readonly tools: true;
3515
+ readonly jsonOutput: false;
3516
+ readonly realtime: true;
3517
+ readonly supportedVoices: string[];
3518
+ readonly test: "skip";
3393
3519
  }];
3394
3520
  }, {
3395
3521
  readonly id: "gpt-realtime-2.1";
@@ -3414,7 +3540,31 @@ export declare const models: [{
3414
3540
  readonly contextSize: 128000;
3415
3541
  readonly maxOutput: 32000;
3416
3542
  readonly streaming: false;
3417
- readonly vision: false;
3543
+ readonly vision: true;
3544
+ readonly audio: true;
3545
+ readonly reasoning: true;
3546
+ readonly tools: true;
3547
+ readonly jsonOutput: false;
3548
+ readonly realtime: true;
3549
+ readonly supportedVoices: string[];
3550
+ readonly test: "skip";
3551
+ }, {
3552
+ readonly providerId: "azure";
3553
+ readonly externalId: "gpt-realtime-2.1";
3554
+ readonly deactivatedAt: Date;
3555
+ readonly inputPrice: "4.0e-6";
3556
+ readonly cachedInputPrice: "0.4e-6";
3557
+ readonly outputPrice: "24.0e-6";
3558
+ readonly inputAudioPrice: "32.0e-6";
3559
+ readonly cachedInputAudioPrice: "0.4e-6";
3560
+ readonly outputAudioPrice: "64.0e-6";
3561
+ readonly imageInputPrice: "5.0e-6";
3562
+ readonly cachedImageInputPrice: "0.5e-6";
3563
+ readonly requestPrice: "0";
3564
+ readonly contextSize: 128000;
3565
+ readonly maxOutput: 32000;
3566
+ readonly streaming: false;
3567
+ readonly vision: true;
3418
3568
  readonly audio: true;
3419
3569
  readonly reasoning: true;
3420
3570
  readonly tools: true;
@@ -3446,7 +3596,30 @@ export declare const models: [{
3446
3596
  readonly contextSize: 128000;
3447
3597
  readonly maxOutput: 32000;
3448
3598
  readonly streaming: false;
3449
- readonly vision: false;
3599
+ readonly vision: true;
3600
+ readonly audio: true;
3601
+ readonly tools: true;
3602
+ readonly jsonOutput: false;
3603
+ readonly realtime: true;
3604
+ readonly supportedVoices: string[];
3605
+ readonly test: "skip";
3606
+ }, {
3607
+ readonly providerId: "azure";
3608
+ readonly externalId: "gpt-realtime-2.1-mini";
3609
+ readonly deactivatedAt: Date;
3610
+ readonly inputPrice: "0.6e-6";
3611
+ readonly cachedInputPrice: "0.06e-6";
3612
+ readonly outputPrice: "2.4e-6";
3613
+ readonly inputAudioPrice: "10.0e-6";
3614
+ readonly cachedInputAudioPrice: "0.3e-6";
3615
+ readonly outputAudioPrice: "20.0e-6";
3616
+ readonly imageInputPrice: "0.8e-6";
3617
+ readonly cachedImageInputPrice: "0.08e-6";
3618
+ readonly requestPrice: "0";
3619
+ readonly contextSize: 128000;
3620
+ readonly maxOutput: 32000;
3621
+ readonly streaming: false;
3622
+ readonly vision: true;
3450
3623
  readonly audio: true;
3451
3624
  readonly tools: true;
3452
3625
  readonly jsonOutput: false;
@@ -3479,6 +3652,24 @@ export declare const models: [{
3479
3652
  readonly realtimeTranscription: true;
3480
3653
  readonly realtimeTranscriptionTurnDetection: true;
3481
3654
  readonly test: "skip";
3655
+ }, {
3656
+ readonly providerId: "azure";
3657
+ readonly externalId: "gpt-4o-mini-transcribe";
3658
+ readonly deactivatedAt: Date;
3659
+ readonly inputPrice: "1.25e-6";
3660
+ readonly outputPrice: "5.0e-6";
3661
+ readonly inputAudioPrice: "3.0e-6";
3662
+ readonly requestPrice: "0";
3663
+ readonly contextSize: 16000;
3664
+ readonly maxOutput: 2000;
3665
+ readonly streaming: false;
3666
+ readonly vision: false;
3667
+ readonly audio: true;
3668
+ readonly tools: false;
3669
+ readonly jsonOutput: false;
3670
+ readonly realtimeTranscription: true;
3671
+ readonly realtimeTranscriptionTurnDetection: true;
3672
+ readonly test: "skip";
3482
3673
  }];
3483
3674
  }, {
3484
3675
  readonly id: "gpt-4o-transcribe";
@@ -3505,6 +3696,24 @@ export declare const models: [{
3505
3696
  readonly realtimeTranscription: true;
3506
3697
  readonly realtimeTranscriptionTurnDetection: true;
3507
3698
  readonly test: "skip";
3699
+ }, {
3700
+ readonly providerId: "azure";
3701
+ readonly externalId: "gpt-4o-transcribe";
3702
+ readonly deactivatedAt: Date;
3703
+ readonly inputPrice: "2.5e-6";
3704
+ readonly outputPrice: "10.0e-6";
3705
+ readonly inputAudioPrice: "6.0e-6";
3706
+ readonly requestPrice: "0";
3707
+ readonly contextSize: 16000;
3708
+ readonly maxOutput: 2000;
3709
+ readonly streaming: false;
3710
+ readonly vision: false;
3711
+ readonly audio: true;
3712
+ readonly tools: false;
3713
+ readonly jsonOutput: false;
3714
+ readonly realtimeTranscription: true;
3715
+ readonly realtimeTranscriptionTurnDetection: true;
3716
+ readonly test: "skip";
3508
3717
  }];
3509
3718
  }, {
3510
3719
  readonly id: "gpt-live-transcribe";
@@ -3528,6 +3737,21 @@ export declare const models: [{
3528
3737
  readonly jsonOutput: false;
3529
3738
  readonly realtimeTranscription: true;
3530
3739
  readonly test: "skip";
3740
+ }, {
3741
+ readonly providerId: "azure";
3742
+ readonly externalId: "gpt-live-transcribe";
3743
+ readonly deactivatedAt: Date;
3744
+ readonly inputPrice: "0";
3745
+ readonly outputPrice: "0";
3746
+ readonly inputAudioHourPrice: "1.02";
3747
+ readonly requestPrice: "0";
3748
+ readonly streaming: false;
3749
+ readonly vision: false;
3750
+ readonly audio: true;
3751
+ readonly tools: false;
3752
+ readonly jsonOutput: false;
3753
+ readonly realtimeTranscription: true;
3754
+ readonly test: "skip";
3531
3755
  }];
3532
3756
  }, {
3533
3757
  readonly id: "gpt-transcribe";
@@ -3552,6 +3776,22 @@ export declare const models: [{
3552
3776
  readonly realtimeTranscription: true;
3553
3777
  readonly realtimeTranscriptionTurnDetection: true;
3554
3778
  readonly test: "skip";
3779
+ }, {
3780
+ readonly providerId: "azure";
3781
+ readonly externalId: "gpt-transcribe";
3782
+ readonly deactivatedAt: Date;
3783
+ readonly inputPrice: "0";
3784
+ readonly outputPrice: "0";
3785
+ readonly inputAudioHourPrice: "0.27";
3786
+ readonly requestPrice: "0";
3787
+ readonly streaming: false;
3788
+ readonly vision: false;
3789
+ readonly audio: true;
3790
+ readonly tools: false;
3791
+ readonly jsonOutput: false;
3792
+ readonly realtimeTranscription: true;
3793
+ readonly realtimeTranscriptionTurnDetection: true;
3794
+ readonly test: "skip";
3555
3795
  }];
3556
3796
  }, {
3557
3797
  readonly id: "claude-fable-5-1";
@@ -17428,16 +17668,22 @@ export declare const models: [{
17428
17668
  readonly test: "skip";
17429
17669
  readonly providerId: "bytedance";
17430
17670
  readonly externalId: "dreamina-seedance-2-5-260628";
17671
+ readonly videoOutputPrice: {
17672
+ readonly default_without_video: "10.7e-6";
17673
+ readonly default_with_video: "6.4e-6";
17674
+ readonly "1080p_without_video": "11.7e-6";
17675
+ readonly "1080p_with_video": "7e-6";
17676
+ };
17431
17677
  readonly inputPrice: undefined;
17432
17678
  readonly outputPrice: undefined;
17433
17679
  readonly requestPrice: undefined;
17434
17680
  readonly perSecondPrice: {
17435
- readonly default_audio: "0.2311";
17436
- readonly default_video: "0.2311";
17437
- readonly "480p_audio": "0.1028";
17438
- readonly "480p_video": "0.1028";
17439
- readonly "1080p_audio": "0.52";
17440
- readonly "1080p_video": "0.52";
17681
+ readonly default_audio: "0.23112";
17682
+ readonly default_video: "0.23112";
17683
+ readonly "480p_audio": "0.10280025";
17684
+ readonly "480p_video": "0.10280025";
17685
+ readonly "1080p_audio": "0.56862";
17686
+ readonly "1080p_video": "0.56862";
17441
17687
  };
17442
17688
  readonly contextSize: 2000;
17443
17689
  readonly maxOutput: 1;
@@ -17462,14 +17708,22 @@ export declare const models: [{
17462
17708
  readonly test: "skip";
17463
17709
  readonly providerId: "bytedance";
17464
17710
  readonly externalId: "dreamina-seedance-2-0-260128";
17711
+ readonly videoOutputPrice: {
17712
+ readonly default_without_video: "7e-6";
17713
+ readonly default_with_video: "4.3e-6";
17714
+ readonly "1080p_without_video": "7.7e-6";
17715
+ readonly "1080p_with_video": "4.7e-6";
17716
+ readonly "4k_without_video": "4e-6";
17717
+ readonly "4k_with_video": "2.4e-6";
17718
+ };
17465
17719
  readonly inputPrice: undefined;
17466
17720
  readonly outputPrice: undefined;
17467
17721
  readonly requestPrice: undefined;
17468
17722
  readonly perSecondPrice: {
17469
17723
  readonly default_audio: "0.1512";
17470
17724
  readonly default_video: "0.1512";
17471
- readonly "1080p_audio": "0.3402";
17472
- readonly "1080p_video": "0.3402";
17725
+ readonly "1080p_audio": "0.37422";
17726
+ readonly "1080p_video": "0.37422";
17473
17727
  };
17474
17728
  readonly contextSize: 2000;
17475
17729
  readonly maxOutput: 1;
@@ -17494,14 +17748,16 @@ export declare const models: [{
17494
17748
  readonly test: "skip";
17495
17749
  readonly providerId: "bytedance";
17496
17750
  readonly externalId: "dreamina-seedance-2-0-fast-260128";
17751
+ readonly videoOutputPrice: {
17752
+ readonly default_without_video: "5.6e-6";
17753
+ readonly default_with_video: "3.3e-6";
17754
+ };
17497
17755
  readonly inputPrice: undefined;
17498
17756
  readonly outputPrice: undefined;
17499
17757
  readonly requestPrice: undefined;
17500
17758
  readonly perSecondPrice: {
17501
- readonly default_audio: "0.121";
17502
- readonly default_video: "0.121";
17503
- readonly "1080p_audio": "0.2722";
17504
- readonly "1080p_video": "0.2722";
17759
+ readonly default_audio: "0.12096";
17760
+ readonly default_video: "0.12096";
17505
17761
  };
17506
17762
  readonly contextSize: 2000;
17507
17763
  readonly maxOutput: 1;
@@ -17526,14 +17782,18 @@ export declare const models: [{
17526
17782
  readonly test: "skip";
17527
17783
  readonly providerId: "bytedance";
17528
17784
  readonly externalId: "dreamina-seedance-2-0-mini-260615";
17785
+ readonly videoOutputPrice: {
17786
+ readonly default_without_video: "3.5e-6";
17787
+ readonly default_with_video: "2.1e-6";
17788
+ };
17529
17789
  readonly inputPrice: undefined;
17530
17790
  readonly outputPrice: undefined;
17531
17791
  readonly requestPrice: undefined;
17532
17792
  readonly perSecondPrice: {
17533
17793
  readonly default_audio: "0.0756";
17534
17794
  readonly default_video: "0.0756";
17535
- readonly "480p_audio": "0.0378";
17536
- readonly "480p_video": "0.0378";
17795
+ readonly "480p_audio": "0.035154";
17796
+ readonly "480p_video": "0.035154";
17537
17797
  };
17538
17798
  readonly contextSize: 2000;
17539
17799
  readonly maxOutput: 1;
@@ -17558,13 +17818,18 @@ export declare const models: [{
17558
17818
  readonly test: "skip";
17559
17819
  readonly providerId: "bytedance";
17560
17820
  readonly externalId: "seedance-1-5-pro-251215";
17821
+ readonly deactivatedAt: Date;
17822
+ readonly videoOutputPrice: {
17823
+ readonly default_audio: "2.4e-6";
17824
+ readonly default_video: "1.2e-6";
17825
+ };
17561
17826
  readonly inputPrice: undefined;
17562
17827
  readonly outputPrice: undefined;
17563
17828
  readonly requestPrice: undefined;
17564
17829
  readonly perSecondPrice: {
17565
17830
  readonly default_audio: "0.05184";
17566
17831
  readonly default_video: "0.02592";
17567
- readonly "1080p_audio": "0.1166";
17832
+ readonly "1080p_audio": "0.11664";
17568
17833
  readonly "1080p_video": "0.05832";
17569
17834
  };
17570
17835
  readonly contextSize: 2000;
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5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AoB,GAAG;IACnC,iBAAiB;IACjB,yBAAyB;IACzB,kBAAkB;IAClB,eAAe;CACN,CAAC;AAiNX,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC,MAAM;IACN,MAAM;IACN,UAAU;IACV,UAAU;CACD,CAAC;AAUX,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC,oBAAoB;IACpB,iBAAiB;CACR,CAAC;AAmuBX,MAAM,CAAC,MAAM,MAAM,GAAG;IACrB,GAAG,gBAAgB;IACnB,GAAG,YAAY;IACf,GAAG,eAAe;IAClB,GAAG,YAAY;IACf,GAAG,iBAAiB;IACpB,GAAG,gBAAgB;IACnB,GAAG,SAAS;IACZ,GAAG,YAAY;IACf,GAAG,UAAU;IACb,GAAG,cAAc;IACjB,GAAG,aAAa;IAChB,GAAG,eAAe;IAClB,GAAG,aAAa;IAChB,GAAG,cAAc;IACjB,GAAG,aAAa;IAChB,GAAG,gBAAgB;IACnB,GAAG,WAAW;IACd,GAAG,UAAU;IACb,GAAG,WAAW;IACd,GAAG,qBAAqB;IACxB,GAAG,eAAe;IAClB,GAAG,kBAAkB;IACrB,GAAG,UAAU;IACb,GAAG,YAAY;IACf,GAAG,YAAY;IACf,GAAG,aAAa;IAChB,GAAG,YAAY;IACf,GAAG,aAAa;IAChB,GAAG,SAAS;IACZ,GAAG,gBAAgB;IACnB,GAAG,cAAc;IACjB,GAAG,sBAAsB;IACzB,GAAG,aAAa;IAChB,GAAG,SAAS;CACyB,CAAC"}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAk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G,SAAS;IACZ,GAAG,gBAAgB;IACnB,GAAG,cAAc;IACjB,GAAG,sBAAsB;IACzB,GAAG,aAAa;IAChB,GAAG,SAAS;CACyB,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,74 @@
1
+ import { describe, expect, test } from "vitest";
2
+ import { bytedanceModels } from "./models/bytedance.js";
3
+ function mapping(id) {
4
+ const model = bytedanceModels.find((candidate) => candidate.id === id);
5
+ const provider = model?.providers[0];
6
+ if (!provider) {
7
+ throw new Error(`Missing Seedance mapping: ${id}`);
8
+ }
9
+ return provider;
10
+ }
11
+ describe("Seedance pricing", () => {
12
+ test.each([
13
+ [
14
+ "seedance-2-5",
15
+ {
16
+ default_without_video: "10.7e-6",
17
+ default_with_video: "6.4e-6",
18
+ "1080p_without_video": "11.7e-6",
19
+ "1080p_with_video": "7e-6",
20
+ },
21
+ ],
22
+ [
23
+ "seedance-2-0",
24
+ {
25
+ default_without_video: "7e-6",
26
+ default_with_video: "4.3e-6",
27
+ "1080p_without_video": "7.7e-6",
28
+ "1080p_with_video": "4.7e-6",
29
+ "4k_without_video": "4e-6",
30
+ "4k_with_video": "2.4e-6",
31
+ },
32
+ ],
33
+ [
34
+ "seedance-2-0-fast",
35
+ { default_without_video: "5.6e-6", default_with_video: "3.3e-6" },
36
+ ],
37
+ [
38
+ "seedance-2-0-mini",
39
+ { default_without_video: "3.5e-6", default_with_video: "2.1e-6" },
40
+ ],
41
+ ["seedance-1-5-pro", { default_audio: "2.4e-6", default_video: "1.2e-6" }],
42
+ ])("declares exact token rates for %s", (id, prices) => {
43
+ expect(mapping(id).videoOutputPrice).toEqual(prices);
44
+ });
45
+ test("keeps per-second figures as unrounded no-video estimates", () => {
46
+ expect(mapping("seedance-2-5").perSecondPrice).toMatchObject({
47
+ default_audio: "0.23112",
48
+ "480p_audio": "0.10280025",
49
+ "1080p_audio": "0.56862",
50
+ });
51
+ expect(mapping("seedance-2-0").perSecondPrice?.["1080p_audio"]).toBe("0.37422");
52
+ expect(mapping("seedance-2-0-fast").perSecondPrice).toEqual({
53
+ default_audio: "0.12096",
54
+ default_video: "0.12096",
55
+ });
56
+ expect(mapping("seedance-2-0-mini").perSecondPrice?.["480p_audio"]).toBe("0.035154");
57
+ expect(mapping("seedance-1-5-pro").perSecondPrice?.["1080p_audio"]).toBe("0.11664");
58
+ });
59
+ test("retires Seedance 1.5 Pro on the announced date", () => {
60
+ expect(mapping("seedance-1-5-pro").deactivatedAt).toEqual(new Date("2026-11-11"));
61
+ });
62
+ });
63
+ test("every ByteDance video mapping declares token billing", () => {
64
+ const definitions = bytedanceModels;
65
+ for (const model of definitions) {
66
+ if (!model.output?.includes("video")) {
67
+ continue;
68
+ }
69
+ for (const provider of model.providers) {
70
+ expect(provider.videoOutputPrice).toBeDefined();
71
+ }
72
+ }
73
+ });
74
+ //# sourceMappingURL=seedance-pricing.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seedance-pricing.spec.js","sourceRoot":"","sources":["../src/seedance-pricing.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAIxD,SAAS,OAAO,CAAC,EAAU;IAC1B,MAAM,KAAK,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IACvE,MAAM,QAAQ,GAAG,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;IACrC,IAAI,CAAC,QAAQ,EAAE,CAAC;QACf,MAAM,IAAI,KAAK,CAAC,6BAA6B,EAAE,EAAE,CAAC,CAAC;IACpD,CAAC;IACD,OAAO,QAAQ,CAAC;AACjB,CAAC;AAED,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IACjC,IAAI,CAAC,IAAI,CAAC;QACT;YACC,cAAc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AS;YACxB,aAAa,EAAE,SAAS;SACxB,CAAC,CAAC;QACH,MAAM,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,cAAc,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CACvE,UAAU,CACV,CAAC;QACF,MAAM,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,cAAc,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CACvE,SAAS,CACT,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,gDAAgD,EAAE,GAAG,EAAE;QAC3D,MAAM,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,aAAa,CAAC,CAAC,OAAO,CACxD,IAAI,IAAI,CAAC,YAAY,CAAC,CACtB,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,sDAAsD,EAAE,GAAG,EAAE;IACjE,MAAM,WAAW,GAA+B,eAAe,CAAC;IAChE,KAAK,MAAM,KAAK,IAAI,WAAW,EAAE,CAAC;QACjC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;YACtC,SAAS;QACV,CAAC;QACD,KAAK,MAAM,QAAQ,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;YACxC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,WAAW,EAAE,CAAC;QACjD,CAAC;IACF,CAAC;AACF,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llmgateway/models",
3
- "version": "1.392.1",
3
+ "version": "1.393.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",