<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Anyray blog</title>
    <link>https://anyray.ai/blog</link>
    <description>Technical writing on LLM cost, prompt caching and AI gateways.</description>
    <language>en</language>
    <lastBuildDate>Wed, 25 Nov 2026 00:00:00 GMT</lastBuildDate>
    <atom:link href="https://anyray.ai/blog/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to reduce Claude Code costs: what we measured</title>
      <link>https://anyray.ai/blog/reduce-claude-code-costs</link>
      <guid isPermaLink="true">https://anyray.ai/blog/reduce-claude-code-costs</guid>
      <pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Yarden Shechter</dc:creator>
      <description>Where the Claude Code bill comes from, and which changes lowered it in paired runs: a stable prompt cache, fewer turns, smaller tool schemas and cache-safe compression.</description>
    </item>
    <item>
      <title>With Anyray, Claude solves more tasks, faster, at 32% lower cost</title>
      <link>https://anyray.ai/blog/terminal-bench-2-benchmark</link>
      <guid isPermaLink="true">https://anyray.ai/blog/terminal-bench-2-benchmark</guid>
      <pubDate>Sun, 22 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Gidi Steinberg</dc:creator>
      <description>On Terminal-Bench 2, Anyray solved more tasks than Claude Code direct, finished 18% sooner and cut total cost by 32%. RTK and Headroom raised the bill. Setup, tasks and numbers.</description>
    </item>
    <item>
      <title>Why model routing backfires in agent sessions, and what a switch really costs</title>
      <link>https://anyray.ai/blog/model-routing-cache</link>
      <guid isPermaLink="true">https://anyray.ai/blog/model-routing-cache</guid>
      <pubDate>Wed, 11 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Yarden Shechter</dc:creator>
      <description>Routing agent turns to a cheaper model often raises the bill: every switch rebuilds the prompt cache. The break-even math, and why per-request routers miss it.</description>
    </item>
    <item>
      <title>The decision engine: how Anyray learns what is safe to cut</title>
      <link>https://anyray.ai/blog/decision-engine</link>
      <guid isPermaLink="true">https://anyray.ai/blog/decision-engine</guid>
      <pubDate>Sun, 08 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Gidi Steinberg</dc:creator>
      <description>How Anyray decides, per request and per session, which edits to apply, and how it learns from each org's own traffic which ones pay off and which to switch off.</description>
    </item>
    <item>
      <title>Why context compression breaks prompt caching, and how to keep the prefix stable</title>
      <link>https://anyray.ai/blog/prompt-cache-compression</link>
      <guid isPermaLink="true">https://anyray.ai/blog/prompt-cache-compression</guid>
      <pubDate>Wed, 04 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Dean Rubin</dc:creator>
      <description>Naive context compression sends fewer tokens but often raises the bill: it breaks the provider prompt cache. How a deterministic engine keeps the prefix.</description>
    </item>
    <item>
      <title>How retrieval handles make lossy compression safe</title>
      <link>https://anyray.ai/blog/removed-is-not-lost</link>
      <guid isPermaLink="true">https://anyray.ai/blog/removed-is-not-lost</guid>
      <pubDate>Sun, 01 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Yarden Shechter</dc:creator>
      <description>Compression that deletes context your agent needs is a bad trade. Anyray stores every removed original and leaves a handle to fetch the exact bytes back.</description>
    </item>
    <item>
      <title>cacheLint: detect prompt-cache breaks in LLM agents</title>
      <link>https://anyray.ai/blog/cache-lint</link>
      <guid isPermaLink="true">https://anyray.ai/blog/cache-lint</guid>
      <pubDate>Wed, 28 Oct 2026 00:00:00 GMT</pubDate>
      <dc:creator>Yarden Shechter</dc:creator>
      <description>cacheLint finds why your prompt cache missed: it compares each LLM agent turn with the last, finds the first changed segment, and names who broke the cache.</description>
    </item>
    <item>
      <title>Running Claude Code behind an AI gateway: the 200k context trap and the env vars that fix it</title>
      <link>https://anyray.ai/blog/claude-code-gateway</link>
      <guid isPermaLink="true">https://anyray.ai/blog/claude-code-gateway</guid>
      <pubDate>Fri, 23 Oct 2026 00:00:00 GMT</pubDate>
      <dc:creator>Dima Rudenko</dc:creator>
      <description>Behind a custom ANTHROPIC_BASE_URL, Claude Code budgets 200k tokens and compacts early. The env vars that restore the full window, and their side effects.</description>
    </item>
    <item>
      <title>Fail-open by design: how Anyray keeps your traffic flowing when something breaks</title>
      <link>https://anyray.ai/blog/fail-open-by-design</link>
      <guid isPermaLink="true">https://anyray.ai/blog/fail-open-by-design</guid>
      <pubDate>Wed, 14 Oct 2026 00:00:00 GMT</pubDate>
      <dc:creator>Anyray</dc:creator>
      <description>A gateway in front of every model call must never become the outage. How Anyray fails open at every layer: transform, optimizer, gateway and budget brakes.</description>
    </item>
    <item>
      <title>How Anyray works: cutting tokens before the model without breaking the cache</title>
      <link>https://anyray.ai/blog/how-anyray-works</link>
      <guid isPermaLink="true">https://anyray.ai/blog/how-anyray-works</guid>
      <pubDate>Sun, 27 Sep 2026 00:00:00 GMT</pubDate>
      <dc:creator>Dean Rubin</dc:creator>
      <description>Anyray is a self-hosted gateway that removes unused LLM context before the request leaves your network, keeps the prompt cache stable and fails open.</description>
    </item>
  </channel>
</rss>
