# Claude Haiku 4.5

Canonical page: https://agentsky.dev/models/anthropic/claude-haiku-4-5
JSON record: https://gateway.agentsky.dev/v1/models/anthropic/claude-haiku-4-5

Claude Haiku 4.5 is a text and image-input model by Anthropic, available through the AgentSky API as anthropic/claude-haiku-4-5 at $0.7 per million input tokens and $3.50 per million output tokens, with a 200K context window.

The fastest and cheapest model in the family, for high-volume work where latency matters more than depth.

## Facts

- **Model id:** `anthropic/claude-haiku-4-5`
- **Maker:** Anthropic
- **Input modalities:** Text, Image
- **Context:** 200K
- **Max output tokens:** 64,000
- **Released:** Oct 15, 2025
- **Aliases:** `anthropic/claude-haiku-4-5`, `claude-haiku-4-5`

## Pricing

USD per million tokens on the default plan. Signed-in pages show your own plan's price; every response carries the cost of that call in `usage.cost`.

| Meter | Per 1M tokens |
|---|---|
| Input | $0.7 |
| Output | $3.50 |
| Cache read | $0.07 |
| Cache write | $0.875 |

## Use it

Anthropic wire base URL: `https://gateway.agentsky.dev`. OpenAI wire base URL: `https://gateway.agentsky.dev/v1`. Authenticate with an AgentSky API key (`ast_…`) and pass the model id.

### Anthropic SDK

```js
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  baseURL: "https://gateway.agentsky.dev",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const message = await client.messages.create({
  model: "anthropic/claude-haiku-4-5",
  max_tokens: 256,
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(message.usage.cost); // USD, in the response
```

### Claude Code

```bash
export ANTHROPIC_BASE_URL="https://gateway.agentsky.dev"
export ANTHROPIC_AUTH_TOKEN="$AGENTSKY_API_KEY"
export ANTHROPIC_MODEL="anthropic/claude-haiku-4-5"

claude
```

## Run it with an agent

- [Hermes + Claude Haiku 4.5](https://agentsky.dev/agents/hermes/with/claude-haiku-4-5)
- [Claude Code + Claude Haiku 4.5](https://agentsky.dev/agents/claude-code/with/claude-haiku-4-5)
- [Codex + Claude Haiku 4.5](https://agentsky.dev/agents/codex/with/claude-haiku-4-5)
- [OpenClaw + Claude Haiku 4.5](https://agentsky.dev/agents/openclaw/with/claude-haiku-4-5)
- [pi + Claude Haiku 4.5](https://agentsky.dev/agents/pi/with/claude-haiku-4-5)
- [DeepSeek Harness + Claude Haiku 4.5](https://agentsky.dev/agents/dsh/with/claude-haiku-4-5)
- [Kimi Code + Claude Haiku 4.5](https://agentsky.dev/agents/kimi-code/with/claude-haiku-4-5)
- [OpenCode + Claude Haiku 4.5](https://agentsky.dev/agents/opencode/with/claude-haiku-4-5)
- [DeepAgents + Claude Haiku 4.5](https://agentsky.dev/agents/deepagents/with/claude-haiku-4-5)
- [goose + Claude Haiku 4.5](https://agentsky.dev/agents/goose/with/claude-haiku-4-5)
- [Kilo + Claude Haiku 4.5](https://agentsky.dev/agents/kilo/with/claude-haiku-4-5)
- [MiniMax Code + Claude Haiku 4.5](https://agentsky.dev/agents/minimax-code/with/claude-haiku-4-5)
- [OpenHands + Claude Haiku 4.5](https://agentsky.dev/agents/openhands/with/claude-haiku-4-5)

## Questions

### What is Claude Haiku 4.5?

Claude Haiku 4.5 is a model from Anthropic. The fastest and cheapest model in the family, for high-volume work where latency matters more than depth.

### How much does Claude Haiku 4.5 cost?

$0.7 / $3.50 per million tokens at the prices shown, for input and output respectively. The exact price of every call comes back in the response as usage.cost, so you never have to compute it.

### What is the context length of Claude Haiku 4.5?

200K tokens, and it writes up to 64K tokens in one reply. These are the limits listed for this model in the current AgentSky catalog.

### Which clients can call Claude Haiku 4.5?

Anything that speaks the Anthropic Messages API, which covers the Anthropic SDK and Claude Code. Point the client's base URL at the gateway, use an AgentSky key, and pass anthropic/claude-haiku-4-5 as the model.

### How do I name Claude Haiku 4.5 in a request?

The gateway accepts anthropic/claude-haiku-4-5, claude-haiku-4-5. Any of them resolves to the same model, so an existing integration usually needs no change to its model string.

### Can Claude Haiku 4.5 read images?

Yes. Its listed input types are text, image. Include the image with your request; image input does not imply image generation.

### What output can Claude Haiku 4.5 produce?

The listed output types are text. This model returns text. Producing image, video or audio files requires a suitable tool or another model; it is not included in text generation.

### How should I plan a long prompt for Claude Haiku 4.5?

Plan your instructions, conversation history and source material around the 200K-token context limit, leaving room for the response. The listed response ceiling is 64K tokens. A larger window lets you supply more relevant material; it does not make unrelated content useful.

### What would 10,000 input tokens and 2,000 output tokens cost with Claude Haiku 4.5?

At the displayed input and output rates, the model-token subtotal is $0.014. This example assumes uncached input and excludes additional pricing categories, tool calls and agent runtime. Actual usage determines the final charge.

### How is cached input priced for Claude Haiku 4.5?

The catalog lists $0.07 per million cache-read tokens. Cache writes are listed at $0.875 per million tokens. Repeating a prompt does not by itself guarantee a cache hit; only usage reported as cached receives that rate.

### Does the Claude Haiku 4.5 token price cover an entire agent task?

No. The model price covers the model usage described above. A task can also incur tool and runtime charges, and several model calls may be needed to complete it. Compare total task usage when evaluating cost.

### How do I use Claude Haiku 4.5 on AgentSky?

The composer above preselects Claude Haiku 4.5 for a compatible agent. Enter a concrete task, select any tools or connectors it needs, and send. Sign in if prompted; paid execution requires available credits.
