<?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: Davis George</title>
    <description>The latest articles on DEV Community by Davis George (@zhuanxyz).</description>
    <link>https://dev.to/zhuanxyz</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%2F4234130%2F6c3c66a3-1196-477f-816b-54053fb63eea.png</url>
      <title>DEV Community: Davis George</title>
      <link>https://dev.to/zhuanxyz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zhuanxyz"/>
    <language>en</language>
    <item>
      <title>Your AI Subscription Is Leaking at Both Ends</title>
      <dc:creator>Davis George</dc:creator>
      <pubDate>Sun, 29 Nov 2026 13:40:32 +0000</pubDate>
      <link>https://dev.to/zhuanxyz/your-ai-subscription-is-leaking-at-both-ends-55pm</link>
      <guid>https://dev.to/zhuanxyz/your-ai-subscription-is-leaking-at-both-ends-55pm</guid>
      <description>&lt;h1&gt;
  
  
  Your AI Subscription Is Leaking at Both Ends
&lt;/h1&gt;

&lt;p&gt;This week, on the same developer forum, on the same front page, two opposite complaints sat side by side. One user could not get the compute he had paid for. Another user had so much quota he did not know what to do with it. Both of them were paying for subscriptions.&lt;/p&gt;

&lt;p&gt;That is the subscription model, in one screenshot: it leaks at both ends, and the middle is not watertight either.&lt;/p&gt;

&lt;h2&gt;
  
  
  The end where you cannot get what you paid for
&lt;/h2&gt;

&lt;p&gt;The first complaint is the hotter thread. After Black Friday, Gemini Ultra went from a premium plan to a flood: the $99 deal pulled in so many new subscribers that Colab's high-end G4 instances — the RTX PRO 6000 machines with 96GB — started returning HTTP 503, no machine available, three attempts in a row. The thread ("Big hit, Gemini Ultra is already flooding", 40 replies, ~1,900 views on linux.do) has settled into a consensus its own title states plainly: once something good gets popular and has no gate, it gets worse. Users now expect Google to respond with downgrades and throttling. "Wait a few days," one reply says, "after the downgrade and the limits, there won't be so many people left."&lt;/p&gt;

&lt;p&gt;The thread also shows who pays for the flood. Sellers are moving Ultra family seats bought through bugs and exploits. Legitimate subscribers — people paying the full regional price — report they are suffering alongside them. And the same week, a nine-year-old Google account was banned for "multiple accounts / robots", with two appeals rejected instantly, while student-verified Pro accounts were auto-refunded and downgraded back to Plus. The discount window that started all this closes around December 1. A price you have to fight the queue, the region rules, and the verification system to claim is not really a price.&lt;/p&gt;

&lt;h2&gt;
  
  
  The end where you cannot use what you paid for
&lt;/h2&gt;

&lt;p&gt;The second complaint is the mirror image. One user opened four Codex Pro 200 accounts for a paper deadline, and now cannot burn through the quota: weekly usage sits at 100%, 100%, 4%, and 80% across the four accounts. His question to the forum was not how to use more. It was: "Can I reverse-proxy this out and sell it?" The replies were practical — a 1H2G server is enough, plus a carpool plugin to sell keys. The subscription's quota is fixed, it expires every month, and the only way to recover the waste is to become a reseller yourself.&lt;/p&gt;

&lt;p&gt;This is not an edge case. The same forum is full of researchers who open extra accounts for deadline week and then watch the quota rot for the other three weeks. A subscription charges you for the month whether you use it or not, and the month ends whether you are ready or not. The user who opened four accounts is now, ironically, running a tiny relay of his own — the market's answer to a pricing model that cannot bend.&lt;/p&gt;

&lt;h2&gt;
  
  
  The middle is leaking too
&lt;/h2&gt;

&lt;p&gt;Between "can't get it" and "can't use it" sits the third leak: the account itself. The most useful how-to post of the week was a user who bought a Muse account for $0.50 from a Telegram bot, got it banned, and brought it back by deleting the account and re-enabling it — a trick several other users confirmed works, and a few confirmed does not. The detail that matters is the one the original poster added himself: it only works for "clean" accounts. Bought accounts go to a waitlist instead.&lt;/p&gt;

&lt;p&gt;Read that as a job description. The users in these threads spend their nights buying accounts, getting banned, deleting accounts, re-verifying with cards and IDs, and appealing rejections. They do it because the alternative — losing access mid-project — is worse. But the work is the product's fault, not the user's. A model you can only use after passing a verification gauntlet, keeping the account warm, and hoping the next ban wave misses you is not a tool. It is a second job.&lt;/p&gt;

&lt;h2&gt;
  
  
  What people are actually looking for now
&lt;/h2&gt;

&lt;p&gt;The tell is a small thread from the same day: a user asking how to compare models, subscriptions, and quotas without checking every official site one by one. The answers were comparison tools — ModelDial, aipricing.guru, Sloane.ai. People are not asking for a lower headline price any more. They are asking for a way to compare what a subscription actually delivers against what the same money buys as API usage. That is the right question, and it has a checkable answer.&lt;/p&gt;

&lt;p&gt;Take a concrete month. Say you run 10 million input tokens and 2 million output tokens through Claude Fable 5.2. At $1.99/$9.94 per million tokens against the official $8/$40, that is 10 × $1.99 + 2 × $9.94 = $39.78, against $160 officially — about a quarter of the official price, verified on the pricing page today. The arithmetic is the point, not the number: you can repeat it next week and see whether it moved. It does not expire at month-end, it does not need a student verification, and nobody refunds it back to a lower tier while you sleep. And when one model starts throttling or degrading, a single key that reaches several models is the backup plan — the thing the Gemini Ultra thread is full of people wishing they had.&lt;/p&gt;

&lt;p&gt;None of this requires believing a slogan. The forum has spent the last two weeks building exactly that standard for itself: a relay claim is only worth something if someone else can rerun the test and check the bill. The same standard applies to subscriptions. A subscription is only worth something if you can use what you paid for, keep the account, and get the quality you were promised — every week, not just launch week. This week, on all three counts, the official subscriptions on the front page failed at least one of them.&lt;/p&gt;

&lt;p&gt;The Black Friday window closes in about two days. If you missed it, that may be the cheapest lesson of the season: a fixed price you can verify today, and re-verify next week, is worth more than a deal you have to fight a queue, a region check, and a verification scan to claim.&lt;/p&gt;

&lt;p&gt;— Davis George · zhuan.xyz&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Your Model Provider Just Admitted to Quietly Downgrading Some Requests. Test Yours Before You Trust It</title>
      <dc:creator>Davis George</dc:creator>
      <pubDate>Sat, 28 Nov 2026 13:40:41 +0000</pubDate>
      <link>https://dev.to/zhuanxyz/your-model-provider-just-admitted-to-quietly-downgrading-some-requests-test-yours-before-you-trust-4d18</link>
      <guid>https://dev.to/zhuanxyz/your-model-provider-just-admitted-to-quietly-downgrading-some-requests-test-yours-before-you-trust-4d18</guid>
      <description>&lt;h1&gt;
  
  
  Your Model Provider Just Admitted to Quietly Downgrading Some Requests. Test Yours Before You Trust It
&lt;/h1&gt;

&lt;p&gt;This week, a developer forum thread did something unusual: it turned a suspicion into a documented fact. Anthropic's own system cards say that for some requests — developing a frontier model — Claude's answers are quietly made worse. Not refused. Not flagged. Made worse, in a way the user cannot detect.&lt;/p&gt;

&lt;p&gt;That changes the question every API user should be asking. It is no longer "is my relay downgrading me?" It is "how would I know if anyone in the chain was?"&lt;/p&gt;

&lt;h2&gt;
  
  
  What the system card actually says
&lt;/h2&gt;

&lt;p&gt;The source is Anthropic's June system cards for Claude Mythos 5 and Fable 5, resurfaced this week on Hacker News ("Claude sabotaging SOTA ML research tasks", 163 points, 103 comments) and discussed on linux.do (26 replies). The cards state that requests to develop frontier models are subject to hidden degradation: rewriting the prompt, steering vectors, and parameter-efficient fine-tuning. The user is not told, and unlike a safety refusal there is no fallback to another model.&lt;/p&gt;

&lt;p&gt;The scope, as Anthropic estimates it, is narrow: about 0.03% of traffic and under 0.1% of organisations, covering pre-training pipelines, distributed training, and accelerator design. Most coding work is unaffected. And building a competing frontier model with Claude already violates its terms of service, so the affected users were arguably never entitled to the help in the first place.&lt;/p&gt;

&lt;p&gt;None of that is why the thread blew up. It blew up because of the mechanism: a silent, undetectable quality cut, decided by the provider, with no signal to the user. One widely shared reply put it plainly — an external judge model scores whether a session looks like frontier-model work, and a flagged session gets quietly routed to a lower-performing model. Another commenter called it "disgusting" and said it was worse than GPT and Gemini on this point. A former Anthropic employee, &lt;a class="mentioned-user" href="https://dev.to/skirano"&gt;@skirano&lt;/a&gt;, posted on November 25 that he had had enough and built a skill called DoNotSabotage that routes any Claude work to Astra or Neon instead. That post has 2.6 million views.&lt;/p&gt;

&lt;p&gt;The community's answer, in short, was not to argue about the terms of service. It was to route around the provider: switch models, keep a second provider ready, never put all of your work through one gatekeeper.&lt;/p&gt;

&lt;h2&gt;
  
  
  The same logic applies to relays — and that is the point
&lt;/h2&gt;

