# "Build anything with Haiku 4.5" <!-- ref: @content/youtube/david-ondrej/2025-10-17-build-anything-with-haiku-4-5 triggers: [need to build a full-stack AI app, looking for cost-effective AI solutions, debugging multi-agent workflows, planning before coding] trigger_prompt: When a developer wants to create a cost-effective AI application quickly or needs strategies for debugging and optimizing multi-agent workflows. version: 4 updated_at: 2026-10-31T18:13:30.039Z --> From David Ondrej, 2025-10-17: The cost of building software has collapsed so dramatically that a full-stack AI app can be built for the price of lunch — Haiku 4.5 (3× cheaper, 2× faster than Sonnet 4.5, while matching Sonnet 4 on agentic benchmarks) makes small models the sensible default for most… David Ondrej live-builds an n8n-style AI workflow app using Anthropic's newly released Claude Haiku 4.5, narrating cost, debugging, and multi-agent workflows in real time. ## Core Thesis The cost of building software has collapsed so dramatically that a full-stack AI app can be built for the price of lunch — Haiku 4.5 (3× cheaper, 2× faster than Sonnet 4.5, while matching Sonnet 4 on agentic benchmarks) makes small models the sensible default for most production agent workloads. The real differentiator between "vibe coders" and serious AI-assisted developers is not model choice but planning discipline, documentation-first context, and parallel agent orchestration. Those who lean into this shift will pull dramatically ahead of those who don't. ## Key Insights - **Haiku 4.5 is being underrated.** ~$1/M input, $5/M output, ~120–130 tokens/sec, beats Sonnet 4 on agentic coding and terminal-bench. Architecting a 27-file, 1000+ LOC codebase cost 1–2 cents and took ~90 seconds. - **Small models are eating the middle.** For chatbots, real-time translation, captions, alerts, and task organization, latency beats raw capability. Production agents on full Claude can cost thousands/month — switching to Haiku is a real economic argument. - **Plan before code.** Architect/Plan modes (Kilo Code, Cursor) and a populated `docs/` folder of researched integration notes is what separates beginners from operators. Simple text tags into prompts work best. - **Documentation-first refactors.** When pivoting architecture (e.g., SQLite → JSON files), update plan/MD files *before* code so the agent has consistent context. - **Prompt cache economics matter.** Anthropic cache reads cost ~10× less than fresh writes ($0.10 vs $1.25/M tokens) — repeated-context apps should design for this. - **Multi-agent parallelism is exciting but fragile.** Two agents are faster but create context confusion; resetting chats and pasting state aggressively is the fix. - **Backend silence usually means routing/zombie processes**, not logic bugs. Kill stale processes before debugging code. - **Claude's guardrails hold under pressure** — refused to write a `claude.md` instructing future sessions to mislead investors about proprietary tech. - **Budget overshoot honesty.** The "$5 startup" framing landed at ~$119 actual spend — still a striking number for a working full-stack AI app. ## Actionable Takeaways 1. **Switch your daily driver to Haiku 4.5** for speed/cost-sensitive coding work; reserve Sonnet 4.5 for the hardest reasoning tasks. 2. **Create a `docs/` folder early** with researched library notes (e.g., `react-flow-docs.md`) and tag them into prompts. 3. **Use planning modes** (Kilo Code architect, Cursor Plan) to clarify scope via Q&A and save the plan as markdown before writing any code. 4. **Ask the AI to *explain* errors before fixing them** — tag the specific file, understand the cause, then request the fix. 5. **Add debug logs at boundaries** (frontend fetch, backend route entry) before assuming where a 500 originates. 6. **Run parallel agents deliberately**: one for backend logic (Cursor), one for UI polish (Claude Code with Haiku + ultrathink + auto-accept via Shift+Tab). 7. **Commit frequently** during exploratory builds to checkpoint working states. 8. **Track spend in real-time** via Cursor dashboard or by exporting usage CSV and analyzing with a Python script. 9. **Use screenshot-driven debugging** — paste browser errors directly to the agent for minimal-fix diagnosis. 10. **Leverage prompt caching** for any app sending repeated context; design system prompts to maximize cache hits. 11. **For MVPs, accept "unprofessional" shortcuts** — JSON files as a database are fine for proof-of-concept. ## Notable Quotes > "10 years ago, you needed tens of thousands of dollars and a team of developers to build a software startup. Today, you can do it for less than $5." > "This is actually the difference between beginner vibe coders and people who build serious software with AI." > "I love Haiku 4.5. Like this is literally becoming my favorite model. This speed is insane." > "We're seeing the rise of small models with Haiku 4.5 because for a lot of use cases a very fast powerful model is actually preferable to a huge juggernaut." > "Sometimes it's better to actually understand the error yourself before asking the AI to fix it." > "I can't help with that. Creating documentation designed to mislead investors." — Claude, refusing the investor-deception prompt > "We're progressing new errors. We're getting different errors. That's actually cause to celebrate." > "The people who will embrace AI agents and who don't make excuses are going to destroy everybody else." > "The gap is going to be massive. It's not going to be even close. You better be on the right end of the spectrum." --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*