# Anthropic Claude Haiku 4.5 API

> Claude 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 across reasoning, coding, and computer-use tasks, Haiku 4.5 brings frontier-level capability to real-time and high-volume applications. It introduces extended thinking to the Haiku line; enabling controllable reasoning depth, summarized or interleaved thought output, and tool-assisted workflows with full support for coding, bash, web search, and computer-use tools. Scoring >73% on SWE-bench Verified, Haiku 4.5 ranks among the world’s best coding models while maintaining exceptional responsiveness for sub-agents, parallelized execution, and scaled deployment.

Source: https://www.sandbase.ai/models/anthropic/claude-haiku-4.5
API reference: https://www.sandbase.ai/models/anthropic/claude-haiku-4.5/docs

## Facts

- Provider: Anthropic
- Type: Language model
- Model ID: `anthropic/claude-haiku-4.5`
- Price: $1 per 1M input tokens, $5 per 1M output tokens
- Context window: 200K tokens, up to 64K output tokens
- Capabilities: chat, vision, reasoning, structured output, function calling
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Chat Completions API: `POST https://api.sandbase.ai/v1/chat/completions`
- Messages API: `POST https://api.sandbase.ai/v1/messages`

```bash
curl -X POST https://api.sandbase.ai/v1/chat/completions \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "anthropic/claude-haiku-4.5",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 2048
}'
```

## FAQ

### How do I call Anthropic Claude Haiku 4.5 through SandBase?

Create a SandBase API key, then send requests with the model ID "anthropic/claude-haiku-4.5" to Chat Completions API (/v1/chat/completions) or Messages API (/v1/messages) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### How much does Anthropic Claude Haiku 4.5 cost?

$1 per 1M input tokens and $5 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.

### What is the context window of Anthropic Claude Haiku 4.5?

200K tokens of context, with up to 64K output tokens per response.

### How does Anthropic Claude Haiku 4.5 score on benchmarks?

Anthropic Claude Haiku 4.5 scores 16.9 on the Artificial Analysis Intelligence Index (v4.3), ranking #65 of 83 models on SandBase; Coding Index 43.9, Agentic Index 8.0. Source: Artificial Analysis, measured as Claude 4.5 Haiku (Reasoning).

### Which features does Anthropic Claude Haiku 4.5 support?

Anthropic Claude Haiku 4.5 supports vision (image input), reasoning, function calling, structured output. See Specifications above for the full list.

### Do I need a separate Anthropic account?

No. One SandBase API key and balance gives you access to Anthropic Claude Haiku 4.5 and the other models in the catalog; you do not need to sign up with Anthropic separately.