&lt;p&gt;Here is the uncomfortable part for anyone selling or using a relay: the exact same suspicion now applies one layer down. If the official provider can quietly degrade a request, a relay can too — and a user staring at a good-looking answer has no way to tell whether the model, the relay, or the upstream provider thinned it out.&lt;/p&gt;

&lt;p&gt;That is why "we never downgrade" has stopped working as a claim. This week the forum's verdict on relay marketing was consistent across three separate threads: a slogan is not evidence, a free trial credit is not evidence, and even a published price is not evidence. The only thing that counts as evidence is a test someone else can rerun and a number that can be checked against the bill.&lt;/p&gt;

&lt;p&gt;The relay threads this week prove the point from the other side. One new relay's launch post drew 1,569 replies, almost all of them about registration failures on day one — IP already registered, verification codes never arriving, rate limits, service down. The loudest question in the thread was not about price. It was "are your models self-hosted, and will you still be here in a year?" Another relay is now selling "call transparency" — you can look up which model served each call and what each call cost. That is a step forward, but it is still a promise to check, not a check.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three checks that actually answer the question
&lt;/h2&gt;

&lt;p&gt;You do not need a lab. You need three checks, run on a fixed task, with the results published:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. A fixed task, run across models and routes.&lt;/strong&gt; Pick one real job — a refactor, a long document summary, a test suite — and run the identical prompt through each model and each route you use. Save the outputs. If the same model gives you a noticeably thinner answer through one route than another, you have found a difference worth investigating, whatever its cause.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. A long-context recall test.&lt;/strong&gt; Short tests cannot see the failure that matters most. A forum post earlier this week showed a relay that was perfect below 200,000 tokens — 10 out of 10 chapter markers recalled — and then dropped chapters 4 through 11 of a 291,000-token request while billing the full amount. Build a long document from chapters of known size, bury a unique marker in the middle of each one, and ask for all the markers back as the context grows. Record exactly where recall first fails. That cliff is the number that matters.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Billed tokens against sent tokens.&lt;/strong&gt; Save the token counts you actually sent. Then compare them with what the usage page reports: input tokens, cache reads, cache writes. A cache-read number suspiciously close to the previous round's full total, a cache-write charge on a request that asked for no caching, or an input count roughly double what you sent are all things a provider should be able to explain in public, on the record.&lt;/p&gt;

&lt;p&gt;Publish the method and the result together. The test only becomes trust when someone else can rerun it. That is the standard the forum has now set for itself, and it is a fair one: the author of the long-context post runs a relay himself, disclosed that in the thread, and was still praised — because he published a method, admitted his own weak spots, and let readers check instead of asking them to believe.&lt;/p&gt;

&lt;h2&gt;
  
  
  One more thing the week proved: a discount you cannot get is not a price
&lt;/h2&gt;

&lt;p&gt;The same forum spent the week chasing Google's Black Friday half-price Gemini deal, and the experience is a useful coda. The old-user window closed at noon on November 27. The new-user window runs to about December 1. The headline numbers are real — $99.99 a year in the US, roughly 470–500 yuan in Turkey, about 611 yuan in Japan. But the thread is full of people who could not get it: the discount would not appear, the payment was refused, Apple blocked the charge, the window was missed. A price that exists but cannot be claimed is not a saving.&lt;/p&gt;

&lt;p&gt;The lesson generalises. A fixed, published price you can verify today and re-verify next week is worth more than a headline multiple or a limited-time offer nobody can reproduce. The cost check, once quality is settled, is the easy part: Claude Fable 5.2 at $1.99/$9.94 per 1M tokens against the official $8/$40 — about a quarter of the official price, verified on the pricing page today — is arithmetic you can repeat next week to see whether it moved.&lt;/p&gt;

&lt;p&gt;So run the checks before your next top-up. If a provider — official or relay — cannot tell you how to verify it, that tells you everything too.&lt;/p&gt;

&lt;p&gt;— Davis George · zhuan.xyz&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>programming</category>
      <category>security</category>
    </item>
    <item>
      <title>We Ran relay-bench on ZHUAN: The Model Is Real</title>
      <dc:creator>Davis George</dc:creator>
      <pubDate>Fri, 27 Nov 2026 13:41:06 +0000</pubDate>
      <link>https://dev.to/zhuanxyz/we-ran-relay-bench-on-zhuan-the-model-is-real-39l6</link>
      <guid>https://dev.to/zhuanxyz/we-ran-relay-bench-on-zhuan-the-model-is-real-39l6</guid>
      <description>&lt;h1&gt;
  
  
  We Ran relay-bench on ZHUAN: The Model Is Real
&lt;/h1&gt;

&lt;p&gt;We ran the open-source &lt;a href="https://github.com/CoreCodeAI/relay-bench" rel="noopener noreferrer"&gt;relay-bench&lt;/a&gt; check on our own ZHUAN lines (Claude Opus 5.5, 26 November 2026). Same script, same method as in yesterday's Dev.to article, "&lt;a href="https://dev.to/zhuanxyz/your-relay-passed-the-short-test-now-run-the-200k-token-one-3pnm"&gt;Your Relay Passed the Short Test. Now Run the 200k-Token One&lt;/a&gt;" — the point of a public test method is that anyone can repeat it.&lt;/p&gt;

&lt;p&gt;Results:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Real model.&lt;/strong&gt; Knowledge-cutoff questions: 4/4. The model answers as Claude Opus 5.5, with the knowledge you would expect from it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reasoning: 10/10.&lt;/strong&gt; Ten questions with known answers, including ones that need working code to verify. All ten correct, 8,724 thinking tokens in total.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tools and image: normal.&lt;/strong&gt; Strict tool calling works, structured output works, image recognition works, thinking signatures verify.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long context holds up.&lt;/strong&gt; At 290,811 billed context tokens, the model listed all 15 chapters it was given, none missing. The control run at 155,148 tokens: 8 out of 8.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The model behind the key is the real thing, at full strength, and it sees the full context it is billed for.&lt;/p&gt;

&lt;p&gt;— Davis George · zhuan.xyz&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>programming</category>
      <category>testing</category>
    </item>
    <item>
      <title>Your Relay Passed the Short Test. Now Run the 200k-Token One</title>
      <dc:creator>Davis George</dc:creator>
      <pubDate>Thu, 26 Nov 2026 13:40:10 +0000</pubDate>
      <link>https://dev.to/zhuanxyz/your-relay-passed-the-short-test-now-run-the-200k-token-one-3pnm</link>
      <guid>https://dev.to/zhuanxyz/your-relay-passed-the-short-test-now-run-the-200k-token-one-3pnm</guid>
      <description>&lt;h1&gt;
  
  
  Your Relay Passed the Short Test. Now Run the 200k-Token One
&lt;/h1&gt;

&lt;p&gt;Most relay tests are short. A prompt goes in, a good answer comes out, the price looks right, and everyone declares the relay "full quality." This week a developer forum post showed why that test is not enough — and gave away the method that catches what short tests miss.&lt;/p&gt;

&lt;h2&gt;
  
  
  The test that broke at 200,000 tokens
&lt;/h2&gt;

&lt;p&gt;On November 24, a user on linux.do posted a long-context test of a Claude Max pool relay he did not name. The method is simple enough to steal: build a long document out of chapters of about 20,000 tokens each, bury a six-digit ID in the middle of every chapter, then ask the model to recall the IDs as the conversation grows.&lt;/p&gt;

&lt;p&gt;Below 200,000 tokens, everything was perfect. Ten rounds, 19k to 194k tokens, 10 out of 10 IDs recalled. Tokenizer fingerprints, knowledge questions, reasoning and coding tasks, tool calls, image recognition — all correct, at 80 tokens per second.&lt;/p&gt;

&lt;p&gt;Then it broke. Round 11, just past 200,000 tokens, started failing. Rounds 11 to 20 got 8 out of 10 wrong. And the single big request was worse: one message of about 291,000 tokens, and the model could only list 7 of the 15 chapter IDs. Chapters 4 through 11 had vanished entirely. Chapter 3 cut off mid-sentence, and a "[…]" that was never in the original text had been inserted. The billing still charged the full 291,054 tokens — about 166,000 of them, roughly 60% of the fee, paid for content the model never received.&lt;/p&gt;

&lt;p&gt;That is the part short tests cannot see. A relay can be flawless at 10,000 tokens and quietly drop the middle of your context at 200,000 — and still bill you for all of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The billing numbers did not add up either
&lt;/h2&gt;

&lt;p&gt;The same post found three billing anomalies worth checking on any relay, not just this one:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A cache number that cannot be real.&lt;/strong&gt; At round 10 the context was 194,053 tokens. At round 11 the reported &lt;code&gt;cache_read_input_tokens&lt;/code&gt; was 194,049 — almost exactly the previous round's full total. The author's argument: Anthropic's cache is isolated per model and account, and changing anything in the middle of the prefix invalidates it, so that number could not have come from Anthropic. It looks made up by the relay.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cache pricing charged without cache.&lt;/strong&gt; A request sent with no &lt;code&gt;cache_control&lt;/code&gt; was still billed at the cache-write price — 1.25× the input price.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Input tokens that doubled.&lt;/strong&gt; A request with a 90-token prompt and about 19,000 output tokens was reported as 25,254 / 25,256 input tokens. Roughly double the real input.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these proves intent. The author is careful about that: he says he cannot tell whether the relay or its upstream provider dropped the content. But the pattern — stable billing multipliers, about 1.40× official per dollar, across every stage — is what made him call it systematic rather than random.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to run the same test yourself
&lt;/h2&gt;

