Skip to content

Commit 9a6e5f3

Browse files
committed
update ai models pricing
1 parent 2e81c96 commit 9a6e5f3

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/ui/mod.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -625,10 +625,11 @@ impl UI {
625625
// Prices per million tokens in USD
626626
let (input_price, output_price) = match model {
627627
"claude-sonnet-4-6" => (3.0, 15.0),
628-
"claude-opus-4-6" => (5.0, 25.0),
628+
"claude-opus-4-6" | "claude-opus-4-7" => (5.0, 25.0),
629629
"claude-haiku-4-5" => (1.0, 5.0),
630-
"gpt-5.1-codex-max" | "gpt-5.1-codex" | "gpt-5-codex" => (1.25, 10.0),
631-
"gpt-5.2" => (1.75, 14.0),
630+
"gpt-5.3-codex" => (1.75, 14.0),
631+
"gpt-5.4" => (2.5, 15.0),
632+
"gpt-5.5" => (5.0, 30.0),
632633
// Default fallback (use Sonnet 4.5 pricing)
633634
_ => (3.0, 15.0),
634635
};

0 commit comments

Comments
 (0)