Claude Sonnet 3.5 v2

AnthropicMCP Tool Call
anthropic/claude-3-5-sonnet-20241022Closed API

Balanced Claude model for coding, analysis, agent workflows, and cost control

Benchmark Pricing$0.00 / 1M in$0.00 / 1M out
Context: 200,000 tokens•Max Output: 8,192 tokens•Knowledge: 2024-04-30•Released: 2024-10-22

TECHNICAL SPECIFICATIONS

Context Window200,000200K tokens
Max Output8,1928.2K tokens
LicenseProprietaryCloud API only
Input Modalities
TextVisionPDF
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Claude Sonnet 3.5 v2 natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 200,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

STANDARDIZED BENCHMARKS & EVALS

Aider Polyglotpercent correct
51.6

API CALL INVOCATION EXAMPLE

// Example: Calling Claude Sonnet 3.5 v2 via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.ANTHROPIC_API_KEY,
});

const response = await client.chat.completions.create({
  model: "anthropic/claude-3-5-sonnet-20241022",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

0 providers

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

MODEL RESOURCES