Worth Knowing

The AI cost of JavaScript frameworks

As software development shifts toward coding agents, empirical benchmarks help developers choose frameworks and toolings that minimize token costs and build failures rather than relying on anecdotal claims.

Developer Nolan Lawson created a benchmark to evaluate how efficiently AI coding agents build the same web application across twelve different JavaScript frameworks. Testing with Claude Code revealed significant variance in token usage, cost, and build time, with lightweight setups like Hono+htmx and Astro proving faster and cheaper for agents than Angular or SvelteKit.

  • Claude Code
  • Next.js
  • Angular
  • SvelteKit
  • Astro

Get a brief picked for you

Sign in to follow topics and companies, save stories and search the archive.

Sign in