Models / Claude Haiku 4 5 20251001
Claude Haiku 4 5 20251001
Qwen Tier 1ProprietaryAnthropic Claude Haiku 4.5 (2025-10-01 snapshot). Via yylx gateway.
anthropic/claude-haiku-4-5-20251001Context Window
200K
Max Output
33K
Providers
1
Released
2026-01
Capabilities
ChatToolsFunction CallingStreaming
Pricing by Provider
| Provider | Price | Latency p50 | Latency p95 | Status |
|---|---|---|---|---|
| yylx_claude | $0.80 /M in · $4.00 /M out | 800ms | 3000ms |
Quick Start
Python
import magicrouter
mr = magicrouter.Client(
provider_keys={"yylx_claude": "your-api-key"}
)
response = mr.chat(
"anthropic/claude-haiku-4-5-20251001",
"Your prompt here"
)
print(response.choices[0].message.content)TypeScript
import { MagicRouter } from "magicrouter";
const mr = new MagicRouter({
providerKeys: { yylx_claude: "your-api-key" }
});
const response = await mr.chat({
model: "anthropic/claude-haiku-4-5-20251001",
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-20251001",
"messages": [{"role": "user", "content": "Your prompt here"}]
}'