# JavaScript frameworks compared on AI build cost, speed, and code size

> Original title: The AI cost of JavaScript frameworks

- Source: Hacker News · AI (150+ points)
- Published: 2026-11-01T06:06:19.000Z
- Bad Influence: https://badinfluence.news/items/jx22gvi8inbcw4ks0qfvuyf8f
- Original: https://nolanlawson.com/2026/10/28/the-ai-cost-of-javascript-frameworks/

## Summary

Nolan Lawson benchmarked 12 JavaScript frameworks by having Claude Opus 5.5 build the same Pokémon app in each, measuring cost, time, tokens, Lighthouse scores, and lines of code. Hono+htmx had the lowest median build cost at $2.67 per run, and Angular had the highest at $4.97. The author notes that results vary widely between runs and that the test covers only one content-heavy app type.
