<?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>DEV Community: Brello</title>
    <description>The latest articles on DEV Community by Brello (@getbrello).</description>
    <link>https://dev.to/getbrello</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4192079%2F477a4e5e-fae0-4016-85c3-651f57db6cf9.png</url>
      <title>DEV Community: Brello</title>
      <link>https://dev.to/getbrello</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/getbrello"/>
    <language>en</language>
    <item>
      <title>I helped 3 devs get refunds for leaked AI API keys. Here’s what I’m building so it doesn’t happen again</title>
      <dc:creator>Brello</dc:creator>
      <pubDate>Tue, 10 Nov 2026 14:17:14 +0000</pubDate>
      <link>https://dev.to/getbrello/i-helped-3-devs-get-refunds-for-leaked-ai-api-keys-heres-what-im-building-so-it-doesnt-happen-46m5</link>
      <guid>https://dev.to/getbrello/i-helped-3-devs-get-refunds-for-leaked-ai-api-keys-heres-what-im-building-so-it-doesnt-happen-46m5</guid>
      <description>&lt;p&gt;Over the past few weeks, I’ve helped 3 developers get refunds from OpenAI and Anthropic after their API keys leaked.&lt;/p&gt;

&lt;p&gt;Every one of them found out the same way: from the bill. Sometimes a day or two after the damage was done.&lt;/p&gt;

&lt;p&gt;Here’s what I learned, and what I’m building because of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Billing alerts are too slow and too broad.
&lt;/h3&gt;

&lt;p&gt;Provider billing data usually lags by hours. And even when an alert fires, it tells you how much you spent, not what caused it. Was it a leaked key? A retry loop? One user hammering your app? You have to dig through logs to find out.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. The first few minutes matter most.
&lt;/h3&gt;

&lt;p&gt;The people who got the most money back were the ones who noticed fast, revoked the key, and collected evidence before contacting support. Panic usually makes things worse.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Not every spike is a leak.
&lt;/h3&gt;

&lt;p&gt;Sometimes it’s real growth, sometimes a bug, sometimes one user abusing a free tier. Each one needs a different response, so treating every spike as an emergency just trains you to ignore alerts.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I’m building: Brello
&lt;/h2&gt;

&lt;p&gt;Brello tracks your AI API spend per user and per feature, in real time, and alerts you in minutes when something looks off.&lt;/p&gt;

&lt;p&gt;See which users and features actually drive your costs&lt;br&gt;
Alerts to your webhook (Slack, Discord, etc.) in minutes, not the next day&lt;br&gt;
Tells you whether it looks like a leak or just a spike, and what to do next&lt;br&gt;
Suggests where a cheaper model could do the job&lt;br&gt;
Warns you when a model you use gets deprecated or repriced&lt;/p&gt;

&lt;p&gt;Works with OpenAI, Anthropic, and Gemini.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why an SDK and not a proxy
&lt;/h2&gt;

&lt;p&gt;A lot of tools in this space sit between your app and the provider as a proxy. I didn’t want that: it means your prompts and keys pass through someone else’s server, and if the proxy goes down, your app goes down with it.&lt;/p&gt;

&lt;h3&gt;
  
  
  So Brello is a drop-in SDK wrapper that runs inside your app:
&lt;/h3&gt;

&lt;p&gt;Requests go straight to the provider&lt;br&gt;
Your key never leaves your app&lt;br&gt;
It collects usage metadata only, never prompts or responses&lt;br&gt;
Data is sent in the background, so if Brello is down, your app keeps running&lt;/p&gt;

&lt;p&gt;The SDK will be open source, so you can check exactly what it sends.&lt;/p&gt;

&lt;p&gt;I’m posting progress updates on the &lt;a href="//brello.app/blog/november-update"&gt;Brello blog&lt;/a&gt; too 😃&lt;/p&gt;

&lt;h2&gt;
  
  
  Closed beta
&lt;/h2&gt;

&lt;p&gt;I’m opening a closed beta around Nov 20 for 10 people running AI features in production.&lt;/p&gt;

&lt;p&gt;Free during the beta&lt;br&gt;
3 months of Pro free after launch&lt;br&gt;
I’ll personally help you set it up&lt;/p&gt;

&lt;p&gt;Apply here: &lt;a href="https://brello.app/beta" rel="noopener noreferrer"&gt;https://brello.app/beta&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Even if you’re not interested in the beta, I’d love to hear: how do you keep an eye on your AI API spend today? Billing alerts, your own logging, or not at all?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>openai</category>
      <category>buildinpublic</category>
      <category>saas</category>
    </item>
  </channel>
</rss>
