---
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.md
canonical: https://modelslab.com/models/anthropic/anthropic-claude-haiku-latest
type: product
component: Playground/LLM/Index
generated_at: 2026-07-19T10:16:10.023001Z
---

Anthropic Claude Haiku Latest
---

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

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)

[#### minimax/MiniMax: MiniMax M2.5

minimax-minimax-m2.5

From $0.53/M tokens](https://modelslab.com/models/minimax/minimax-minimax-m2.5)

[#### cohere/Cohere: North Mini Code (free)

cohere-north-mini-code-free

Free](https://modelslab.com/models/cohere/cohere-north-mini-code-free)

[#### arcee-ai/Arcee AI Spotlight

arcee\_ai-arcee-spotlight

From $0.22/M tokens](https://modelslab.com/models/arcee-ai/arcee_ai-arcee-spotlight)

[#### anthropic/Anthropic: Claude Opus 4

anthropic-claude-opus-4

From $45.00/M tokens](https://modelslab.com/models/anthropic/anthropic-claude-opus-4)

[#### qwen/Qwen: Qwen3 Max Thinking

qwen-qwen3-max-thinking

From $2.34/M tokens](https://modelslab.com/models/qwen/qwen-qwen3-max-thinking)

[#### mistralai/Mistral: Devstral 2 2512

mistralai-devstral-2512

From $1.20/M tokens](https://modelslab.com/models/mistralai/mistralai-devstral-2512)

[#### google/Google: Gemma 3 27B

google-gemma-3-27b-it

From $0.20/M tokens](https://modelslab.com/models/google/google-gemma-3-27b-it)

[#### anthropic/Anthropic: Claude Sonnet 4

anthropic-claude-sonnet-4

From $9.00/M tokens](https://modelslab.com/models/anthropic/anthropic-claude-sonnet-4)

[#### google/Google: Gemma 3n 4B

google-gemma-3n-e4b-it

From $0.09/M tokens](https://modelslab.com/models/google/google-gemma-3n-e4b-it)

[#### nex-agi/Nex AGI: Nex-N2-Mini

nex-agi-nex-n2-mini

From $0.06/M tokens](https://modelslab.com/models/nex-agi/nex-agi-nex-n2-mini)

[#### stepfun/StepFun: Step 3.7 Flash

stepfun-step-3.7-flash

From $0.68/M tokens](https://modelslab.com/models/stepfun/stepfun-step-3.7-flash)

[#### qwen/Qwen: Qwen3 Coder Flash

qwen-qwen3-coder-flash

From $0.58/M tokens](https://modelslab.com/models/qwen/qwen-qwen3-coder-flash)

[#### qwen/Qwen: Qwen Plus 0728

qwen-qwen-plus-2025-07-28

From $0.52/M tokens](https://modelslab.com/models/qwen/qwen-qwen-plus-2025-07-28)

[#### thinkingmachines/Thinking Machines: Inkling

thinkingmachines-inkling

From $2.52/M tokens](https://modelslab.com/models/thinkingmachines/thinkingmachines-inkling)

[#### openai/OpenAI GPT-OSS 20B

openai-gpt-oss-20b

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

[#### google/Google: Gemma 4 31B

google-gemma-4-31b-it

From $0.39/M tokens](https://modelslab.com/models/google/google-gemma-4-31b-it)

[#### z-ai/Z.ai: GLM 4.7

z-ai-glm-4.7

From $1.07/M tokens](https://modelslab.com/models/z-ai/z-ai-glm-4.7)

[#### moonshotai/MoonshotAI: Kimi K2.7 Code

moonshotai-kimi-k2.7-code

From $2.33/M tokens](https://modelslab.com/models/moonshotai/moonshotai-kimi-k2.7-code)

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

Popular](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 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-latest

CategoryLLM Models

TaskText Generation

Price$3 per million tokens

AddedApril 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>
```

### 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-07-19*