[HN]score: 0.24
What I'm Finding About LLM Code Style and Token Costs
June 24, 2026
Verbose LLM output patterns — spaces over tabs, legacy polyfills, redundant abstractions — directly inflate API costs since output tokens run 3x–5x more expensive than input tokens on most providers. The argument is that Claude and similar models default to older, wordier coding conventions that the modern web platform (Web Components, native APIs) has already made unnecessary, burning tokens on solved problems. Practitioners paying per-token API bills have a concrete financial incentive to enforce terse, modern style guides in their system prompts.