Claude 3.5 Sonnet (2024-06-20)

Anthropic chatvision Long Free

API ID: anthropic/claude-3.5-sonnet-20240620

Input Price
Free
/1M tokens
Output Price
Free
/1M tokens

About Claude 3.5 Sonnet (2024-06-20)

Claude 3.5 Sonnet delivers better-than-Opus capabilities, faster-than-Sonnet speeds, at the same Sonnet prices. Sonnet is particularly good at: - Coding: Autonomously writes, edits, and runs code with reasoning and troubleshooting - Data science: Augments human data science expertise; navigates unstructured data while using multiple tools for insights - Visual processing: excelling at interpreting charts, graphs, and images, accurately transcribing text to derive insights beyond just the text alone - Agentic tasks: exceptional tool use, making it great at agentic tasks (i.e. complex, multi-step problem solving tasks that require engaging with other systems) For the latest version (2024-10-23), check out [Claude 3.5 Sonnet](/anthropic/claude-3.5-sonnet). #multimodal

๐Ÿ†
Price Ranking
#6 lowest price among 1240 Chat models โ€” Top 20% cheapest!

Model Specifications

Context Length
200k
Max Output
โ€”
Release Date
2024-06-20
Capabilities
chat vision
Input Modalities
textimagefile
Output Modalities
text

Best For

  • Image analysis, document understanding, visual Q&A
  • Conversations, content writing, general assistance
๐ŸŽ‰

This model is completely free!

No token costs - use it without worrying about API bills.

Estimate Token Usage

Anthropic Model Lineup

Compare all models from Anthropic to find the best fit

Model Input Output Context Capabilities
Claude 3.5 Sonnet (2024-06-20) Current Free Free 200k chat vision
Claude 3.5 Haiku (2024-10-22) Free Free 200k chat vision
Claude 3 Sonnet Free Free 200k chat vision
Claude 3 Sonnet Free Free 200k chat vision
Claude 3 Opus Free Free 200k chat vision
Claude 3 Opus Free Free 200k chat vision

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Google Gemma 3n 4B
Input: Free
Output: Free
Context: 33k
Alibaba Qwen Qwen2.5-VL 7B Instruct
Input: Free
Output: Free
Context: 33k
ByteDance Seedream 4.5
Input: Free
Output: Free
Context: 4k
Black Forest Labs FLUX.2 Max
Input: Free
Output: Free
Context: 47k

๐Ÿš€ Quick Start

Get started with Claude 3.5 Sonnet (2024-06-20) API

Anthropic Python SDK
import anthropic

client = anthropic.Anthropic()

message = client.messages.create(
    model="anthropic/claude-3.5-sonnet-20240620",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(message.content[0].text)