⚠️

Model No Longer Available

This model has been delisted from the API. This page is preserved for reference purposes only.

View Alternatives
A

claude-3-5-haiku-20241022

200k ContextTextPopular

Anthropic's claude-3-5-haiku-20241022 with budget-friendly pricing. thoughtful AI with strong ethics.

Capability Radar

Compare with Claude 3

About claude-3-5-haiku-20241022

"Exceptional reasoning and safety"

claude-3-5-haiku-20241022 is Anthropic's budget-friendly model featuring focused context window (200K). Exceptional reasoning and safety, this model delivers best-in-class for complex analysis.

Key Strengths

  • Exceptional reasoning and safety
  • Best price-to-performance ratio
  • OpenAI SDK compatible
  • Production-ready reliability

🎯 Best Use Cases

  • Content generation and copywriting
  • Question answering systems
  • Conversational AI applications
  • Full codebase analysis and refactoring
  • Multi-document research and synthesis
  • Long-form content generation

Interactive Playground

Parameters Setup

0.7

Controls randomness: Lowering results in less random completions.

Return data chunks as they arrive

request.js
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.okrouter.com/v1",
  apiKey: process.env.OKROUTER_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "claude-3-5-haiku-20241022",
  messages: [{ role: "user", content: "Hello world!" }],
  temperature: 0.7,
  stream: true,
});