Zack Saadioui
8/26/2024
| Feature | Claude 3.0 | Claude 3.5 Sonnet | 
|---|---|---|
| Problem-Solving Ability | 38% | 64% | 
| Speed | Faster | Twice as fast | 
| Context Window | 100k tokens | 200k tokens | 
| Use Cases | Limited | Wide-ranging | 
1
2
3
4
5
6
7
8
9
python
import anthropic
client = anthropic.Anthropic(api_key='your_api_key_here')
response = client.messages.create(
    model="claude-3-5-sonnet-20240620",
    messages=[{"role": "user", "content": "Hello, tell me about Claude!"}],
    max_tokens=150
)
print(response)Copyright © Arsturn 2025