Claude 3.5 Sonnet
ActiveMid-2024 release setting a new standard for coding and reasoning at mid-tier price.
Overview
Claude 3.5 Sonnet was Anthropic's strongest mid-tier model before the Claude 4 series, with strong coding and extended artifacts support. Widely used in production.
History
Claude 3.5 Sonnet was released on 2024-06-20.
Training & availability
Anthropic has not released the underlying model weights — access is via their hosted API only.
Capabilities
-
Context window: 200K tokens.
-
Max output: 8K tokens.
-
Input modalities: text, image.
Recommended for: vision, agentic, long-context.
Pricing
- Input: $3.0000 per 1M tokens
- Output: $15.0000 per 1M tokens
Use the cost calculator above to estimate monthly spend for your workload.
Quick start
Minimal example using the anthropic API. Copy, paste, replace the key.
from anthropic import Anthropic
client = Anthropic(api_key="sk-ant-...")
resp = client.messages.create(
model="claude-3-5-sonnet",
max_tokens=1024,
messages=[{"role": "user", "content": "Explain quantum computing in one sentence."}],
)
print(resp.content[0].text)Cost calculator
Estimate your monthly bill. Presets are typical workload sizes.
Integrations & tooling support
- Tool calling
- Supported
- Structured outputs
- Supported
Price vs quality
Priced like a frontier model. Quality tier pending more benchmark coverage.
- Quality percentile
- —
- Effective price
- $12/1M
- Pricing breakdown
- $3/1M in
$15/1M out
Community ratings
Rate Claude 3.5 Sonnet
Sign in to rate and review.
Comments
Sign in to leave a comment.