Back to all models

claude-3-opus-20240229

Anthropic · Claude 3

GA

Key Metrics

Input Limit

200K tokens

Output Limit

4.1K tokens

Input Cost

$15.00/1M

Output Cost

$75.00/1M

Sample API Code

from anthropic import Anthropic

client = Anthropic(api_key="YOUR_API_KEY")

message = client.messages.create(
    model="claude-3-opus-20240229",
    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

Powerful model for complex tasks. High fluency and deep understanding capabilities.

Capabilities

Multimodal input
Long context
Advanced reasoning
Code generation
Document understanding

Supported Data Types

Input Types

text
image

Output Types

text

Strengths & Weaknesses

Exceptional at

Complex reasoning
Multimodal

Good at

Long context
Instruction following

Additional Information

Latest Update

Feb 29, 2024

Knowledge Cutoff

2023-08

ELO Score

TODO