Dev.to
7/6/2026

The page grew, the agent bill did not
Short summary
Serving content in multiple formats—HTML optimized for humans, markdown for AI agents—can dramatically reduce agent access costs. The turva.dev homepage costs 83% less in markdown form (1,723 tokens) than HTML (10,320 tokens), and grows slower as the site adds features. This content negotiation strategy lets human pages accumulate overhead while keeping agent costs predictable and lean.
- •Multi-format content serving reduces AI agent access costs by 80%+
- •HTML pages accumulate overhead (navigation, styling, metadata); markdown stays lean
- •Actionable strategy: measure token costs per format and optimize content negotiation
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



