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 is Anthropic's most balanced and capable model, setting new standards for AI performance across coding, analysis, and creative tasks. Released in June 2024, it outperforms Claude 3 Opus on most benchmarks while operating at twice the speed and one-fifth the costβ€”a remarkable achievement in AI efficiency. Claude 3.5 Sonnet excels particularly at software development, achieving 92% on HumanEval coding benchmarks and demonstrating exceptional ability to understand, write, and debug code across multiple languages. The model features a 200K context window, enabling analysis of entire codebases, lengthy documents, and complex research materials. It supports vision capabilities for image and document understanding, making it ideal for multimodal applications. Claude 3.5 Sonnet is known for its nuanced, thoughtful responses and strong performance on tasks requiring careful reasoning and attention to detail. For enterprises and developers seeking a single model that handles diverse tasks exceptionally well, Claude 3.5 Sonnet represents the sweet spot of capability, speed, and cost-effectiveness in Anthropic's lineup.

πŸ†
Price Ranking
#1 lowest price among 950 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
Meta Llama 3.2 3B Instruct
Input: Free
Output: Free
Context: 80k
Alibaba Qwen Qwen2.5-VL 7B Instruct
Input: Free
Output: Free
Context: 33k
ByteDance Seedream 4.5
Input: Free
Output: Free
Context: 4k

πŸš€ 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)