Models
Claude Haiku 4 5
Anthropic lightweight model configured for fast, cost-effective text generation workloads.
Overview
Claude Haiku 4 5 is an Anthropic model configured in Yolo Router. It is listed for fast, cost-effective text generation workloads. Use the model ID claude-haiku-4-5 when calling compatible APIs.
Key Specifications
| Parameter | Value |
|---|---|
| Provider | Anthropic |
| Model ID | claude-haiku-4-5 |
| Input Modalities | Text, Image |
| Output Modalities | Text |
| Pricing Type | Usage-based |
Capabilities
- Vision Understanding - Accepts visual context for image-aware tasks
- Deep Reasoning - Suitable for multi-step analysis and planning
- Text Generation - Generates answers, drafts, summaries, and rewrites
Pricing
| Type | Price |
|---|---|
| Input | $0.3 / 1M tokens |
| Output | $1.5 / 1M tokens |
| Cache Read | $0.03 / 1M tokens |
| Cache Write | $0.375 / 1M tokens |
Usage Example
from openai import OpenAI
client = OpenAI(
api_key="sk-...",
base_url="https://api.yolorouter.com/v1",
)
response = client.responses.create(
model="claude-haiku-4-5",
input="Summarize this content.",
)
print(response.output_text)Best Practices
-
Pass the model ID exactly as shown in the documentation.
-
Match the model capability tags to the text, image, audio, or video workload.
-
When cache prices are configured, keep stable prompt prefixes to improve cache reuse.