Skip to content

Commit 48aa9e9

Browse files
jhazenaaiAssemblyAI
andauthored
chore: add support for claude 4 in lemur (#131)
Co-authored-by: AssemblyAI <[email protected]>
1 parent 44182bb commit 48aa9e9

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

assemblyai/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.41.5"
1+
__version__ = "0.42.0"

assemblyai/types.py

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2109,33 +2109,50 @@ class LemurModel(str, Enum):
21092109
LeMUR features different model modes that allow you to configure your request to suit your needs.
21102110
"""
21112111

2112+
claude_opus_4_20250514 = "anthropic/claude-opus-4-20250514"
2113+
"""
2114+
https://www.anthropic.com/news/claude-4 - read to understand the capabilities/limitations of opus 4
2115+
2116+
Input Token Limit: 200k
2117+
Output Token Limit: 64k
2118+
"""
2119+
2120+
claude_sonnet_4_20250514 = "anthropic/claude-sonnet-4-20250514"
2121+
"""
2122+
https://www.anthropic.com/news/claude-4 - read to understand the capabilities/limitations of sonnet 4
2123+
2124+
Input Token Limit: 200k
2125+
Output Token Limit: 64k
2126+
"""
2127+
21122128
claude3_7_sonnet_20250219 = "anthropic/claude-3-7-sonnet-20250219"
21132129
"""
2114-
Claude 3.7 Sonnet is the most intelligent model to date, providing the highest level of intelligence and capability with toggleable extended thinking.
2130+
https://www.anthropic.com/news/claude-3-7-sonnet - read to understand the capabilities/limitations of sonnet 3.7
21152131
"""
21162132

21172133
claude3_5_sonnet = "anthropic/claude-3-5-sonnet"
21182134
"""
2119-
Claude 3.5 Sonnet is the previous most intelligent model to date, providing high level of intelligence and capability.
2135+
https://www.anthropic.com/news/claude-3-5-sonnet - read to understand the capabilities/limitations of sonnet 3.7
21202136
"""
21212137

21222138
claude3_opus = "anthropic/claude-3-opus"
21232139
"""
2124-
Claude 3 Opus is good at handling complex analysis, longer tasks with many steps, and higher-order math and coding tasks.
2140+
Deprecated: EOL ~Jan 2026
21252141
"""
21262142

21272143
claude3_5_haiku_20241022 = "anthropic/claude-3-5-haiku-20241022"
21282144
"""
2129-
Claude 3.5 Haiku is the fastest model, providing intelligence at blazing speeds.
2145+
https://www.anthropic.com/claude/haiku - read to understand the capabilities/limitations of haiku 3.5
21302146
"""
21312147

21322148
claude3_haiku = "anthropic/claude-3-haiku"
21332149
"""
2134-
Claude 3 Haiku is the fastest and most compact model for near-instant responsiveness.
2150+
https://www.anthropic.com/news/claude-3-haiku - read to understand the capabilities/limitations of haiku 3
21352151
"""
21362152

21372153
claude3_sonnet = "anthropic/claude-3-sonnet"
21382154
"""
2155+
Deprecated: EOL ~July 2025
21392156
Claude 3 Sonnet is a legacy model with a balanced combination of performance and speed for efficient, high-throughput tasks.
21402157
"""
21412158

0 commit comments

Comments
 (0)