# Anthropic: Claude 3 Haiku — Use via Hanzo AI API

> Claude 3 Haiku is Anthropic&#x27;s fastest and most compact model for
near-instant responsiveness. Quick and accurate targeted performance.

See ... Access via Hanzo&#x27;s OpenAI-compatible API. Context: 200K. Get started free.

[Models](https://hanzo.ai/models)/[Anthropic](https://hanzo.ai/models/anthropic)/claude-3-haiku

# Anthropic: Claude 3 Haiku

[Anthropic](https://hanzo.ai/models/anthropic)

Claude 3 Haiku is Anthropic&#x27;s fastest and most compact model for
near-instant responsiveness. Quick and accurate targeted performance.

See the launch announcement and benchmark results here

#multimodal

text

[Get API Key](https://hanzo.ai/signup)[View Docs](https://docs.hanzo.ai)[Try in Chat](https://hanzo.ai/chat)

## Specifications

Context Window

200K

Modalities

text

Input

$0.300 / M tokens

Output

$1.50 / M tokens

Status

available

Category

third-party

Model ID

anthropic/claude-3-haiku

## Quick Start

TypeScript

```
import OpenAI from &#x27;openai&#x27; const client = new OpenAI({ apiKey: process.env.HANZO_API_KEY, baseURL: &#x27;https://api.hanzo.ai/v1&#x27; }) const response = await client.chat.completions.create({ model: &#x27;anthropic/claude-3-haiku&#x27;, messages: [{ role: &#x27;user&#x27;, content: &#x27;Hello!&#x27; }] }) console.log(response.choices[0].message.content)
```

Python

```
from openai import OpenAI client = OpenAI( api_key=os.environ["HANZO_API_KEY"], base_url="https://api.hanzo.ai/v1" ) response = client.chat.completions.create( model="anthropic/claude-3-haiku", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content)
```

cURL

```
curl https://api.hanzo.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $HANZO_API_KEY" \ -d &#x27;{ "model": "anthropic/claude-3-haiku", "messages": [{"role": "user", "content": "Hello!"}] }&#x27;
```

Go

```
package main import ( "context" "fmt" "os" "github.com/sashabaranov/go-openai" ) func main() { cfg := openai.DefaultConfig(os.Getenv("HANZO_API_KEY")) cfg.BaseURL = "https://api.hanzo.ai/v1" client := openai.NewClientWithConfig(cfg) resp, _ := client.CreateChatCompletion(context.Background(), openai.ChatCompletionRequest{ Model: "anthropic/claude-3-haiku", Messages: []openai.ChatCompletionMessage{ {Role: openai.ChatMessageRoleUser, Content: "Hello!"}, }, }, ) fmt.Println(resp.Choices[0].Message.Content) }
```

## More from Anthropic

[Anthropic: Claude Fable 51MClaude Fable 5 is a Mythos-class model from Anthropic, built for autonomous knowledge work and coding. It supports text, image, and file inputs with text output, with reasoning support and...](https://hanzo.ai/models/anthropic/claude-fable-5)[Anthropic: Claude Fable 5 (batch)1MClaude Fable 5 is a Mythos-class model from Anthropic, built for autonomous knowledge work and coding. It supports text, image, and file inputs with text output, with reasoning support and...](https://hanzo.ai/models/anthropic/claude-fable-5:batch)[Anthropic: Claude Haiku 4.5200KClaude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance...](https://hanzo.ai/models/anthropic/claude-haiku-4.5)[Anthropic: Claude Haiku 4.5 (batch)200KClaude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance...](https://hanzo.ai/models/anthropic/claude-haiku-4.5:batch)[Anthropic: Claude Opus 4200KClaude Opus 4 is benchmarked as the world’s best coding model, at time of release, bringing sustained performance on complex, long-running tasks and agent workflows. It sets new benchmarks in...](https://hanzo.ai/models/anthropic/claude-opus-4)[Anthropic: Claude Opus 4.1200KClaude Opus 4.1 is an updated version of Anthropic’s flagship model, offering improved performance in coding, reasoning, and agentic tasks. It achieves 74.5% on SWE-bench Verified and shows notable gains...](https://hanzo.ai/models/anthropic/claude-opus-4.1)

[View all Anthropic models →](https://hanzo.ai/models/anthropic)

## Use Anthropic: Claude 3 Haiku via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.

[Get Free API Key](https://hanzo.ai/signup)[Browse All Models](https://hanzo.ai/models)
