---
title: Anthropic Claude Haiku Latest | Text Generation | ModelsLab
description: Build with Anthropic Claude Haiku Latest API by ~anthropic. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/~anthropic/anthropic-claude-haiku-latest/api.md
canonical: https://modelslab.com/models/~anthropic/anthropic-claude-haiku-latest/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-28T09:36:05.225310Z
---

Anthropic Claude Haiku Latest
---

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

anthropic-claude-haiku-latest ~anthropic Closed Source Model $3.000000 / call

Anthropic Claude Haiku Latest
---

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 Latest

~anthropic anthropic-claude-haiku-latest

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)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-small-3.1-24b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Small 3.1 24B

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-small-3.1-24b-instruct)

[G4](https://modelslab.com/models/together_ai/zai-org-GLM-4.5-Air-FP8)[Together AI](https://modelslab.com/models/together_ai)

 [Glm 4.5 Air Fp8

Closed Source Model](https://modelslab.com/models/together_ai/zai-org-GLM-4.5-Air-FP8)

[OG](https://modelslab.com/models/open_router/openai-gpt-3.5-turbo-16k)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-3.5 Turbo 16k

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-3.5-turbo-16k)

[Q1](https://modelslab.com/models/together_ai/Qwen-Qwen3-1.7B)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 1.7B

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-1.7B)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3.6-flash)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3.6 Flash

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3.6-flash)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3.5-35b-a3b)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3.5-35B-A3B

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3.5-35b-a3b)

[AO](https://modelslab.com/models/open_router/allenai-olmo-3.1-32b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [AllenAI: Olmo 3.1 32B Instruct

Closed Source Model](https://modelslab.com/models/open_router/allenai-olmo-3.1-32b-instruct)

[MW](https://modelslab.com/models/open_router/mancer-weaver)[Open Router](https://modelslab.com/models/open_router)

 [Mancer: Weaver (alpha)

Closed Source Model](https://modelslab.com/models/open_router/mancer-weaver)

[Q7](https://modelslab.com/models/qwen/Qwen-Qwen2.5-72B-Instruct-Turbo)[ModelsLab](https://modelslab.com/models/qwen)

 [Qwen2.5 72B Instruct Turbo

Closed Source Model](https://modelslab.com/models/qwen/Qwen-Qwen2.5-72B-Instruct-Turbo)

[AA](https://modelslab.com/models/open_router/arcee-ai-spotlight)[Open Router](https://modelslab.com/models/open_router)

 [Arcee AI: Spotlight

Closed Source Model](https://modelslab.com/models/open_router/arcee-ai-spotlight)

[L3](https://modelslab.com/models/together_ai/meta-llama-Meta-Llama-3.1-70B)[Together AI](https://modelslab.com/models/together_ai)

 [Llama 3.1 70B

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Meta-Llama-3.1-70B)

[M(](https://modelslab.com/models/together_ai/mistralai-Mistral-7B-Instruct-v0.1)[Together AI](https://modelslab.com/models/together_ai)

 [Mistral (7B) Instruct v0.1

Closed Source Model](https://modelslab.com/models/together_ai/mistralai-Mistral-7B-Instruct-v0.1)

[DD](https://modelslab.com/models/open_router/deepseek-deepseek-chat-v3-0324)[Open Router](https://modelslab.com/models/open_router)

 [DeepSeek: DeepSeek V3 0324

Closed Source Model](https://modelslab.com/models/open_router/deepseek-deepseek-chat-v3-0324)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-medium-3.1)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Medium 3.1

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-medium-3.1)

[ML](https://modelslab.com/models/together_ai/meta-llama-Meta-Llama-3-8B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Meta Llama 3 8B Instruct

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Meta-Llama-3-8B-Instruct)

[Q7](https://modelslab.com/models/open_router/qwen-qwen-2.5-72b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [Qwen2.5 72B Instruct

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen-2.5-72b-instruct)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-coder-next)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 Coder Next

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-coder-next)

[QV](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-VL-72B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5-VL (72B) Instruct

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-VL-72B-Instruct)

About Anthropic Claude Haiku Latest
---

Anthropic Claude Haiku Latest is a text generation AI model by ~Anthropic available on ModelsLab. Access Anthropic Claude Haiku Latest through our API with pay-per-use pricing and no minimum commitments.

### Technical Specifications

Model IDanthropic-claude-haiku-latestCategoryLLM ModelsTaskText GenerationPrice$3.000000 per million tokensAddedApril 27, 2026

### 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 Latest 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-latest",
        "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>
```

View the [full API documentation](https://modelslab.com/models/~anthropic/anthropic-claude-haiku-latest/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Anthropic Claude Haiku Latest 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

[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 Latest FAQ
---

### What is Anthropic Claude Haiku Latest?

Anthropic Claude Haiku Latest is a text generation AI model by ~Anthropic available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

### How do I use the Anthropic Claude Haiku Latest API?

You can integrate Anthropic Claude Haiku Latest 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-latest" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

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

Anthropic Claude Haiku Latest 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 Latest model ID?

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

### Does Anthropic Claude Haiku Latest have a free tier?

Yes, ModelsLab offers a free tier that lets you try Anthropic Claude Haiku Latest 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-04-28*