Skip to content

Commit 646edf2

Browse files
committed
Add cost estimation for gpt-5.2
1 parent 4c971e6 commit 646edf2

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/gptcmd/llm/openai.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
)
3131

3232
OPENAI_COSTS: Dict[str, ModelCostInfo] = {
33+
"gpt-5.2-2025-12-11": ModelCostInfo(
34+
Decimal("1.75") / Decimal("1000000"),
35+
Decimal("14") / Decimal("1000000"),
36+
Decimal("0.1"),
37+
),
3338
"gpt-5.1-2025-11-13": ModelCostInfo(
3439
Decimal("1.25") / Decimal("1000000"),
3540
Decimal("10") / Decimal("1000000"),
@@ -40,6 +45,11 @@
4045
Decimal("10") / Decimal("1000000"),
4146
Decimal("0.1"),
4247
),
48+
"gpt-5.2-chat-latest": ModelCostInfo(
49+
Decimal("1.75") / Decimal("1000000"),
50+
Decimal("14") / Decimal("1000000"),
51+
Decimal("0.1"),
52+
),
4353
"gpt-5.1-chat-latest": ModelCostInfo(
4454
Decimal("1.25") / Decimal("1000000"),
4555
Decimal("10") / Decimal("1000000"),

0 commit comments

Comments
 (0)