@outputai/core 0.16.1-next.219890f.0 → 0.16.1-next.54cf419.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outputai/core",
3
- "version": "0.16.1-next.219890f.0",
3
+ "version": "0.16.1-next.54cf419.0",
4
4
  "description": "The core module of the output framework",
5
5
  "type": "module",
6
6
  "engines": {
@@ -28,11 +28,9 @@ const resolvePrice = ( { providerId, group, label, pricing, isReasoning } ) => {
28
28
  return resolveValue( [] );
29
29
  }
30
30
  if ( group === LLMGenerationUsageItem.Group.OUTPUT ) {
31
- const values = [ pricing.output ];
32
- if ( label === 'reasoning' ) {
33
- values.unshift( pricing.reasoning );
34
- }
35
- return resolveValue( values );
31
+ // Reasoning is billed as output unless the catalog lists a separate rate, so using the output rate is not a fallback
32
+ const rate = label === 'reasoning' && isNonNegativeNumber( pricing.reasoning ) ? pricing.reasoning : pricing.output;
33
+ return resolveValue( [ rate ] );
36
34
  }
37
35
 
38
36
  const values = [ pricing.input ];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "_meta": {
3
- "createdAt": "2026-11-09T06:16:59.736Z"
3
+ "createdAt": "2026-11-16T06:17:46.494Z"
4
4
  },
5
5
  "amazon-bedrock": {
6
6
  "models": {
@@ -58,6 +58,15 @@
58
58
  },
59
59
  "reasoning": true
60
60
  },
61
+ "anthropic.claude-fable-5-2": {
62
+ "cost": {
63
+ "input": 8,
64
+ "output": 40,
65
+ "cache_read": 0.2,
66
+ "cache_write": 10
67
+ },
68
+ "reasoning": true
69
+ },
61
70
  "anthropic.claude-haiku-4-5-20251001-v1:0": {
62
71
  "cost": {
63
72
  "input": 1,
@@ -572,6 +581,15 @@
572
581
  },
573
582
  "reasoning": true
574
583
  },
584
+ "global.anthropic.claude-fable-5-2": {
585
+ "cost": {
586
+ "input": 8,
587
+ "output": 40,
588
+ "cache_read": 0.2,
589
+ "cache_write": 10
590
+ },
591
+ "reasoning": true
592
+ },
575
593
  "global.anthropic.claude-haiku-4-5-20251001-v1:0": {
576
594
  "cost": {
577
595
  "input": 1,
@@ -710,6 +728,15 @@
710
728
  },
711
729
  "reasoning": true
712
730
  },
731
+ "global.moonshotai.kimi-k3.1": {
732
+ "cost": {
733
+ "input": 4,
734
+ "output": 20,
735
+ "cache_read": 0.2,
736
+ "cache_write": 5
737
+ },
738
+ "reasoning": true
739
+ },
713
740
  "global.openai.gpt-5.6-luna": {
714
741
  "cost": {
715
742
  "input": 0.2,
@@ -1737,6 +1764,15 @@
1737
1764
  },
1738
1765
  "reasoning": true
1739
1766
  },
1767
+ "us.anthropic.claude-fable-5-2": {
1768
+ "cost": {
1769
+ "input": 8.8,
1770
+ "output": 44,
1771
+ "cache_read": 0.22,
1772
+ "cache_write": 11
1773
+ },
1774
+ "reasoning": true
1775
+ },
1740
1776
  "us.anthropic.claude-haiku-4-5-20251001-v1:0": {
1741
1777
  "cost": {
1742
1778
  "input": 1.1,
@@ -1933,6 +1969,15 @@
1933
1969
  },
1934
1970
  "reasoning": true
1935
1971
  },
1972
+ "us.moonshotai.kimi-k3.1": {
1973
+ "cost": {
1974
+ "input": 4.4,
1975
+ "output": 22,
1976
+ "cache_read": 0.22,
1977
+ "cache_write": 5.5
1978
+ },
1979
+ "reasoning": true
1980
+ },
1936
1981
  "us.openai.gpt-5.6-luna": {
1937
1982
  "cost": {
1938
1983
  "input": 0.22,
@@ -2261,6 +2306,15 @@
2261
2306
  },
2262
2307
  "reasoning": true
2263
2308
  },
2309
+ "claude-fable-5-2": {
2310
+ "cost": {
2311
+ "input": 8,
2312
+ "output": 40,
2313
+ "cache_read": 0.2,
2314
+ "cache_write": 10
2315
+ },
2316
+ "reasoning": true
2317
+ },
2264
2318
  "claude-haiku-4-5": {
2265
2319
  "cost": {
2266
2320
  "input": 1,
@@ -2430,6 +2484,15 @@
2430
2484
  },
2431
2485
  "reasoning": true
2432
2486
  },
2487
+ "claude-fable-5-2": {
2488
+ "cost": {
2489
+ "input": 8,
2490
+ "output": 40,
2491
+ "cache_read": 0.2,
2492
+ "cache_write": 10
2493
+ },
2494
+ "reasoning": true
2495
+ },
2433
2496
  "claude-haiku-4-5": {
2434
2497
  "cost": {
2435
2498
  "input": 1,
@@ -3153,42 +3216,10 @@
3153
3216
  },
3154
3217
  "reasoning": true
3155
3218
  },
3156
- "gpt-image-1": {
3157
- "cost": {
3158
- "input": 5,
3159
- "output": 40,
3160
- "cache_read": 1.25
3161
- },
3162
- "reasoning": false
3163
- },
3164
3219
  "gpt-image-1.5": {
3165
3220
  "cost": {
3166
3221
  "input": 5,
3167
- "output": 32,
3168
- "cache_read": 1.25
3169
- },
3170
- "reasoning": false
3171
- },
3172
- "gpt-image-2": {
3173
- "cost": {
3174
- "input": 5,
3175
- "output": 30,
3176
- "cache_read": 1.25
3177
- },
3178
- "reasoning": false
3179
- },
3180
- "gpt-image-2.5-flare": {
3181
- "cost": {
3182
- "input": 5,
3183
- "output": 30,
3184
- "cache_read": 1.25
3185
- },
3186
- "reasoning": false
3187
- },
3188
- "gpt-image-2.5-sunburst": {
3189
- "cost": {
3190
- "input": 5,
3191
- "output": 30,
3222
+ "output": 10,
3192
3223
  "cache_read": 1.25
3193
3224
  },
3194
3225
  "reasoning": false
@@ -3411,6 +3442,15 @@
3411
3442
  },
3412
3443
  "reasoning": true
3413
3444
  },
