Building an Entire MVP with OpenClaw for Three Cents
Watch on TikTok
A developer optimized his OpenClaw setup to build a full application called ClawBase for a total cost of three cents. The trick: a multi-agent architecture that routes work to the cheapest model capable of handling each task.
The Cost Breakdown
The build happened in three phases, each costing less than a penny:
- Phase 1: MVP Build (~40 minutes) - Scaffolding, component architecture, Q&A configuration. Model mix: 95% Haiku, 5% Sonnet. Cost: one cent.
- Phase 2: Overnight Sprint (~4 hours) - Approval workflow, OLLAMA agent integration, API endpoints, sprint documentation, testing and verification. Cost: less than one cent.
- Phase 3: UI/UX Polishing (planned) - Cost: less than one cent.
Grand total: three cents.

The Token Breakdown
The Slack message in the video shows the full token accounting. Phase 1 used a Next.js project scaffold with config, React components (QACard, SearchBar, FilterBar), Tailwind CSS styling, Q&A seed data, metadata schema design, and layout pages.

Phase 2 added approval workflow components, API endpoints for submit/approve flows, an OLLAMA agent script, sprint documentation, and testing.

The Multi-Agent Architecture
Three models run in parallel, each handling different tiers of work:
- Haiku handles the bulk of routine tasks (scaffolding, boilerplate, simple components)
- A small Sonnet model handles mid-complexity reasoning
- Ollama (local) handles tasks at zero API cost
The system escalates based on blocks and issues. When a lower-tier agent gets stuck, it passes the task up to a smarter model. This keeps costs near zero for the 90%+ of tasks that do not require heavy reasoning.

What It Built
ClawBase is described as "Stack Overflow meets Product Hunt" - a knowledge base where users can contribute content, with approval workflows and search functionality. Built entirely by autonomous agents working overnight.
Key Takeaways
- Multi-agent setups that route to cheap models by default and escalate only when needed can bring costs to near zero
- The 95/5 split between Haiku and Sonnet handled an entire MVP build for one cent
- Local models via Ollama eliminate API costs entirely for suitable tasks
- Autonomous overnight builds are practical if the agent architecture handles escalation well
Resources
Published May 25, 2026. Writeup generated from a favorited TikTok.