Skip to content

Commit bf32a4d

Browse files
committed
Add cost estimation for gpt-4o-audio-preview
1 parent a26d2f4 commit bf32a4d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/gptcmd/llm/openai.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,16 @@ def _estimate_cost_in_cents(
135135
Decimal("150") / Decimal("1000000"),
136136
Decimal("0.5"),
137137
),
138+
"gpt-4o-audio-preview-2025-06-03": ModelCostInfo(
139+
Decimal("2.5") / Decimal("1000000"),
140+
Decimal("10") / Decimal("1000000"),
141+
Decimal("0.5"),
142+
),
143+
"gpt-4o-audio-preview-2024-12-17": ModelCostInfo(
144+
Decimal("2.5") / Decimal("1000000"),
145+
Decimal("10") / Decimal("1000000"),
146+
Decimal("0.5"),
147+
),
138148
"gpt-4o-2024-11-20": ModelCostInfo(
139149
Decimal("2.5") / Decimal("1000000"),
140150
Decimal("10") / Decimal("1000000"),

0 commit comments

Comments
 (0)