Haimaker.ai Logo
Anthropic logo

Claude 3 Sonnet

anthropic/claude-3-sonnet
Chat
Anthropic|
Function CallingVision
Input Price
$3.00
/1M tokens
Output Price
$15.00
/1M tokens

Overview

Anthropic's Claude 3 Sonnet, balancing performance and speed for a wide range of tasks.

Features & Capabilities

Modechat
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-sonnet",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

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

Use Claude 3 Sonnet with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Anthropic