Skip to content

Commit 6a59564

Browse files
committed
Add cost estimation for gpt-4.5-preview
1 parent f782464 commit 6a59564

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gptcmd/llm/openai.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ def _estimate_cost_in_cents(
9696
Decimal("3") / Decimal("1000000"),
9797
Decimal("12") / Decimal("1000000"),
9898
),
99+
"gpt-4.5-preview-2025-02-27": (
100+
Decimal("75") / Decimal("1000000"),
101+
Decimal("150") / Decimal("1000000"),
102+
),
99103
"gpt-4o-2024-11-20": (
100104
Decimal("2.5") / Decimal("1000000"),
101105
Decimal("10") / Decimal("1000000"),

0 commit comments

Comments
 (0)