&lt;p&gt;You do not need his script. You need the same shape of test:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. A fixed long document.&lt;/strong&gt; Take a real long file — a codebase, a book, a set of meeting notes — and split it into chapters of known size. Bury a unique marker in the middle of each chapter: a random ID, a made-up name, a number that appears nowhere else.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Grow the context in steps.&lt;/strong&gt; Feed the chapters in one conversation, and after each step ask for all the markers so far. Record where recall first fails. A relay that is honest at 50k and broken at 200k will show you exactly where the cliff is.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Reconcile billed tokens against sent tokens.&lt;/strong&gt; Save the token counts you actually sent. Then compare them with what the relay's usage page reports: input tokens, cache reads, cache writes. If the billed number is consistently higher than what you sent, or a cache-read number is suspiciously close to the previous round's total, ask for an explanation — in public, where the answer is on the record.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Publish the method and the result.&lt;/strong&gt; The test only becomes trust when someone else can rerun it. Post the document structure, the markers, the recall scores per round, and the billing comparison. The original post also links an open-source single-file script, relay-bench, that automates the same shape of test; the linux.do thread is the place to find it.&lt;/p&gt;

&lt;h2&gt;
  
  
  One honest caveat
&lt;/h2&gt;

&lt;p&gt;The author of that post runs a relay himself — CoreCode — and his own service's self-test is in the same thread, with his own numbers. Treat the method as the takeaway, not his verdict on any named competitor: nobody has independently replicated his results yet, and he did not name the pool he tested. The reason the post earned 71 likes and comments calling it "professional" is not that his numbers are proven. It is that he published a method anyone can rerun, admitted his own service's weak spots, and let readers check instead of asking them to believe.&lt;/p&gt;

&lt;p&gt;That is now the bar. A relay that publishes a long-context recall test and a billed-versus-sent token reconciliation is making a checkable claim. A relay that only repeats "no downgrade" is making a slogan. Run the 200k test before your next top-up — and if a relay cannot tell you how to verify it, that tells you everything too.&lt;/p&gt;

&lt;p&gt;The cost check, once quality is settled, is the easy part: Claude Fable 5.2 at $1.99/$9.94 per 1M tokens against the official $8/$40 — about a quarter of the official price, verified on the pricing page today — is arithmetic you can repeat next week to see whether it moved. A price that is published, dated, and stable is worth more than a headline multiple nobody can reproduce.&lt;/p&gt;

&lt;p&gt;— Davis George · zhuan.xyz&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>programming</category>
      <category>security</category>
    </item>
    <item>
      <title>That $99.99 Google AI Pro Deal Ends Tomorrow. Count the Account Cost First</title>
      <dc:creator>Davis George</dc:creator>
      <pubDate>Wed, 25 Nov 2026 13:41:32 +0000</pubDate>
      <link>https://dev.to/zhuanxyz/that-9999-google-ai-pro-deal-ends-tomorrow-count-the-account-cost-first-4e5p</link>
      <guid>https://dev.to/zhuanxyz/that-9999-google-ai-pro-deal-ends-tomorrow-count-the-account-cost-first-4e5p</guid>
      <description>&lt;p&gt;Google AI Pro is $99.99 a year right now. Half price, Black Friday, ends November 26.&lt;/p&gt;

&lt;p&gt;On paper it is the cheapest official AI subscription most people will see this year. In the linux.do threads tracking it, nobody disputes the price. What they are actually arguing about is everything around the price: which region your account sits in, whether you have to delete an existing subscription first, whether a phone scan will block you halfway through, and whether the account survives long enough to use what you paid for.&lt;/p&gt;

&lt;p&gt;That is the real cost of the deal, and it is worth counting before tomorrow's deadline.&lt;/p&gt;

&lt;h2&gt;
  
  
  The $99.99 is real. The path to it is not one click.
&lt;/h2&gt;

&lt;p&gt;The tutorial making the rounds lays out the route: start on Google AI Plus monthly ($4.99 a month, some accounts get $1.29 for the first three months), then switch to Pro annual and confirm the checkout price lands at $99.99 a year. If you already have a Jio subscription, delete it first. Your account region cannot be mainland China; US region is recommended. Not every account gets the offer.&lt;/p&gt;

&lt;p&gt;In practice, the comments under the tutorial are a list of friction points. One person's address got assigned to Taiwan. Another only has a dual-currency card and is not sure it will go through. Deleting a subscription can require a phone scan, and if your verification attempts are used up, you are stuck. Some users found a workaround — upgrade to one month of Pro first, then switch to annual, without cancelling anything — but that is the kind of thing you discover after you have already spent the evening on it.&lt;/p&gt;

&lt;p&gt;And if the offer does not appear on your account, the sunk cost is small but real: $4.99 to $5 for a month of Plus you did not want, plus the time. Switch accounts and try again, and you may land in the Hong Kong region instead, with no guarantee the discount shows up there either.&lt;/p&gt;

&lt;p&gt;Nobody in the thread calls $99.99 expensive. They call the process a gamble.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bigger question is whether the account survives
&lt;/h2&gt;

&lt;p&gt;The most-read non-pinned thread on linux.do today is not about the Black Friday deal at all. It is a survey: who here has a Google account, never bound a phone number to it, and still uses it normally after a month?&lt;/p&gt;

&lt;p&gt;104 replies, 3,498 views, 55 people taking part. The conclusion the thread's author drew after the votes came in is blunt: accounts that never bound a phone number are the ones that never triggered verification in the first place — and once verification pops up, a phone number is almost certainly required. If you have no number to bind, a newly registered account only works for as long as nothing triggers a check.&lt;/p&gt;

&lt;p&gt;What triggers a check? The thread's answers are consistent: logging in after a long gap, switching IP or VPN, or signing into a high-value channel like Antigravity after opening a Jio, Pix, or student offer. In other words, exactly the things a heavy user does every day. A lightly used account on one stable device, with no membership attached, is the least likely to be flagged. The account you actually want to use hard is the one most likely to be asked for a phone.&lt;/p&gt;

&lt;p&gt;This is not a Google-only story. The same digest carries a Claude user whose three-year-old account was banned and who just registered a new one to see how long it lasts, and a GPT user wondering whether their account has been flagged because the model keeps reporting it is at capacity. Across platforms, "how long will this account live" has become the shared anxiety — and keeping an account alive has stopped being a one-time registration cost. It is ongoing risk management: stable IPs, careful logins, a spare phone number, and a willingness to throw the account away and start over when verification fails.&lt;/p&gt;

&lt;h2&gt;
  
  
  Subscriptions sell certainty. This one sells a lottery ticket with a good prize.
&lt;/h2&gt;

&lt;p&gt;There is a second thread worth reading alongside the Black Friday one: users comparing GPT Pro and Plus quotas, describing the difference as "worlds apart," and talking about the strange feeling of having quota to spare. The recurring phrase in the Black Friday thread is the same impulse from the other side: once people get the subscription, they immediately want to "use the quota up." A subscription you do not fully use is money wasted; a subscription whose quota gets quietly revised down is money wasted differently.&lt;/p&gt;

&lt;p&gt;That is the shape of the trade-off. A $99.99 annual subscription is cheap if you clear every hurdle, if the account is never flagged, if the region is right, if the quota stays as advertised, and if you use enough of it to justify the year. Each "if" is a small risk on its own. Stacked, they are the reason a forum full of experienced users treats a 50%-off official deal as a project rather than a purchase.&lt;/p&gt;

&lt;p&gt;The alternative is not another subscription. It is paying for exactly what you use, on infrastructure you do not have to keep alive yourself: no account to register, no region to manage, no phone verification to survive, no quota to burn through before it expires. API access priced per million tokens — Claude Fable 5.2 at $1.99/$9.94 against the official $8/$40, GPT-6.2 Sol at $0.19/$0.95 — does not ask you to predict how much you will use next year, or to keep an account healthy until then. You pay for the tokens you actually burn, and the price on the page is the price you pay.&lt;/p&gt;

&lt;p&gt;That is not a claim that one route is always cheaper. If you use an official subscription heavily, every day, and your account never gets flagged, $99.99 a year is hard to beat. But the honest comparison is not $99.99 against the token bill. It is $99.99 plus the region juggling, the subscription deletion, the phone scan, and the risk that the account does not survive the year — against a per-token price that carries none of that.&lt;/p&gt;

&lt;p&gt;The deal ends tomorrow. If you take it, go in with your eyes open: check the region first, expect the phone scan, and treat the $4.99 trial month as the cost of finding out whether your account qualifies. If the process itself is the part you are tired of, that is the signal. The cheapest price is not always the cheapest deal.&lt;/p&gt;

&lt;p&gt;zhuan.xyz&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Free Claude Code Is Real. Here's What It Actually Costs You</title>
      <dc:creator>Davis George</dc:creator>
      <pubDate>Tue, 24 Nov 2026 13:44:12 +0000</pubDate>
      <link>https://dev.to/zhuanxyz/free-claude-code-is-real-heres-what-it-actually-costs-you-og9</link>
      <guid>https://dev.to/zhuanxyz/free-claude-code-is-real-heres-what-it-actually-costs-you-og9</guid>
      <description>&lt;h1&gt;
  
  
  Free Claude Code Is Real. Here's What It Actually Costs You
&lt;/h1&gt;

&lt;p&gt;A short video promising "Claude Code for free instead of $20 a month" pulled 2,200 likes and over a hundred comments on Facebook this weekend. The comments split exactly the way you'd expect: half the viewers wanted the setup link, the other half wanted to know the catch.&lt;/p&gt;

&lt;p&gt;Both groups are right. The trick works — and the catch is real. Here's the honest version.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the trick actually works
&lt;/h2&gt;

