Skip to content

Commit 9db43c2

Browse files
authored
Fix GPT-5.5 Pro pricing (#153)
1 parent 6999d6e commit 9db43c2

1 file changed

Lines changed: 4 additions & 15 deletions

File tree

src/models.rs

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -598,21 +598,10 @@ fn populate_defaults(
598598

599599
add_model!(
600600
"gpt-5.5-pro",
601-
PricingStructure::Tiered(TieredPricing {
602-
tiers: vec![
603-
PricingTier {
604-
max_tokens: Some(272_000),
605-
input_per_1m: 30.0,
606-
output_per_1m: 180.0
607-
},
608-
PricingTier {
609-
max_tokens: None,
610-
input_per_1m: 60.0,
611-
output_per_1m: 270.0
612-
},
613-
],
614-
bracket_pricing: false,
615-
}),
601+
PricingStructure::Flat {
602+
input_per_1m: 30.0,
603+
output_per_1m: 180.0
604+
},
616605
CachingSupport::None,
617606
false
618607
);

0 commit comments

Comments
 (0)