Models / Claude Haiku 4.5

Claude Haiku 4.5

Tier 1Proprietary

Anthropic Claude Haiku 4.5 — fast & cheap. Via yylx gateway.

anthropic/claude-haiku-4-5
Context Window
200K
Max Output
33K
Providers
2
Released
2026-01

Capabilities

ChatToolsFunction CallingStreaming

Pricing by Provider

Prices shown are the official rate published by the model provider, before any platform discounts. Your actual rate may be lower based on your account's discount tier.

ProviderPriceLatency p50Latency p95Status
yylx_claude_code$1.00 /M in · $5.00 /M out800ms3000ms
yylx_claude$1.00 /M in · $5.00 /M out800ms3000ms

Quick Start

Python
import magicrouter

mr = magicrouter.Client(
    provider_keys={"yylx_claude_code": "your-api-key"}
)

response = mr.chat(
    "anthropic/claude-haiku-4-5",
    "Your prompt here"
)
print(response.choices[0].message.content)
TypeScript
import { MagicRouter } from "magicrouter";

const mr = new MagicRouter({
  providerKeys: { yylx_claude_code: "your-api-key" }
});

const response = await mr.chat({
  model: "anthropic/claude-haiku-4-5",
  messages: [{ role: "user", content: "Your prompt here" }]
});
console.log(response.choices[0].message.content);
cURL
curl https://app.yylx.io/v1/chat/completions \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-haiku-4-5",
    "messages": [{"role": "user", "content": "Your prompt here"}]
  }'

Use this model

Sign up for free and test Claude Haiku 4.5 in the playground

Get Started