Skip to content

Commit 991e8ac

Browse files
committed
fix: add support for sonnet 4.5
1 parent 7f4e7bf commit 991e8ac

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

gptme/llm/models.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,15 @@ class _ModelDictMeta(TypedDict):
8888
"openai": OPENAI_MODELS,
8989
# https://docs.anthropic.com/en/docs/about-claude/models
9090
"anthropic": {
91+
"claude-sonnet-4-5": {
92+
"context": 200_000,
93+
"max_output": 64_000,
94+
"price_input": 3,
95+
"price_output": 15,
96+
"supports_vision": True,
97+
"supports_reasoning": True,
98+
"knowledge_cutoff": datetime(2025, 7, 1),
99+
},
91100
"claude-opus-4-1-20250805": {
92101
"context": 200_000,
93102
"max_output": 32_000,

0 commit comments

Comments
 (0)