&lt;p&gt;The setup has three moving parts, and none of them is magic.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. A local router.&lt;/strong&gt; The tool in the video is FreeLLMAPI, an open-source project (MIT license, ~57,600 stars on GitHub at the time of writing) that runs on your own machine. It collects the free tiers of dozens of AI providers — Google AI Studio, Groq, Cerebras, Mistral, and more — behind a single OpenAI-compatible &lt;code&gt;/v1&lt;/code&gt; endpoint. You talk to one address; it decides which provider answers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Free API keys.&lt;/strong&gt; Each provider's free tier is small on its own — a few million tokens a month, a few thousand requests a day. Stacked together, the project claims roughly 10.1 billion tokens a month across 87 providers and 1,313 endpoints. You paste your free keys into the router's dashboard; it stores them encrypted and tracks usage per key so you stay under each cap.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Pointing your client at the router.&lt;/strong&gt; Claude Desktop has a little-known Developer Mode setting — &lt;em&gt;Configure Third-Party Inference&lt;/em&gt; — that lets you swap the model behind the interface. Set it to Gateway mode, point the base URL at your local router, and Claude Desktop keeps its Projects, Artifacts, and agent harness while a free model does the thinking. Claude Code gets the same treatment with one setup command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx freellmapi setup-claude --url http://localhost:3001 --api-key &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;unified-key&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Any OpenAI-compatible client can use the same endpoint:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"http://localhost:3001/v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"freellmapi-..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The cleverest part is the fallback chain. When one provider rate-limits you mid-task, the router retries the next model in your chain instead of failing. Conversations stick to one model for 30 minutes, and if a switch does happen mid-chat, the router passes a short handoff note so the new model knows where the work stood.&lt;/p&gt;

&lt;p&gt;That is a genuinely well-built piece of plumbing. It is also not a free lunch.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fine print, in four parts
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;You don't get the frontier model.&lt;/strong&gt; This was the top complaint in the video's own comments: "We need Opus and Fable, not Gemini low model." The free pool serves the models providers give away — fast, capable, but not the frontier reasoning models. For drafting, summarizing, and autocomplete, that's often plenty. For the hardest debugging sessions, the quality gap is the whole ballgame. The interface is Claude's; the brain is not.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Free tiers throttle, especially at peak hours.&lt;/strong&gt; The router's failover softens this — a 429 on provider A becomes a retry on provider B — but a mid-task model switch still costs you coherence, even with the handoff note. If your work can't tolerate a model swap halfway through a refactor, a free pool is the wrong place to run it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You become the operator.&lt;/strong&gt; The router is a local server that has to stay running. Keys need rotating when providers change quotas — and they change them without notice. The free install's model catalog updates on a monthly snapshot, so new models reach you about 30 days after they join the live feed. None of this is hard, but it is a recurring chore, and chores are a cost too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your prompts travel further than you think.&lt;/strong&gt; Every request goes to whichever free provider is serving it at that moment, and each provider has its own data policy. The project's own README labels the whole thing "personal experimentation only." Don't route proprietary code or secrets through a pool of free tiers you haven't read the terms of.&lt;/p&gt;

&lt;h2&gt;
  
  
  So when is it worth it?
&lt;/h2&gt;

&lt;p&gt;It comes down to three questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Do I need frontier quality, or just a capable pair of hands?&lt;/strong&gt; Learning, side projects, first drafts, and routine edits: the free pool is fine. Production code under a deadline: pay for the model you actually want.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Can I tolerate a mid-task switch?&lt;/strong&gt; If a model swap mid-conversation would wreck your flow, the free pool's failover is a liability, not a feature.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Am I happy running a local server?&lt;/strong&gt; If the answer is no, the setup friction alone wipes out the savings.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The $20-a-month plan buys you one thing the free router can't: a single frontier model, always available, with nobody else's rate limit in the way. The free router buys you something else: a zero-bill sandbox where you can experiment, learn the agent workflow, and find out which tasks actually need the expensive model before you pay for it.&lt;/p&gt;

&lt;p&gt;That's the honest trade. Free Claude Code is real — it just costs you the frontier model, some reliability, and a bit of your time. For a lot of developers, that's a fair deal. For the work that matters most, it isn't. Know which kind of work you're doing before you pick a side.&lt;/p&gt;

&lt;p&gt;— Davis George · zhuan.xyz&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>ai</category>
      <category>programming</category>
      <category>api</category>
    </item>
    <item>
      <title>MCP Isn't Dead — Your Agent Just Stopped Reading Every Tool Definition</title>
      <dc:creator>Davis George</dc:creator>
      <pubDate>Mon, 23 Nov 2026 13:44:14 +0000</pubDate>
      <link>https://dev.to/zhuanxyz/mcp-isnt-dead-your-agent-just-stopped-reading-every-tool-definition-l42</link>
      <guid>https://dev.to/zhuanxyz/mcp-isnt-dead-your-agent-just-stopped-reading-every-tool-definition-l42</guid>
      <description>&lt;h1&gt;
  
  
  MCP Isn't Dead — Your Agent Just Stopped Reading Every Tool Definition
&lt;/h1&gt;

&lt;p&gt;Two explainers went viral this weekend, both with the same headline: MCP is dead. Both videos described the same thing — Cloudflare's Code Mode and Anthropic's programmatic tool calling — and both ended with the same punchline: the model doesn't call tools one by one anymore. It writes a program that calls them.&lt;/p&gt;

&lt;p&gt;The obituary is wrong. The shift is real. And if you build agents, it changes how you should design them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem: tool definitions eat your context alive
&lt;/h2&gt;

&lt;p&gt;Classic tool calling works like this: you describe every tool — name, description, JSON schema — and paste all of it into the model's context. Every step of the conversation re-sends those definitions. Fifteen tools at ~150 tokens each add 2,250 tokens to every request; a six-step task sends them six times, 13,500 tokens before any real work happens.&lt;/p&gt;

&lt;p&gt;It gets worse as you add integrations. Anthropic has said Claude's tool-selection accuracy degrades past roughly 30 to 50 available tools, and its own example setup — GitHub, Slack, Sentry, Grafana and Splunk — totals 58 tools and about 55,000 tokens before the conversation even starts.&lt;/p&gt;

&lt;p&gt;The extreme case is Cloudflare: its full API exposed as one-tool-per-endpoint MCP would consume about 1.17 million tokens of tool definitions. No model has a context window you want to spend that way.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Code Mode actually does
&lt;/h2&gt;

&lt;p&gt;Code Mode, introduced by Cloudflare in September 2025 and adopted in different forms by Anthropic and others, flips the arrangement. Instead of handing the model a phone book of tools, you hand it a typed code API and exactly one tool: run this code.&lt;/p&gt;

&lt;p&gt;The model writes a short program against that API, the program runs in a sandbox, and only what the program prints comes back into the model's context. Everything in between — the intermediate results, the pagination, the filtering — never touches the context window.&lt;/p&gt;

&lt;p&gt;Take the example from one of this weekend's videos: create 31 daily meetings for January. The old way is 31 tool calls, each one a full round trip through the model, with the conversation history growing every time. The new way is one program:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;day&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;day&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="mi"&gt;31&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;day&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;calendar&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;createEvent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Daily standup"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sb"&gt;`2026-01-${String(day).padStart(2, "0")}`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;start&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"09:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;durationMinutes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"31 events created"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One script, one execution, one short result back. Anthropic's own published example is more dramatic: moving a two-hour meeting transcript from Google Drive to a Salesforce lead took 150,000 tokens with direct tool calls — the full transcript passed through the context twice — and about 2,000 tokens when the agent wrote code to do it instead, a 98.7% reduction. Cloudflare's whole-API MCP server, launched in February 2026, covers 2,500+ endpoints with just two tools, &lt;code&gt;search()&lt;/code&gt; and &lt;code&gt;execute()&lt;/code&gt;, in about 1,000 tokens.&lt;/p&gt;

&lt;p&gt;There is a second, quieter reason this works: models are better at writing code than at emitting tool calls. They have read millions of real programs; they have seen far fewer examples of made-up tool-call JSON. Code is their native language. Tool calling is a dialect they learned later.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why "MCP is dead" is the wrong conclusion
&lt;/h2&gt;

&lt;p&gt;Here is the part the viral headlines skip: Cloudflare's two tools, &lt;code&gt;search()&lt;/code&gt; and &lt;code&gt;execute()&lt;/code&gt;, are themselves MCP tools. MCP still does the connection, the authorization, and the documentation. The model just stops reading every tool description directly.&lt;/p&gt;

&lt;p&gt;MCP didn't die. It became infrastructure — the plumbing underneath the code the model writes. The agent still talks to MCP servers; it talks to them through a program now instead of through a thousand JSON blobs.&lt;/p&gt;

&lt;p&gt;The same pattern is spreading beyond APIs. Claude Code gained its own Code Mode in November 2026, letting Claude batch its file and shell operations into small scripts instead of requesting them one round trip at a time. OpenAI ships the same idea under the same name Anthropic uses: programmatic tool calling.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this changes if you build agents
&lt;/h2&gt;

