Models/Claude Haiku 4.5
Model Code
anthropic.claude-haiku-4.5
Try now

Model overview

Text generationLow costStreaming

Claude Haiku 4.5 is the fast, lower-cost Claude 4.5 model for responsive chat, coding assistance, classification, content workflows, and high-volume text workloads.

Company: AnthropicProvider: AWS Bedrock

Model capabilities

Input modalityT
Output modalityT
Model experience
Function calling
Structured output
Web search×
Context cache
Batch inference
Fine-tuning×

Model pricing

Input$1/1M tokens
Batch input$0.50/1M tokens
Cache hit input$0.10/1M tokens
Output$5/1M tokens
Batch output$2.50/1M tokens

Rate limits and context

Context length200K
Maximum output length64K

API reference

EndpointPOST /v1/chat/completions
SDKOpenAI-compatible

API code examples

Get API Key
from openai import OpenAI

client = OpenAI(
    api_key="$WLROUTER_API_KEY",
    base_url="https://api.wlrouter.com/v1"
)

response = client.chat.completions.create(
    model="anthropic.claude-haiku-4.5",
    messages=[
        {"role": "user", "content": "Reply with one short sentence."}
    ],
    max_tokens=32
)

print(response.choices[0].message.content)