Haiku
Haiku is Anthropic's family of fastest Claude models. In Claude Code, the haiku alias selects the Haiku model, which the documentation describes as fast and efficient for simple tasks. You choose it with /model haiku or claude --model haiku, or you assign it to a subagent with the model: haiku field so that the subagent searches through files quickly and at a lower cost.
The fastest and cheapest Claude model. Good for simple tasks, such as searching through files.
How it shows up in Claude Code
Haiku is the model you reach for when speed matters more than deep reasoning. You can use it directly, with /model haiku, for short questions and small edits. More often, though, you give it to helpers: a subagent's file has a model field that accepts the aliases haiku, sonnet, opus or inherit (the same model as the main conversation).
Haiku also shows up in fallback chains: with --fallback-model sonnet,haiku, Claude Code switches to another model when the main one is overloaded or unavailable.
Example
A subagent that only searches the project, saved as .claude/agents/finder.md:
---
name: finder
description: Finds the files where a word or a function appears
model: haiku
---
Search the project and return only the list of files, each with a one-line explanation.
Your main conversation can stay on Sonnet or Opus while the searching runs on Haiku.
Common mistakes
- Handing Haiku the hard calls, such as how to organize the whole project. That's what Opus is for.
- Judging all of Claude Code by one weak Haiku answer. Try the same request on Sonnet before drawing conclusions.
- Forgetting
model: haikuin your search subagent. Without amodelfield, the subagent usually runs on the same model as you, which is slower.
Related terms and where you learn it
The other models are Opus and Sonnet. Haiku pairs well with a subagent and helps you save tokens.
In the course: the lesson “How do you choose the model?” in module 03, Permissions: what Claude may do; subagents are covered in module 06.
Source: Claude Code documentation: Model configuration and Subagents
How it appears in the course
There’s also extended thinking: Claude thinks things through before it answers. On the 5.5 models (Opus, Sonnet, Haiku) it’s always on, so there’s nothing for you to do.
What tricks will help you? · Module 01, How to talk to Claude · free
Learn Claude Code from zero, in plain English
12 modules with 1–2 minute lessons, which you can also do on your phone. The first two modules are free.