Back to Models
Anthropic: Claude 3.5 Sonnet (2024-06-20) AI Model Icon

Anthropic: Claude 3.5 Sonnet (2024-06-20)

anthropic/claude-3.5-sonnet-20240620

Description

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

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: Anthropic: Claude 3.5 Sonnet (2024-06-20) (anthropic/claude-3.5-sonnet-20240620)

curl https://api.ridvay.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "anthropic/claude-3.5-sonnet-20240620",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the Anthropic: Claude 3.5 Sonnet (2024-06-20) model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text
  • Images

API Pricing

  • Input: 3$ / 1M tokens
  • Output: 15$ / 1M tokens
  • Image: 0.005$ / image

Token Limits

  • Max Output: 8,192 tokens
  • Max Context: 200,000 tokens

Subscription Tiers

  • free
  • pro
  • ultimate