Haimaker.ai Logo
Anthropic logo

Claude 3 5 Sonnet 20240620

anthropic/claude-3-5-sonnet-20240620
Chat
Anthropic|
Function CallingVision
Context Window
200K
tokens
Max Output
8K
tokens
Input Price
$3.00
/1M tokens
Output Price
$15.00
/1M tokens

Overview

Anthropic's Claude 3.5 Sonnet, a strong general-purpose model with excellent coding and analysis capabilities.

Features & Capabilities

Modechat
Context Window200K tokens
Max Output8K tokens
Function CallingSupported
VisionSupported
Reasoning-
Web Search-
Url Context-

API Usage

from openai import OpenAI

client = OpenAI(
    base_url="https://api.haimaker.ai/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="anthropic/claude-3-5-sonnet-20240620",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

print(response.choices[0].message.content)

Use Claude 3 5 Sonnet 20240620 with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Anthropic