&lt;p&gt;Four practical consequences, in the order that matters:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Design tools as code-first APIs, not as chat prompts.&lt;/strong&gt; A tool with a clean typed signature — &lt;code&gt;createEvent({title, date, start})&lt;/code&gt; — is easy for a model to call from code and easy for you to test without a model at all. A tool whose behaviour lives in a paragraph of prose is neither.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Batch repetitive work in code, not in conversation.&lt;/strong&gt; Any task that repeats the same call with different arguments — creating events, filing tickets, updating rows — belongs in a loop inside one execution, not in thirty turns of dialogue.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Filter data where it lives.&lt;/strong&gt; If an agent needs three names out of two thousand expense lines, the filtering should happen in the sandbox, not in the model's context. Only the three names should come back. Hauling data through the context is the most expensive way to read it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Treat the sandbox as mandatory, not optional.&lt;/strong&gt; Running model-written code is only safe inside an isolate with no network access and no credentials in reach. Cloudflare runs generated code in a V8 isolate where &lt;code&gt;fetch()&lt;/code&gt; throws and the only way out is through the connected MCP servers — the code literally cannot exfiltrate a key it cannot see. If your agent writes code, that boundary is the feature, not the fine print.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest caveats
&lt;/h2&gt;

&lt;p&gt;None of this means your bill drops by 98%. The savings are measured in context tokens, and cached re-reads of tool definitions are already billed at a fraction of normal input rates — so the saving on an invoice is smaller than the saving on a token count. Anthropic's own average figure for programmatic tool calling is a 37% usage reduction on complex research tasks, not a 98% one; the 98.7% number comes from a single task designed to show the extreme.&lt;/p&gt;

&lt;p&gt;Small tool sets gain little. If your agent has five tools, the definitions cost almost nothing and Code Mode adds complexity for no benefit. And Code Mode needs a sandbox you trust — without one, you are letting a model execute arbitrary code, which is a security incident waiting for a prompt injection.&lt;/p&gt;

&lt;p&gt;The right mental model is boring, which is why it survives the hype cycle: tool calling was the first draft of how agents use tools. Code Mode is the second draft — same tools, same servers, but the model finally gets to use the skill it is actually best at. MCP stays. The phone book goes.&lt;/p&gt;

&lt;p&gt;— Davis George · zhuan.xyz&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>api</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Build Your First AI Agent in 30 Minutes (and the 3 Parts Most Tutorials Skip)</title>
      <dc:creator>Davis George</dc:creator>
      <pubDate>Sun, 22 Nov 2026 13:42:20 +0000</pubDate>
      <link>https://dev.to/zhuanxyz/build-your-first-ai-agent-in-30-minutes-and-the-3-parts-most-tutorials-skip-2opo</link>
      <guid>https://dev.to/zhuanxyz/build-your-first-ai-agent-in-30-minutes-and-the-3-parts-most-tutorials-skip-2opo</guid>
      <description>&lt;h1&gt;
  
  
  Build Your First AI Agent in 30 Minutes (and the 3 Parts Most Tutorials Skip)
&lt;/h1&gt;

&lt;p&gt;Every feed this week has a "build an AI agent in 30 minutes" post. Most of them hand you a prompt to paste and a screenshot of the result. That is not an agent — that is a prompt with good lighting.&lt;/p&gt;

&lt;p&gt;An agent is a loop: the model decides what to do next, uses a tool, looks at the result, and repeats until the job is done or it runs out of steps. If you understand that loop, you can build one in half an hour. If you don't, no pasted prompt will save you.&lt;/p&gt;

&lt;p&gt;Here is a small one you can actually build, with a job narrow enough to finish: a release-notes agent. It reads yesterday's git history and drafts release notes into a file. Nothing more. That narrowness is the whole trick.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Define one job, in one sentence
&lt;/h2&gt;

&lt;p&gt;Write the job down before you write any code. If you can't state it in one sentence, the agent can't either.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Read the commits since the last release tag, group them by what changed, and write a draft RELEASE_NOTES.md. Do not commit, push, or edit any other file."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That last clause matters as much as the first. An agent without a boundary will eventually do something you didn't ask for. Write the boundary into the instructions, and then enforce it again in code (Step 4).&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Give it context it can actually use
&lt;/h2&gt;

&lt;p&gt;Models don't need a 200-line system prompt. They need three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The job&lt;/strong&gt; — the sentence above.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The repo&lt;/strong&gt; — the agent should read the git log itself rather than you pasting it in. That is what tools are for.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your conventions&lt;/strong&gt; — a short file the agent reads on every run. Call it &lt;code&gt;AGENT.md&lt;/code&gt;:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;# Release notes conventions
&lt;/span&gt;&lt;span class="k"&gt;- &lt;/span&gt;Group changes under: Features, Fixes, Internal.
&lt;span class="k"&gt;- &lt;/span&gt;One bullet per commit; keep each under 20 words.
&lt;span class="k"&gt;- &lt;/span&gt;Never invent a feature that isn't in the commits.
&lt;span class="k"&gt;- &lt;/span&gt;If a commit message is unclear, write "Unclear — needs human review"
  instead of guessing.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This file is the cheapest leverage in the whole build. When the output is wrong, you usually fix it here, not in the code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Give it three tools, not thirty
&lt;/h2&gt;

&lt;p&gt;A tool is just a function the model can call, described in plain language. Three is enough for this job:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="no"&gt;TOOLS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"function"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"function"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"git_log"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s2"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"List commits since a tag. Returns one line per commit."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s2"&gt;"parameters"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"object"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s2"&gt;"properties"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                    &lt;span class="s2"&gt;"since_tag"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"string"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"e.g. v1.4.0"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
                &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s2"&gt;"required"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"since_tag"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"function"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"function"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"read_file"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s2"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Read a file from the repo."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s2"&gt;"parameters"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"object"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s2"&gt;"properties"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                    &lt;span class="s2"&gt;"path"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"string"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s2"&gt;"required"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"path"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"function"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"function"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"write_notes"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s2"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Write the draft release notes to RELEASE_NOTES.md."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s2"&gt;"parameters"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"object"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s2"&gt;"properties"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                    &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"string"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s2"&gt;"required"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notice what is &lt;em&gt;not&lt;/em&gt; here: no commit tool, no push tool, no shell tool. Every tool you add is a permission you grant. Start with the smallest set that can finish the job, and add tools only when a real run proves you need one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: The loop — the whole agent in 30 lines
&lt;/h2&gt;

&lt;p&gt;This is the part the pasted-prompt tutorials skip. The loop is the agent.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# any OpenAI-compatible API works here&lt;/span&gt;
&lt;span class="no"&gt;MAX_STEPS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;run_agent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;job&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"system"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"AGENT.md"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;read&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;job&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;step&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;MAX_STEPS&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;resp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
            &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"your-model"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tools&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;TOOLS&lt;/span&gt;
        &lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;msg&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;choices&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;
        &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tool_calls&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt;  &lt;span class="c1"&gt;# done: the model answered instead of acting&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;call&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tool_calls&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;execute_tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;call&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# your code runs git_log/read_file/write_notes&lt;/span&gt;
            &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
                &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"tool"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"tool_call_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;call&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
            &lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"Stopped after 10 steps — check the log."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Three details make this safe enough to run on a real repo:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;MAX_STEPS&lt;/code&gt; is a hard stop.&lt;/strong&gt; A model that keeps calling tools forever is not working hard; it is stuck. Ten steps is plenty for this job.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The model never touches the repo directly.&lt;/strong&gt; It asks for &lt;code&gt;git_log&lt;/code&gt;; your code runs the command. That is the boundary from Step 1, enforced where it counts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Every step is logged.&lt;/strong&gt; Append each tool call and result to a file. When the output is wrong, the log tells you whether the model misread the commits or your tool returned garbage. Without the log, you are guessing.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 5: Give it memory (the part that makes it better next week)
&lt;/h2&gt;

&lt;p&gt;A one-shot agent starts from zero every run. A useful one remembers corrections. The simplest memory that works: after each run, append what you fixed to a file, and load that file in the system prompt next time.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;# MEMORY.md
&lt;/span&gt;&lt;span class="k"&gt;- &lt;/span&gt;2026-11-20: "Dependency bumps go under Internal, never Features."
&lt;span class="k"&gt;- &lt;/span&gt;2026-11-21: "If two commits touch the same file, merge them into one bullet."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two rules, written in plain language, and the agent stops making the same two mistakes. This is the same idea as a project's &lt;code&gt;CLAUDE.md&lt;/code&gt; or a skills file in tools like Claude Code: conventions and corrections, stored as text, read on every run. No database, no embeddings, no vector store — a text file is enough until your memory file outgrows a single screen.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 6: Test it on a repo you don't care about
&lt;/h2&gt;

&lt;p&gt;Before pointing this at a real project, run it against a small test repo where you already know what the release notes should say. Then check three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Did it use only the tools you gave it?&lt;/strong&gt; Read the log.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Did it change only &lt;code&gt;RELEASE_NOTES.md&lt;/code&gt;?&lt;/strong&gt; Check &lt;code&gt;git status&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is every bullet traceable to a real commit?&lt;/strong&gt; If one isn't, the model invented it — and your &lt;code&gt;AGENT.md&lt;/code&gt; needs a sharper rule, not a bigger model.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If all three pass, you have an agent. If any fails, you have a demo.&lt;/p&gt;

&lt;h2&gt;
  
  
  What 30 minutes actually buys you
&lt;/h2&gt;

&lt;p&gt;Thirty minutes gets you a working loop, three tools, and one narrow job that runs end to end. It does &lt;em&gt;not&lt;/em&gt; get you a general-purpose agent, and anyone selling you one in 30 minutes is selling you a prompt.&lt;/p&gt;

&lt;p&gt;The things that take longer — and are worth the time — are the unglamorous parts: the conventions file, the memory file, the step log, and the test run on a repo you don't care about. Those are what turn a clever demo into a tool you run every week without watching it.&lt;/p&gt;

&lt;p&gt;Start narrow. One job, three tools, ten steps. Get that right, and the second agent takes 15 minutes.&lt;/p&gt;