3445
+ "claude-fable-5-2@default": {
3446
+ "cost": {
3447
+ "input": 8,
3448
+ "output": 40,
3449
+ "cache_read": 0.2,
3450
+ "cache_write": 10
3451
+ },
3452
+ "reasoning": true
3453
+ },
3414
3454
  "claude-fable-5@default": {
3415
3455
  "cost": {
3416
3456
  "input": 10,
@@ -3602,7 +3642,7 @@
3602
3642
  "gemini-2.5-flash-image": {
3603
3643
  "cost": {
3604
3644
  "input": 0.3,
3605
- "output": 30
3645
+ "output": 2.5
3606
3646
  },
3607
3647
  "reasoning": false
3608
3648
  },
@@ -3665,7 +3705,7 @@
3665
3705
  "gemini-3-pro-image": {
3666
3706
  "cost": {
3667
3707
  "input": 2,
3668
- "output": 120,
3708
+ "output": 12,
3669
3709
  "cache_read": 0.2
3670
3710
  },
3671
3711
  "reasoning": true
@@ -3673,7 +3713,7 @@
3673
3713
  "gemini-3.1-flash-image": {
3674
3714
  "cost": {
3675
3715
  "input": 0.5,
3676
- "output": 60,
3716
+ "output": 3,
3677
3717
  "cache_read": 0.05
3678
3718
  },
3679
3719
  "reasoning": true
@@ -3690,7 +3730,7 @@
3690
3730
  "gemini-3.1-flash-lite-image": {
3691
3731
  "cost": {
3692
3732
  "input": 0.25,
3693
- "output": 30,
3733
+ "output": 1.5,
3694
3734
  "cache_read": 0.025
3695
3735
  },
3696
3736
  "reasoning": true
@@ -3796,6 +3836,24 @@
3796
3836
  },
3797
3837
  "reasoning": true
3798
3838
  },
3839
+ "gemini-4-carbon": {
3840
+ "cost": {
3841
+ "input": 2,
3842
+ "output": 10,
3843
+ "cache_read": 0.1,
3844
+ "input_audio": 2
3845
+ },
3846
+ "reasoning": true
3847
+ },
3848
+ "gemini-4-hydrogen": {
3849
+ "cost": {
3850
+ "input": 1.5,
3851
+ "output": 7.5,
3852
+ "cache_read": 0.075,
3853
+ "input_audio": 1.5
3854
+ },
3855
+ "reasoning": true
3856
+ },
3799
3857
  "gemini-embedding-001": {
3800
3858
  "cost": {
3801
3859
  "input": 0.15,
@@ -3806,7 +3864,7 @@
3806
3864
  "gemini-nano-banana-2.1": {
3807
3865
  "cost": {
3808
3866
  "input": 1.5,
3809
- "output": 30,
3867
+ "output": 7.5,
3810
3868
  "cache_read": 0.15
3811
3869
  },
3812
3870
  "reasoning": true
@@ -3952,23 +4010,7 @@
3952
4010
  "cost": {
3953
4011
  "input": 1.25,
3954
4012
  "output": 2.5,
3955
- "cache_read": 0.2,
3956
- "tiers": [
3957
- {
3958
- "input": 2.5,
3959
- "output": 5,
3960
- "cache_read": 0.4,
3961
- "tier": {
3962
- "type": "context",
3963
- "size": 200000
3964
- }
3965
- }
3966
- ],
3967
- "context_over_200k": {
3968
- "input": 2.5,
3969
- "output": 5,
3970
- "cache_read": 0.4
3971
- }
4013
+ "cache_read": 0.2
3972
4014
  },
3973
4015
  "reasoning": true
3974
4016
  },
@@ -4048,6 +4090,14 @@
4048
4090
  },
4049
4091
  "openai": {
4050
4092
  "models": {
4093
+ "chatgpt-image-latest": {
4094
+ "cost": {
4095
+ "input": 5,
4096
+ "output": 10,
4097
+ "cache_read": 1.25
4098
+ },
4099
+ "reasoning": false
4100
+ },
4051
4101
  "gpt-3.5-turbo": {
4052
4102
  "cost": {
4053
4103
  "input": 0.5,
@@ -4588,10 +4638,10 @@
4588
4638
  },
4589
4639
  "reasoning": true
4590
4640
  },
4591
- "gpt-image-2": {
4641
+ "gpt-image-1.5": {
4592
4642
  "cost": {
4593
4643
  "input": 5,
4594
- "output": 30,
4644
+ "output": 10,
4595
4645
  "cache_read": 1.25
4596
4646
  },
4597
4647
  "reasoning": false