Back to all models

claude-3-7-sonnet-20250219

Anthropic · Claude 3.7

GA
Flagship
Latest in family

Key Metrics

Input Limit

200K tokens

Output Limit

64K tokens

Input Cost

$3.00/1M

Output Cost

$15.00/1M

Sample API Code

from anthropic import Anthropic

client = Anthropic(api_key="YOUR_API_KEY")

message = client.messages.create(
    model="claude-3-7-sonnet-20250219",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Explain the difference between transformers and RNNs in deep learning."}
    ]
)

print(message.content)

Required Libraries

anthropic
@anthropic-ai/sdk

Notes

Most intelligent model with hybrid reasoning capabilities. Top-tier results in reasoning, coding, multilingual tasks, long-context handling, honesty, and image processing.

Capabilities

Multimodal input
Long context
Extended thinking
Advanced reasoning
Code generation
Document understanding

Supported Data Types

Input Types

text
image

Output Types

text

Strengths & Weaknesses

Exceptional at

Complex reasoning
Multimodal
Code generation

Good at

Long context
Instruction following

Additional Information

Latest Update

Feb 19, 2024

Knowledge Cutoff

2024-10

ELO Score

TODO