Claude Haiku 3.5

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

Fast Claude model for responsive assistance, classification, and lightweight agents

Benchmark Pricing$0.80 / 1M in$4.00 / 1M out$0.08 cache read
Context: 200,000 tokens•Max Output: 8,192 tokens•Knowledge: 2024-07-31•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 Haiku 3.5 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
28

API CALL INVOCATION EXAMPLE

// Example: Calling Claude Haiku 3.5 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-haiku-20241022",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

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

PRICING BY PROVIDER

1 providers
OpenCodeclaude-3-5-haiku
$0.80 / $4.00$0.08 cache

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

Prompt Caching Active

This model supports prompt caching at $0.08 / 1M tokens, saving up to 90% on repetitive MCP tool definitions and system instructions.

MODEL RESOURCES