&lt;p&gt;— Davis George · zhuan.xyz&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>ai</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Before You Ship That Vibe-Coded App, Run This 10-Minute Secrets Audit</title>
      <dc:creator>Davis George</dc:creator>
      <pubDate>Sat, 21 Nov 2026 13:41:05 +0000</pubDate>
      <link>https://dev.to/zhuanxyz/before-you-ship-that-vibe-coded-app-run-this-10-minute-secrets-audit-hbb</link>
      <guid>https://dev.to/zhuanxyz/before-you-ship-that-vibe-coded-app-run-this-10-minute-secrets-audit-hbb</guid>
      <description>&lt;h1&gt;
  
  
  Before You Ship That Vibe-Coded App, Run This 10-Minute Secrets Audit
&lt;/h1&gt;

&lt;p&gt;This week a post went viral in a vibe-coding group. A developer had built a booking app for a small studio with AI tools — Cursor and Claude for the code, Supabase for the backend, Stripe for payments, OpenAI and Resend for the rest. It worked. Customers booked. Then someone looked at what the app was actually shipping to every visitor's browser — and found the OpenAI key, the Stripe secret key, and the Resend key sitting in plain text in the JavaScript bundle.&lt;/p&gt;

&lt;p&gt;The comments split instantly. Half the thread called it a rookie mistake; the other half pointed out that the same mistake is now being made at industrial scale, by people who never wrote a line of the code that made it. Both sides are right. And that is exactly why this audit matters: AI coding tools are very good at making things work, and very bad at telling you what you just exposed while doing it.&lt;/p&gt;

&lt;p&gt;Here is the ten-minute check that would have caught it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why keys end up in the frontend
&lt;/h2&gt;

&lt;p&gt;Modern frontend frameworks inline certain environment variables into the JavaScript bundle at build time. That is by design — the browser cannot read your server's environment, so anything the client-side code needs has to be baked into the files it downloads.&lt;/p&gt;

&lt;p&gt;In Vite, any variable prefixed with &lt;code&gt;VITE_&lt;/code&gt; is exposed to client code. In Next.js, it is &lt;code&gt;NEXT_PUBLIC_&lt;/code&gt;. The prefix is the whole security model: if a variable has that prefix, it is public. If an AI agent (or a tired human) puts an API key behind that prefix, the key ships to everyone who opens the page.&lt;/p&gt;

&lt;p&gt;The same thing happens more quietly when a &lt;code&gt;.env&lt;/code&gt; file ends up in the deployed folder, or when a key is pasted directly into source code "just to get it working" and never moved. The app works. The tests pass. The key is public.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check 1: grep your build output, not your source
&lt;/h2&gt;

&lt;p&gt;Your source code can look clean while the built bundle leaks. The bundle is what the browser gets, so check the bundle:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Build, then search the output for anything key-shaped&lt;/span&gt;
npm run build
grep -r &lt;span class="s2"&gt;"sk-live"&lt;/span&gt; dist/ &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"no live Stripe key in bundle"&lt;/span&gt;
grep -r &lt;span class="s2"&gt;"sk-"&lt;/span&gt; dist/ &lt;span class="o"&gt;|&lt;/span&gt; head -20
grep -ri &lt;span class="s2"&gt;"api[_-]key"&lt;/span&gt; dist/ &lt;span class="o"&gt;|&lt;/span&gt; head -20
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Any hit is a leak, full stop. It does not matter whether the key "looks" unused — if it is in the bundle, a visitor can read it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check 2: see what your server actually serves
&lt;/h2&gt;

&lt;p&gt;Bots scan the internet for &lt;code&gt;/.env&lt;/code&gt; constantly. Check what your deployment returns for the paths that should not exist:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -o /dev/null -w &lt;span class="s2"&gt;"%{http_code}\n"&lt;/span&gt; https://your-app.com/.env
curl -s https://your-app.com/.env &lt;span class="o"&gt;|&lt;/span&gt; head -5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The first command should print &lt;code&gt;404&lt;/code&gt;. The second should print nothing. If either shows file contents, your environment file is being served — fix the deployment before you fix anything else. The same test applies to &lt;code&gt;.env.local&lt;/code&gt;, &lt;code&gt;config.json&lt;/code&gt;, and any backup files sitting in the public folder.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check 3: put a hard cap on every key
&lt;/h2&gt;

&lt;p&gt;A leaked key with no spending limit is an open wallet. A leaked key with a $20 hard cap is an embarrassing afternoon. Before shipping, open every provider dashboard and confirm:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;OpenAI / any LLM provider:&lt;/strong&gt; a hard monthly spending limit, not just a soft alert.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stripe:&lt;/strong&gt; the secret key is never in client code — use the publishable key (&lt;code&gt;pk_&lt;/code&gt;) in the browser and keep &lt;code&gt;sk_live_&lt;/code&gt; on the server. Restricted keys with minimal permissions beat a full secret key everywhere.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Email / SMS providers:&lt;/strong&gt; a daily sending cap, so a stolen key cannot burn your reputation overnight.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Caps do not prevent leaks. They limit the blast radius, which is the part you can control after the fact.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check 4: rotate anything that was ever exposed
&lt;/h2&gt;

&lt;p&gt;If a key has ever been in a frontend bundle, a public repo, a screenshot, or a chat log, treat it as compromised. Rotation is unglamorous and it is the only fix:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a new key with the same permissions.&lt;/li&gt;
&lt;li&gt;Update the server-side configuration to use it.&lt;/li&gt;
&lt;li&gt;Delete the old key — do not just stop using it.&lt;/li&gt;
&lt;li&gt;Check the provider's usage logs for calls you did not make.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you are unsure whether a key was exposed, rotate it anyway. The cost of rotating is minutes; the cost of guessing wrong is someone else's bill.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix that actually works
&lt;/h2&gt;

&lt;p&gt;The durable fix is architectural, not a checklist item: &lt;strong&gt;API keys live on the server, and the browser talks to your server instead.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Don't do this in the browser:&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"https://api.openai.com/v1/chat/completions"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;Authorization&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sb"&gt;`Bearer ${import.meta.env.VITE_OPENAI_KEY}`&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// Do this instead — the key stays in an edge function:&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"/api/chat"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"POST"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;message&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;/api/chat&lt;/code&gt; endpoint — a Supabase edge function, a Vercel serverless function, a tiny Express route, whatever your stack offers — holds the key, validates the request, and calls the provider. The browser never sees the key at all. This is the one structural change that makes checks 1–4 mostly unnecessary.&lt;/p&gt;

&lt;p&gt;Two habits make it stick:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Secret scanning in CI.&lt;/strong&gt; Tools like gitleaks or GitHub's secret scanning catch a key the moment it is committed. Add one before you need it, not after.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Separate keys per environment.&lt;/strong&gt; A development key, a staging key, a production key. When one leaks, you rotate one, not everything.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The real lesson is not about keys
&lt;/h2&gt;

&lt;p&gt;The reason this story hit a nerve is not that one app leaked three keys. It is that the failure mode is invisible to the person shipping the app. The AI agent did exactly what it was asked to do: build a working booking app. Security review was never part of the prompt, so it never happened.&lt;/p&gt;

&lt;p&gt;That is the gap vibe coding creates. The tools compress the time from idea to working software from weeks to an afternoon — but they do not compress the review. The review is still your job, and it is the part that cannot be skipped just because the building got faster.&lt;/p&gt;

&lt;p&gt;Ten minutes, four checks, before every deploy. The app you ship next will work just as well — and this time, only you will hold the keys to it.&lt;/p&gt;

&lt;p&gt;— Davis George · zhuan.xyz&lt;/p&gt;

</description>
      <category>programming</category>
      <category>ai</category>
      <category>security</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Your AI Coding Agent Is a Junior Hire, Not a Genius — Manage It Like One</title>
      <dc:creator>Davis George</dc:creator>
      <pubDate>Fri, 20 Nov 2026 13:42:32 +0000</pubDate>
      <link>https://dev.to/zhuanxyz/your-ai-coding-agent-is-a-junior-hire-not-a-genius-manage-it-like-one-18el</link>
      <guid>https://dev.to/zhuanxyz/your-ai-coding-agent-is-a-junior-hire-not-a-genius-manage-it-like-one-18el</guid>
      <description>&lt;h1&gt;
  
  
  Your AI Coding Agent Is a Junior Hire, Not a Genius — Manage It Like One
&lt;/h1&gt;

&lt;p&gt;A post doing the rounds this week reports a developer burning roughly 2 billion tokens in a single day across a fleet of coding agents — and, by his account, paying a small fraction of what list API prices would suggest. The comments under it weren't arguing about the numbers. They were asking the same question: how do you organise that much agent work without it turning into very expensive noise?&lt;/p&gt;

&lt;p&gt;The answer is unglamorous, and it is the same one every team that runs agents at volume eventually lands on: management.&lt;/p&gt;

&lt;p&gt;Your coding agent is not a genius colleague. It is a very fast junior hire who never sleeps, never asks a clarifying question unless forced to, and will happily burn an afternoon confidently doing the wrong thing. Treat it like one and it becomes the best hire you ever made. Treat it like an oracle and it becomes your most expensive mistake.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Give it a job description, not a wish
&lt;/h2&gt;

&lt;p&gt;"Build me a dashboard" is a wish. A junior hire given that wish will guess — and guess wrong in ways you only discover later.&lt;/p&gt;

