
  <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
      <title>/var/log/mattia</title>
      <link>https://blog.mattiaperetti.it/blog</link>
      <description>Backend architecture, keeping software running in production, and building AI agents.</description>
      <language>en-us</language>
      <managingEditor>undefined (Mattia Peretti)</managingEditor>
      <webMaster>undefined (Mattia Peretti)</webMaster>
      <lastBuildDate>Tue, 10 Nov 2026 00:00:00 GMT</lastBuildDate>
      <atom:link href="https://blog.mattiaperetti.it/tags/prompt-caching/feed.xml" rel="self" type="application/rss+xml"/>
      
  <item>
    <guid>https://blog.mattiaperetti.it/blog/coding-agent-costs-through-a-local-router</guid>
    <title>Coding agent costs through a local router: what 2,564 requests showed</title>
    <link>https://blog.mattiaperetti.it/blog/coding-agent-costs-through-a-local-router</link>
    <description>I routed every coding-agent request through 9router, a local LLM router, for three weeks. Across 2,564 requests the agent read 184 tokens for every token it wrote, and at list prices the cache hit rate decided the cost more than the model did. Notes on routing strategies, token savers and the setup traps.</description>
    <pubDate>Tue, 10 Nov 2026 00:00:00 GMT</pubDate>
    <author>undefined (Mattia Peretti)</author>
    <category>ai</category><category>llm</category><category>coding-agents</category><category>tokens</category><category>prompt-caching</category>
  </item>

    </channel>
  </rss>
