Angular Costs an AI Agent Twice as Much as Hono+htmx: $4.97 vs. $2.67 per App
Nolan Lawson tasked Claude Code with building a Pokémon catalog with search and filters across 12 stacks, with five runs for each. Hono with htmx came out cheapest: $2.67 and 8.6 minutes. Angular lost on both counts: $4.97 and 17.2 minutes. Meanwhile, Lighthouse performance scores stayed at 97–100 points for all of them.
AI-processed from Habr AI; edited by Hamidun News
When a team chooses a framework, it usually thinks about developer habits, the ecosystem, and hiring. Now there is another factor: how much it will cost to have an AI agent write code in place of a human. Developer Nolan Lawson decided to measure this in dollars and minutes.
How the experiment was set up
The task was the same for everyone: a Pokémon catalog with search, filters, and real data from PokéAPI. It was carried out by Claude Code running the Opus 5.5 model with a high reasoning level. Lawson tested 12 variants, including plain JavaScript with no UI framework. He ran each variant five times and took the median, so that random luck or failure would not skew the picture. The agent received the same task description and functional tests used to verify the result.
The method is simple, which is why it deserves more trust than individual impressions like "Claude writes React well." Here there is a common bar and repeatability.
What came out
Angular had the worst results on both metrics at once: 17.2 minutes and $4.97 per app. Astro finished fastest, needing just 8.2 minutes. The cheapest was the Hono and htmx combination: $2.67 and 8.6 minutes. Angular took roughly twice as long and cost twice as much as the leaders.
Plain JavaScript turned out decent but not the best: $2.98 and 10.1 minutes. It beat neither Astro nor Hono with htmx. The thesis "fewer abstractions means it's easier for the agent" was not confirmed here. Apparently, what helps the agent is not the absence of a framework, but clear conventions and compact code that doesn't take long to comprehend.
In tokens, the spread is as follows: Nuxt spent 3.85 million, Angular 9.76 million, that is, 2.5 times more. Most of the spending came from repeatedly reading cached context. The longer the "write, run, fix" loop, the more often the agent rereads the accumulated history, and the bill grows almost on its own.
Quality barely suffered
The unexpected result is that the final apps differed little. Median Lighthouse performance was 97–100 points, and accessibility was 100 everywhere. So the expensive framework did not deliver a better product. It only required more steps and tokens for the same result.
What to do with this
You shouldn't choose a stack based on these numbers alone. This is one app, one model, and one scenario. A catalog with search and filters fits a server-first approach easily, while a complex enterprise frontend with forms, state, and dozens of screens may paint a different picture. Besides, token prices and model behavior change quickly.
Still, there are practical takeaways:
- If you run agents on a large volume of tasks such as prototypes, internal tools, or landing pages with dynamic elements, a 2x difference turns into real money. It's worth running your own benchmark on your typical tasks.
- For quick prototypes built by an agent, it makes sense to consider Astro or Hono with htmx. They delivered the best time and price at the same quality.
- If Angular is already adopted in your team, that's no reason to abandon it. Just budget for the agent working longer and costing more, and keep an eye on context size.
- The metric should be counted as a whole: tokens, minutes, and the share of repeated context reads. Optimizing only the price per request is not enough.
The main takeaway: a framework now affects the cost of automated development as well. That cost is worth measuring the same way as build speed or bundle size.
- Dec 2, 2026Ai2 Releases MolmoWeb2 Web Agents: 27B Model Solves 75.3% of Tasks
- Dec 2, 202650 AI Models Beat 62 Teams at 'Zakovat': 48.3% Correct Answers vs 39.8%
- Dec 2, 2026Claude Fable 5.2 ran 1,000 agents for eight days and built an operating system
- Dec 2, 2026Amazon Releases Ergo Open Weights for Coding: 1.1 Trillion Parameters and 2,200 Tokens per Second
Key Questions Answered
How the experiment was set up?
The task was the same for everyone: a Pokémon catalog with search, filters, and real data from PokéAPI. It was carried out by Claude Code running the Opus 5.5 model with a high reasoning level. Lawson tested 12 variants, including plain JavaScript with no UI framework. He ran each variant five times and took the median, so that random luck or failure would not skew the picture. The agent received the same task description and functional tests used to verify the result.
What came out?
Angular had the worst results on both metrics at once: 17.2 minutes and $4.97 per app. Astro finished fastest, needing just 8.2 minutes. The cheapest was the Hono and htmx combination: $2.67 and 8.6 minutes. Angular took roughly twice as long and cost twice as much as the leaders. Plain JavaScript turned out decent but not the best: $2.98 and 10.1 minutes. It beat neither Astro nor Hono with htmx. The thesis "fewer abstractions means it's easier for the agent" was not confirmed here.
What are the key details on Quality barely suffered?
The unexpected result is that the final apps differed little. Median Lighthouse performance was 97–100 points, and accessibility was 100 everywhere. So the expensive framework did not deliver a better product. It only required more steps and tokens for the same result.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