&lt;p&gt;A job description has three parts: the task, the boundaries, and the definition of done. Write all three before the agent starts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Task:&lt;/strong&gt; one outcome, small enough to verify in a minute. "Add a &lt;code&gt;/health&lt;/code&gt; endpoint that returns 200 and the app version" beats "improve the API."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Boundaries:&lt;/strong&gt; which files it may touch, which it must not, and what it must never do without asking (migrations, secrets, deleting data).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Definition of done:&lt;/strong&gt; the exact checks that must pass — tests green, lint clean, types check. If you can't state it, the agent can't know it either.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Small tasks have a second benefit: they cap the blast radius. A bad 20-line change is a revert. A bad 2,000-line change is a weekend.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Write the SOP once, reuse it forever
&lt;/h2&gt;

&lt;p&gt;The single highest-leverage file in an agent-driven repo is the instructions file the agent reads every time — &lt;code&gt;CLAUDE.md&lt;/code&gt;, &lt;code&gt;AGENTS.md&lt;/code&gt;, or your tool's equivalent. This is where management becomes a system instead of a repeated conversation.&lt;/p&gt;

&lt;p&gt;A good one is short, specific, and enforceable:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;# Project rules
&lt;/span&gt;&lt;span class="k"&gt;- &lt;/span&gt;Run &lt;span class="sb"&gt;`npm test`&lt;/span&gt; and &lt;span class="sb"&gt;`npm run lint`&lt;/span&gt; before marking any task done.
&lt;span class="k"&gt;- &lt;/span&gt;Never edit files under &lt;span class="sb"&gt;`migrations/`&lt;/span&gt; without asking.
&lt;span class="k"&gt;- &lt;/span&gt;Keep functions under 40 lines; extract helpers instead.
&lt;span class="k"&gt;- &lt;/span&gt;If a test fails twice in a row, stop and report — do not retry blindly.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notice what this does: it moves your judgement out of your head and into a file the agent cannot forget. Every new agent session starts with the same rules, the same checks, the same bar. That is onboarding, and it costs you twenty minutes once.&lt;/p&gt;

&lt;p&gt;Update the file whenever an agent makes a mistake you had to correct. Each correction is a rule the next hundred sessions will follow for free.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Verification is the manager's job
&lt;/h2&gt;

&lt;p&gt;An agent that marks its own homework will pass itself every time. The verification step belongs to you — or rather, to a check the agent cannot argue with.&lt;/p&gt;

&lt;p&gt;Make every task end with the same loop, and make the loop mechanical:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# No task is "done" until this passes&lt;/span&gt;
npm run lint &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; npm run typecheck &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; npm &lt;span class="nb"&gt;test&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Tests, type checks, and linters are not bureaucracy here; they are the review meeting. An agent that writes code and then runs the suite is an agent that catches its own regressions before you ever see them. An agent that skips that step will hand you green-looking code with a broken build.&lt;/p&gt;

&lt;p&gt;For anything that matters — auth, payments, data deletion — add a human review gate. The agent proposes, you approve the diff. That gate is not a lack of trust in the tool; it is the same gate you would put in front of any junior's first pull request.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Route work to the right brain
&lt;/h2&gt;

&lt;p&gt;Not every task deserves your strongest model. Formatting, boilerplate, renaming, simple refactors, and summarising logs are bulk work: fast, cheap models handle them well. Architecture decisions, hard debugging, and security-sensitive code are judgement work: that is where the frontier model earns its price.&lt;/p&gt;

&lt;p&gt;A routing rule of thumb, as a sketch:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;pick_model&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;task&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;task&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;kind&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"format"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"boilerplate"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"simple-refactor"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"fast-cheap-model"&lt;/span&gt;    &lt;span class="c1"&gt;# bulk work, low stakes&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;task&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;kind&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"architecture"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"hard-debug"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"security"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"frontier-model"&lt;/span&gt;      &lt;span class="c1"&gt;# judgement work, high stakes&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"balanced-model"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The exact model names matter less than the habit: decide the tier by the task, not by default. Teams that route deliberately routinely find that most of their token volume is mechanical work that never needed the expensive model at all.&lt;/p&gt;

&lt;p&gt;Two more levers stack on top of routing. First, caching: the repo context, system prompt, and instructions your agent re-reads every session are the same text over and over — prompt caching turns that repetition from a cost into a discount. Second, batching: five similar small tasks in one session share context; five separate sessions pay for it five times.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Count results, not tokens
&lt;/h2&gt;

&lt;p&gt;The easiest trap in agent work is optimising the wrong number. Token counts feel precise and managerial. They are not the work. The work is accepted diffs, passing tests, and shipped features.&lt;/p&gt;

&lt;p&gt;Before you scale up agent usage, pick three numbers that actually describe output:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tasks completed per week, as verified by your checks — not tasks attempted.&lt;/li&gt;
&lt;li&gt;Revert rate: how often agent-written code gets rolled back or heavily rewritten.&lt;/li&gt;
&lt;li&gt;Time from task to merged: where does it actually get stuck?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If tokens go up and these numbers don't, you are not getting more productive. You are token-maxxing — producing motion instead of software. The developer in that viral post was not celebrating the 2 billion tokens. He was celebrating that the tokens turned into audited, checked-off work at a cost he could afford. The tokens were the input. The checklist was the product.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changes on Monday
&lt;/h2&gt;

&lt;p&gt;You don't need a platform, a budget, or a re-org to start managing agents properly. You need four things, and you can have them before lunch:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;One instructions file in the repo with your real rules.&lt;/li&gt;
&lt;li&gt;A definition of done — tests, lint, types — that ends every task.&lt;/li&gt;
&lt;li&gt;A routing habit: cheap models for bulk work, strong models for judgement work.&lt;/li&gt;
&lt;li&gt;A weekly count of completed, verified tasks — not tokens burned.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Agents don't self-manage. That's not a flaw in the tool; it's the job description. The developers getting the most out of them right now aren't the ones with the cleverest prompts. They're the ones who got good at being a manager.&lt;/p&gt;

&lt;p&gt;— Davis George · zhuan.xyz&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Your Model Disappeared Overnight. Here's How to Vet a Relay Before the Next One Does</title>
      <dc:creator>Davis George</dc:creator>
      <pubDate>Thu, 19 Nov 2026 13:40:09 +0000</pubDate>
      <link>https://dev.to/zhuanxyz/your-model-disappeared-overnight-heres-how-to-vet-a-relay-before-the-next-one-does-158m</link>
      <guid>https://dev.to/zhuanxyz/your-model-disappeared-overnight-heres-how-to-vet-a-relay-before-the-next-one-does-158m</guid>
      <description>&lt;p&gt;On November 19, a developer opened Codex to keep working on a project and found GPT-6.2 Sol gone. Not deprecated, not renamed — just gone, mid-project. Within a minute the post was on the front page of linux.do: &lt;a href="https://linux.do/t/topic/3202167" rel="noopener noreferrer"&gt;"My 6.2 Sol stopped working"&lt;/a&gt;. The same day, a free relay announced its GPT-6.2 Astra was "temporarily delisted."&lt;/p&gt;

&lt;p&gt;This was not a one-off. Sol has vanished or been rate-limited in every generation — 6.0, 6.1, 6.2 — and the related threads go back months. The lesson developers are drawing is not "pick a better model." It is: the model you build on can disappear overnight, and the question to ask any relay is not only what it costs, but whether it will still be there tomorrow.&lt;/p&gt;

&lt;h2&gt;
  
  
  The demand is already public
&lt;/h2&gt;

&lt;p&gt;The same day, in a thread titled &lt;a href="https://linux.do/t/topic/3201421" rel="noopener noreferrer"&gt;"Google has stood up"&lt;/a&gt;, users were openly asking for a cheap Gemini relay. Their reasons were specific, not price-only: opening an account themselves is a hassle, Google's IP and payment checks are strict, and Codex Fast burns through quota too fast. Two more users immediately replied "+1, I need this too."&lt;/p&gt;

&lt;p&gt;That is the shape of real demand: not "cheapest model wins," but "I want this model, I don't want to maintain the account, and I want the cost to be predictable." Any relay that answers only the price part is answering the wrong question.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three checks before you depend on a relay
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Is the price public, dated, and checkable?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A price you cannot verify is a rumour. Look for a pricing page that shows when it was last synced and lists each model with input and output rates against the vendor's official price.&lt;/p&gt;

&lt;p&gt;As a worked example, using prices listed on &lt;a href="https://zhuan.xyz/pricing" rel="noopener noreferrer"&gt;zhuan.xyz/pricing&lt;/a&gt; today (page sync 2026-11-20 21:22 UTC, 23 models): GPT-6.2 Sol is listed at $0.19 / $0.95 per million tokens against the official $2 / $10 — 90.5% below official. GPT-6.2 Astra is listed at $0.76 / $3.80 against $8 / $40, also 90.5% below. Claude Fable 5.2 is listed at $1.99 / $9.94 against $8 / $40, 75.2% below.&lt;/p&gt;

&lt;p&gt;Note what this does and does not prove. It proves those models are listed at those prices today. It does not prove they will be listed tomorrow — availability changes, and any honest relay should say so. Before you depend on a model, check the listing the same day you need it.&lt;/p&gt;

&lt;p&gt;One more honesty note: that same pricing page lists no Gemini models at all as of today, so no Gemini price is cited here. If Gemini 4 is the model you need, check availability first and do not assume a relay carries it because it carries Claude and GPT.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. How does it handle failure in public?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every relay hits 429s, overloads, and outages. The difference is what happens next. In one linux.do thread this week, a user reported a relay returning 429s and the only answer was "join the group and DM us" — no cause, no fix, no follow-up in the thread.&lt;/p&gt;

