Back to Models

Claude 3 Haiku

by anthropic

Chat

Description

Claude 3 Haiku is the fastest and most compact model in the Claude 3 family, ideal for quick responses.

Providers

Pricing

Input$0.25 /1M tokens
Output$1.25 /1M tokens
Get Your API Key

Specifications

Context200K tokens
Parameters
Licenseproprietary
ReleasedMar 2024

Capabilities

VisionToolsJSON ModeStreaming

EU-Compliant API Access

Use Claude 3 Haiku with a simple API call. OpenAI-compatible endpoint, EU data residency guaranteed.

JavaScript
const response = await fetch("https://api.eurouter.ai/api/v1/chat/completions", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": `Bearer ${process.env.EUROUTER_API_KEY}`,
  },
  body: JSON.stringify({
    model: "claude-3-haiku",
    messages: [
      { role: "user", content: "Hello!" }
    ],
  }),
});

const data = await response.json();
console.log(data.choices[0].message.content);

More from anthropic

Explore more

Integrate AI without GDPR risk.

You need AI that won’t create compliance headaches. Your data stays in the EU, GDPR is enforced by default, and every request is routed for the best balance of cost, latency, and uptime, reducing risk while improving performance.

Get Your API Key
GDPR by default
EU data residency
Smart routing