<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" href="rss.xsl"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Loopers Blog</title>
        <link>https://docs.tryloopers.com/blog</link>
        <description>Loopers Blog</description>
        <lastBuildDate>Thu, 18 Jun 2026 00:00:00 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <item>
            <title><![CDATA[Introducing Loopers — The AI Billing Circuit Breaker]]></title>
            <link>https://docs.tryloopers.com/blog/introducing-loopers</link>
            <guid>https://docs.tryloopers.com/blog/introducing-loopers</guid>
            <pubDate>Thu, 18 Jun 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[We're excited to open-source Loopers — a baremetal, zero-delay circuit breaker for AI API billing.]]></description>
            <content:encoded><![CDATA[<p>We're excited to open-source <strong>Loopers</strong> — a baremetal, zero-delay circuit breaker for AI API billing.</p>
<!-- -->
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-problem">The Problem<a href="https://docs.tryloopers.com/blog/introducing-loopers#the-problem" class="hash-link" aria-label="Direct link to The Problem" title="Direct link to The Problem" translate="no">​</a></h2>
<p>If you've ever run an autonomous AI agent, you know the feeling: you come back an hour later to find your OpenAI bill has exploded. Maybe the agent got stuck in a tool-call loop. Maybe someone leaked your API key. Either way, you're out hundreds of dollars and there's nothing you can do about it after the fact.</p>
<p>Existing solutions are either observability tools (they tell you <em>after</em> the damage is done) or SDK-level patches (easily bypassed, not infrastructure-grade).</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="loopers-is-different">Loopers is Different<a href="https://docs.tryloopers.com/blog/introducing-loopers#loopers-is-different" class="hash-link" aria-label="Direct link to Loopers is Different" title="Direct link to Loopers is Different" translate="no">​</a></h2>
<p>Loopers is a <strong>kill-switch</strong>, not an alert. It sits as a transparent reverse proxy between your application and the LLM provider. Before every single request:</p>
<ol>
<li class="">It checks your budget atomically in Redis (a single Lua transaction — no race conditions)</li>
<li class="">If you're over budget, the request is blocked with <code>429 Too Many Requests</code></li>
<li class="">If you're OK, the request proceeds — with real-time token counting on the streaming response</li>
</ol>
<p>The result: <strong>0% budget leakage</strong> under a 1,000 concurrent request flood.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="by-the-numbers">By the Numbers<a href="https://docs.tryloopers.com/blog/introducing-loopers#by-the-numbers" class="hash-link" aria-label="Direct link to By the Numbers" title="Direct link to By the Numbers" translate="no">​</a></h2>
<table><thead><tr><th>Metric</th><th>Loopers</th><th>LiteLLM</th></tr></thead><tbody><tr><td>Budget Leakage</td><td><strong>0%</strong></td><td>0.17%</td></tr><tr><td>Peak Throughput</td><td><strong>4,623 req/s</strong></td><td>~176 req/s</td></tr><tr><td>P99 Latency</td><td><strong>241ms</strong></td><td>46,812ms</td></tr><tr><td>Idle RAM</td><td><strong>41MB</strong></td><td>958MB</td></tr></tbody></table>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="whats-included-in-the-oss-release">What's Included in the OSS Release<a href="https://docs.tryloopers.com/blog/introducing-loopers#whats-included-in-the-oss-release" class="hash-link" aria-label="Direct link to What's Included in the OSS Release" title="Direct link to What's Included in the OSS Release" translate="no">​</a></h2>
<ul>
<li class="">Atomic Lua budget enforcement (5 time windows: minute/hourly/daily/weekly/monthly)</li>
<li class="">Support for 10 LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, Mistral, Groq, Cohere, DeepSeek, Together)</li>
<li class="">Real-time mid-stream SSE cutoffs</li>
<li class="">Agent loop detection via SHA256 prompt hashing</li>
<li class="">Fail-closed Redis guarantee</li>
<li class="">Zero-storage pass-through key model</li>
<li class="">Prometheus metrics + Grafana dashboard</li>
<li class="">Helm chart for Kubernetes</li>
<li class="">Python and TypeScript SDKs</li>
</ul>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="get-started">Get Started<a href="https://docs.tryloopers.com/blog/introducing-loopers#get-started" class="hash-link" aria-label="Direct link to Get Started" title="Direct link to Get Started" translate="no">​</a></h2>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#9CDCFE;--prism-background-color:#1E1E1E"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#9CDCFE;background-color:#1E1E1E"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#9CDCFE"><span class="token function" style="color:rgb(220, 220, 170)">git</span><span class="token plain"> clone https://github.com/CURSED-ME/loopers-oss.git</span><br></div><div class="token-line" style="color:#9CDCFE"><span class="token plain"></span><span class="token builtin class-name" style="color:rgb(78, 201, 176)">cd</span><span class="token plain"> loopers-oss</span><br></div><div class="token-line" style="color:#9CDCFE"><span class="token plain"></span><span class="token function" style="color:rgb(220, 220, 170)">docker-compose</span><span class="token plain"> </span><span class="token parameter variable" style="color:rgb(156, 220, 254)">-f</span><span class="token plain"> docker-compose.demo.yml up</span><br></div></code></pre></div></div>
<p>Read the <a href="https://docs.tryloopers.com/" target="_blank" rel="noopener noreferrer" class="">full documentation</a> or <a href="https://github.com/CURSED-ME/loopers-oss" target="_blank" rel="noopener noreferrer" class="">star us on GitHub</a>.</p>]]></content:encoded>
            <category>announcement</category>
            <category>open-source</category>
            <category>ai-safety</category>
            <category>billing</category>
        </item>
    </channel>
</rss>