---
title: Anthropic: Claude Haiku 4.5 | Text Generation | ModelsLab
description: Fast, cost-efficient large language model with a 200,000-token context window, 64,000-token output capacity, multimodal text-image input, and.
url: https://modelslab.com/models/anthropic/anthropic-claude-haiku-4.5.md
canonical: https://modelslab.com/models/anthropic/anthropic-claude-haiku-4.5.md
type: product
component: Playground/LLM/Index
generated_at: 2026-06-03T20:23:56.152347Z
---

Anthropic: Claude Haiku 4.5
---

 [LLMs.txt](https://modelslab.com/models/open_router/anthropic-claude-haiku-4.5/llms.txt) [.md](https://modelslab.com/models/anthropic/anthropic-claude-haiku-4.5.md)

Anthropic: Claude Haiku 4.5
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Anthropic: Claude Haiku 4.5

anthropic anthropic-claude-haiku-4.5

Copy model ID

PricingInput $1.00 / 1M tokens

Output $5.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[#### alibaba\_cloud/Qwen: Qwen3.5-27B

qwen-qwen3.5-27b

From $1.35/M tokens](https://modelslab.com/models/alibaba_cloud/qwen-qwen3.5-27b)

[#### open\_router/Qwen: Qwen3 VL 235B A22B Instruct

qwen-qwen3-vl-235b-a22b-instruct

From $0.54/M tokens](https://modelslab.com/models/open_router/qwen-qwen3-vl-235b-a22b-instruct)

[#### open\_router/Qwen: Qwen3 Next 80B A3B Instruct

qwen-qwen3-next-80b-a3b-instruct

From $0.59/M tokens](https://modelslab.com/models/open_router/qwen-qwen3-next-80b-a3b-instruct)

[#### open\_router/Google: Gemini 3 Flash Preview

google-gemini-3-flash-preview

From $1.75/M tokens](https://modelslab.com/models/open_router/google-gemini-3-flash-preview)

[#### open\_router/Relace: Relace Search

relace-relace-search

From $2.00/M tokens](https://modelslab.com/models/open_router/relace-relace-search)

[#### open\_router/Google: Gemini 3.1 Pro Preview

google-gemini-3.1-pro-preview

From $7.00/M tokens](https://modelslab.com/models/open_router/google-gemini-3.1-pro-preview)

[#### open\_router/Sao10k: Llama 3 Euryale 70B v2.1

sao10k-l3-euryale-70b

From $1.48/M tokens](https://modelslab.com/models/open_router/sao10k-l3-euryale-70b)

[#### open\_router/Anthropic: Claude Opus 4.6

anthropic-claude-opus-4.6

From $15.00/M tokens](https://modelslab.com/models/open_router/anthropic-claude-opus-4.6)

[#### open\_router/NVIDIA: Nemotron 3 Super

nvidia-nemotron-3-super-120b-a12b

From $0.27/M tokens](https://modelslab.com/models/open_router/nvidia-nemotron-3-super-120b-a12b)

[#### open\_router/Writer: Palmyra X5

writer-palmyra-x5

From $3.30/M tokens](https://modelslab.com/models/open_router/writer-palmyra-x5)

[#### openai/gpt-oss-20b

gpt-oss-20b

From $0.08/M tokens](https://modelslab.com/models/openai/gpt-oss-20b)

[#### open\_router/Meta: Llama Guard 4 12B

meta-llama-llama-guard-4-12b

From $0.18/M tokens](https://modelslab.com/models/open_router/meta-llama-llama-guard-4-12b)

[#### open\_router/Meta: Llama 3.2 11B Vision Instruct

meta-llama-llama-3.2-11b-vision-instruct

From $0.24/M tokens](https://modelslab.com/models/open_router/meta-llama-llama-3.2-11b-vision-instruct)

[#### open\_router/Nous: Hermes 4 405B

nousresearch-hermes-4-405b

From $2.00/M tokens](https://modelslab.com/models/open_router/nousresearch-hermes-4-405b)

[#### open\_router/IBM: Granite 4.0 Micro

ibm-granite-granite-4.0-h-micro

From $0.06/M tokens](https://modelslab.com/models/open_router/ibm-granite-granite-4.0-h-micro)

[#### open\_router/OpenAI: GPT-4o

openai-gpt-4o

From $6.25/M tokens](https://modelslab.com/models/open_router/openai-gpt-4o)

[#### open\_router/Nous: Hermes 4 70B

nousresearch-hermes-4-70b

From $0.27/M tokens](https://modelslab.com/models/open_router/nousresearch-hermes-4-70b)

[#### together\_ai/Qwen3.5 9B FP8

Qwen-Qwen3.5-9B

From $0.13/M tokens](https://modelslab.com/models/together_ai/Qwen-Qwen3.5-9B)

Open Source Alternatives
---

Explore open-source models that offer similar capabilities with full transparency and flexibility

 [View all open source models](https://modelslab.com/models?feature=llm&provider=open-source-models)

[MU](https://modelslab.com/models/modelslab/uncensored-chat)[ModelsLab](https://modelslab.com/models/modelslab)

 [Modelslab: Uncensored Chat

Open Source Model](https://modelslab.com/models/modelslab/uncensored-chat)

About Anthropic: Claude Haiku 4.5
---

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...

### Technical Specifications

Model IDanthropic-claude-haiku-4.5

CategoryLLM Models

TaskText Generation

Price$3 per million tokens

AddedNovember 3, 2025

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Anthropic: Claude Haiku 4.5 into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "anthropic-claude-haiku-4.5",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

Anthropic: Claude Haiku 4.5 API costs $3.000000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about Anthropic: Claude Haiku 4.5](https://modelslab.com/anthropic-claude-haiku-45) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Anthropic](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Anthropic: Claude Haiku 4.5 FAQ
---

### What is Anthropic: Claude Haiku 4.5?

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...

### How do I use the Anthropic: Claude Haiku 4.5 API?

You can integrate Anthropic: Claude Haiku 4.5 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "anthropic-claude-haiku-4.5" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

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

Anthropic: Claude Haiku 4.5 costs $3.000000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Anthropic: Claude Haiku 4.5 model ID?

The model ID for Anthropic: Claude Haiku 4.5 is "anthropic-claude-haiku-4.5". Use this ID in your API requests to specify this model.

### Does Anthropic: Claude Haiku 4.5 have a free tier?

Yes, ModelsLab offers a free tier that lets you try Anthropic: Claude Haiku 4.5 and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-06-04*