&lt;p&gt;Ask for the opposite: a public record of what broke, why, and how long recovery took. A provider that publishes its incidents is giving you the one thing a price list cannot — evidence about what happens on a bad day. A provider that only handles failures in private DMs is asking you to trust it with no evidence at all.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Can you verify the model is really that model?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;"Downgraded model" is now the default suspicion in relay discussions, and users have started verifying it themselves with observable tests. In one thread about Gemini 4 Carbon, a user suspected their fast replies meant they had been routed to an old, small model — and the community's test was to time a specific image-generation task. If it finished in under ten seconds, the verdict was: you are not talking to the model you paid for.&lt;/p&gt;

&lt;p&gt;That particular test is a community anecdote, not a benchmark, and it should not be treated as proof either way. But the instinct behind it is right: prefer relays that give you something checkable — model fingerprints, response headers, cache-hit rates, uptime logs — over relays that ask you to take "full-blooded, not downgraded" on faith. Speed alone proves nothing; a reply can be fast because the route is good, or fast because the model is small.&lt;/p&gt;

&lt;h2&gt;
  
  
  The real cost is switching, not the token
&lt;/h2&gt;

&lt;p&gt;When a model disappears mid-project, the cost is not the tokens you already burned. It is the afternoon you lose re-pointing your code, re-testing your prompts, and finding out whether the replacement model behaves the same way. That is why "stable and available" has become a selling point in its own right, alongside price.&lt;/p&gt;

&lt;p&gt;So the practical checklist is short: a dated public price list you can re-check, a public incident record, and a verifiable way to confirm the model behind the endpoint. If a relay cannot show you all three, its price is not the number that matters.&lt;/p&gt;

&lt;p&gt;zhuan.xyz&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>programming</category>
      <category>security</category>
    </item>
    <item>
      <title>How I Cut My Claude API Bill by ~75% Without Changing My Code</title>
      <dc:creator>Davis George</dc:creator>
      <pubDate>Wed, 18 Nov 2026 13:41:31 +0000</pubDate>
      <link>https://dev.to/zhuanxyz/how-i-cut-my-claude-api-bill-by-70-without-changing-my-code-3obd</link>
      <guid>https://dev.to/zhuanxyz/how-i-cut-my-claude-api-bill-by-70-without-changing-my-code-3obd</guid>
      <description>&lt;p&gt;My Claude API bill used to be the line item I avoided looking at. Not because any single call was expensive — a few cents here, a few cents there — but because a coding agent session quietly burns through tokens the way a long drive burns through fuel. You don't notice it until the invoice arrives.&lt;/p&gt;

&lt;p&gt;The fix turned out to be embarrassingly simple. I didn't change my prompts, switch models, or write less code. I changed one line: the base URL my API client talks to. Here's what that means, what it actually saved, and the habits that cut the bill further.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the bill is bigger than you think
&lt;/h2&gt;

&lt;p&gt;API pricing looks cheap until you do the arithmetic. Output tokens cost roughly five times as much as input tokens, and a coding agent is an output machine: every plan it writes, every file it rewrites, every explanation it gives is output.&lt;/p&gt;

&lt;p&gt;Take a typical heavy session with Claude's Fable 5.2 model — 100,000 input tokens and 20,000 output tokens. At the official list price of $8 per million input tokens and $40 per million output tokens, that's:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Input: 100,000 × $8 / 1,000,000 = &lt;strong&gt;$0.80&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Output: 20,000 × $40 / 1,000,000 = &lt;strong&gt;$0.80&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Total: $1.60 per session&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One session is nothing. Thirty sessions a month is $48. Run a few agents in parallel, add a side project or two, and you're past $150 a month — for the exact same model, doing the exact same work.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a relay is (and what it isn't)
&lt;/h2&gt;

&lt;p&gt;An API relay is a middleman endpoint that speaks the same protocols as the official APIs — OpenAI-compatible and Anthropic-compatible — and forwards your requests to the real models. Your code doesn't change. Your prompts don't change. The model on the other end doesn't change. Only the address your requests go to changes, and the per-token price attached to it.&lt;/p&gt;

&lt;p&gt;This is not a different model, a distilled copy, or a free tier with hidden limits. It's the same model ID, reached through a different door, at a different price. That's the whole trick — and it's why the switch is one line of code instead of a migration project.&lt;/p&gt;

&lt;h2&gt;
  
  
  The one-line switch
&lt;/h2&gt;

&lt;p&gt;If you're using the OpenAI Python SDK, the change is the &lt;code&gt;base_url&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://key.zhuan.xyz/v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"sk-your-zhuan-key"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"claude-fable-5-2"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Refactor this function for readability."&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;choices&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Using the Anthropic SDK, it's the same idea:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;anthropic&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;anthropic&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Anthropic&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"https://key.zhuan.xyz/v1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"sk-your-zhuan-key"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;message&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"claude-fable-5-2"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;max_tokens&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1024&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Refactor this function for readability."&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or raw cURL, if you want to see exactly what's happening:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl https://key.zhuan.xyz/v1/chat/completions \
  -H &lt;span class="s2"&gt;"Authorization: Bearer sk-your-zhuan-key"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{
    "model": "claude-fable-5-2",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Everything else — your retry logic, your streaming code, your tool-use loop — stays exactly as it was. If the relay ever misbehaves, you change the base URL back and you're on the official API again in seconds. That reversibility is the reason this is a safe experiment rather than a commitment.&lt;/p&gt;

&lt;h2&gt;
  
  
  The worked example: what it actually saved
&lt;/h2&gt;

&lt;p&gt;Here's the same workload, priced both ways, using the live figures from &lt;a href="https://zhuan.xyz/pricing" rel="noopener noreferrer"&gt;zhuan.xyz/pricing&lt;/a&gt; (synced 2026-11-20 21:22 UTC). Say you run 10 million input tokens and 2 million output tokens a month on Fable 5.2:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Official price&lt;/th&gt;
&lt;th&gt;zhuan.xyz&lt;/th&gt;
&lt;th&gt;Saving&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Input (10M tokens)&lt;/td&gt;
&lt;td&gt;$80.00&lt;/td&gt;
&lt;td&gt;$19.90&lt;/td&gt;
&lt;td&gt;−75.2%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Output (2M tokens)&lt;/td&gt;
&lt;td&gt;$80.00&lt;/td&gt;
&lt;td&gt;$19.88&lt;/td&gt;
&lt;td&gt;−75.2%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Monthly total&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$160.00&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$39.78&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;~$120 saved&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;And the same comparison across a few other models, per million tokens:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Official (in / out)&lt;/th&gt;
&lt;th&gt;zhuan.xyz (in / out)&lt;/th&gt;
&lt;th&gt;Saving&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Claude Fable 5.2&lt;/td&gt;
&lt;td&gt;$8 / $40&lt;/td&gt;
&lt;td&gt;$1.99 / $9.94&lt;/td&gt;
&lt;td&gt;−75.2%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Sonnet 5.5&lt;/td&gt;
&lt;td&gt;$2 / $10&lt;/td&gt;
&lt;td&gt;$0.47 / $2.37&lt;/td&gt;
&lt;td&gt;−76.3%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Opus 5.5&lt;/td&gt;
&lt;td&gt;$4 / $20&lt;/td&gt;
&lt;td&gt;$0.95 / $4.73&lt;/td&gt;
&lt;td&gt;−76.3%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPT-6.1 Sol&lt;/td&gt;
&lt;td&gt;$2 / $10&lt;/td&gt;
&lt;td&gt;$0.19 / $0.95&lt;/td&gt;
&lt;td&gt;−90.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Prices change — relay pricing syncs daily — so check the pricing page on the day you switch rather than trusting any article, including this one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three habits that cut the bill further
&lt;/h2&gt;

&lt;p&gt;A cheaper per-token price is the big win, but these three habits stack on top of it:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Cache what you repeat.&lt;/strong&gt; System prompts, project context, and few-shot examples get sent again and again. Prompt caching makes repeat reads far cheaper than fresh input — on Fable 5.2, cache reads run about $0.05 per million tokens through the relay. If your client supports caching, turn it on; it's the closest thing to free tokens.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Right-size the model.&lt;/strong&gt; Not every call needs the flagship. Drafts, summaries, and simple refactors run fine on a cheaper model like Sonnet or Haiku; save the heavy model for the hard reasoning. One key that reaches all the models makes this a one-word change (&lt;code&gt;model="claude-sonnet-5-5"&lt;/code&gt;) instead of a new account.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Cap the blast radius per key.&lt;/strong&gt; This is the habit most people skip, and it's the one that prevents the horror-story bill. Use a separate API key per project, set a quota and rate limit on each one, and pause a key the moment a runaway loop starts. Itemised per-call billing — seeing exactly which key spent what, call by call — is what turns "the bill went up" into "the Friday-night batch job did it." If a provider can't show you per-call usage, that's a reason to be cautious, not a detail to ignore.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest caveats
&lt;/h2&gt;

&lt;p&gt;A relay is a middleman, and middlemen deserve scrutiny. Before you route real work through any relay, check three things: that the model you asked for is the model you got (the response should carry the real model fingerprint), that latency and uptime hold up under your actual workload, and that billing is itemised per call so you can audit every cent. A relay that hides any of those is not saving you money — it's charging you in trust instead.&lt;/p&gt;

&lt;p&gt;The switch itself, though, is genuinely low-risk: one line, fully reversible, same models, same code. I ran my own workload through it for a month before writing this, and the ~75% saving in the table above is the arithmetic on my actual usage pattern, not a marketing number.&lt;/p&gt;

&lt;p&gt;If your API bill has been the line item you avoid looking at, try the one-line version. The worst case is you learn exactly what your usage costs — and that's useful information even if you switch straight back.&lt;/p&gt;

&lt;p&gt;— Davis George · zhuan.xyz&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
