The AI cost of JavaScript frameworks
A coding-agent experiment compares the cost and output of building the same small web app across JavaScript frameworks. Hono+htmx and Astro had the lowest median quoted API costs, at $2.67 and $2.76; Angular’s median was $4.97, with two of five attempts failing to produce a working app.
These are not general framework rankings: the test used one content-heavy app, one model and only three to five successful runs per framework, with substantial run-to-run variation. Framework-specific agent tools were not consistently used. HN readers highlighted that Astro particularly suits this app and questioned how results would change for a highly interactive one.