Skip to content

Commit 61af386

Browse files
feat: add Claude Opus 4.6 model support (anthropic.claude-opus-4-6-v1)
- Add claude_opus_4_6, claude_opus_4_6_v1 to anthropic constants - Add claude_opus_4_6 to aws_bedrock constants - Bump version to 2.3.0 Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 91c500d commit 61af386

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

cost_katana/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
get_provider_from_model,
4444
)
4545

46-
__version__ = "2.2.6"
46+
__version__ = "2.3.0"
4747

4848
# Import configure function from client
4949
from .client import configure

cost_katana/models_constants.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ class openai:
133133
class anthropic:
134134
"""Anthropic model constants"""
135135

136+
# Claude 4.6 Series (Latest)
137+
claude_opus_4_6 = 'claude-opus-4-6'
138+
claude_opus_4_6_v1 = 'claude-opus-4-6-v1'
139+
136140
# Claude 4.5 Series (Latest)
137141
claude_sonnet_4_5_20250929 = 'claude-sonnet-4-5-20250929'
138142
claude_sonnet_4_5 = 'claude-sonnet-4-5'
@@ -272,6 +276,7 @@ class aws_bedrock:
272276
nova_reel = 'amazon.nova-reel-v1:0'
273277

274278
# Anthropic Claude on Bedrock
279+
claude_opus_4_6 = 'anthropic.claude-opus-4-6-v1'
275280
claude_sonnet_4_5 = 'anthropic.claude-sonnet-4-5-v1:0'
276281
claude_haiku_4_5 = 'anthropic.claude-haiku-4-5-v1:0'
277282
claude_opus_4_1_20250805 = 'anthropic.claude-opus-4-1-20250805-v1:0'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
setup(
1616
name="cost-katana",
17-
version="2.2.6",
17+
version="2.3.0",
1818
author="Cost Katana Team",
1919
author_email="support@costkatana.com",
2020
description="The simplest way to use AI in Python with automatic cost tracking and optimization",

0 commit comments

Comments
 (0)