Compare models Compare image models AI Tools Models AI Image Models AI News Search Try it free
Live preview

See how Claude Haiku 4.5 thinks

Pick a task and watch a sample answer stream in. Open the same prompt in Chatday when you’re ready.

Why does this return undefined? const u = users.find(u => u.id = id)

The bug is in the arrow body: u.id = id assigns instead of compares, so the callback returns the assigned value and .find never matches the way you expect.

Fix it with a strict comparison:

const u = users.find(u => u.id === id);

Use === to compare. A single = is assignment, which is why you saw undefined.

Illustrative preview: your real answers run in Chatday. Continue in Chatday
Strengths

What makes Claude Haiku 4.5 stand out

Fastest Claude model
Lightweight and economical
Responsive chat
At a glance

Claude Haiku 4.5 specifications

200K
Context window
64K
Max output
Text · Vision · Code
Modality
Fast
Speed
Free & Pro
Available in Chatday
ProviderAnthropic
Model familyClaude 4 series
Context window200,000 tokens
Max output64,000 tokens
ModalityText · Vision · Code
Input price$1 / 1M tokens
Output price$5 / 1M tokens
Tool / function callingYes
VisionYes
StreamingYes
Available in ChatdayFree & Pro

Pricing shown for reference; usage is included in your Chatday plan.

Side by side

Claude Haiku 4.5 vs other top models

Compare
Model Context Best at Input price In Chatday
Claude Haiku 4.5 200K Fast $1/M Free
Gemini 4 Argon 1M Frontier coding $2/M Free
GPT-6.1 1.1M Agentic coding $2/M Free
Grok 4.7 500K Agentic coding $2/M Free
FAQ

Claude Haiku 4.5 questions

Yes. Claude Haiku 4.5 is available on the free plan with daily limits. Pro raises the limits and adds priority access during peak times.
200K tokens: enough for very long documents, large codebases or extended conversations without losing earlier context.
Reach for Claude Haiku 4.5 on the tasks it’s built for, then switch models mid-chat in Chatday when another one fits better, no need to leave the conversation.
Yes. Claude Haiku 4.5 accepts image input, so you can share screenshots, diagrams and photos and ask it to reason over them.

Chat with Claude Haiku 4.5 and switch models any time.

One subscription, every leading model. Start free in the Chatday web app.