<div class="gxb-page"><div class="prose prose-lg dark:prose-invert max-w-none">

<video autoplay muted loop playsinline poster="https://files.gxb.vc/thoughts/cloud-ai-dependency-trap/cover.jpeg" class="rounded-xl w-full">
  <source src="https://files.gxb.vc/thoughts/cloud-ai-dependency-trap/hero.mp4" type="video/mp4">
</video>

<p>The default move for most companies adopting AI is to subscribe to an
API, pipe data to a frontier model, and build workflows on top. It works
until it doesn’t.</p>
<p>Over the past 18 months, a pattern has emerged that should concern
any executive building critical processes on cloud AI. Models change
without warning. Costs swing unpredictably. Services go down. And the
performance gap between cloud-only frontier models and locally
deployable alternatives is closing faster than most people realize.</p>
<p>This is not an argument against cloud AI. It’s an argument against
exclusive dependence on it.</p>
<h2 id="your-ai-changed-and-nobody-told-you">Your AI changed and nobody
told you</h2>
<p>This is the most underappreciated risk in enterprise AI, and the one
most likely to break your production systems.</p>
<p>When you build automations on top of a cloud AI model, you’re
building on a surface that shifts beneath you. The provider can change
model behavior, reduce reasoning depth, tighten safety filters, or swap
the underlying model entirely. They don’t have to tell you. They usually
don’t.</p>
<p>In July 2023, researchers at Stanford and UC Berkeley published a <a
href="https://arxiv.org/abs/2307.09009">study</a> showing that GPT-4’s
performance on basic tasks degraded over just three months. Accuracy on
identifying prime numbers dropped from 84% to 51%. Directly executable
code generation fell from 52% to 10%. The authors called it “LLM drift”:
behavioral changes in short timeframes with no changelog.</p>
<p>The problem has gotten worse since then. In February 2026, Anthropic
rolled out a “thinking redaction” update to Claude Code. Nobody was
notified. AMD’s AI Director Stella Laurenzo <a
href="https://github.com/anthropics/claude-code/issues/42796">filed a
public GitHub issue</a> in April 2026 saying Claude Code had been
“phoning it in” since February and could no longer be trusted for
complex engineering tasks. Her entire senior engineering team <a
href="https://www.theregister.com/2026/04/06/anthropic_claude_code_dumber_lazier_amd_ai_director/">backed
the assessment</a>. The issue includes an analysis of 17,871 thinking
blocks across nearly 7,000 session files showing thinking depth dropped
about 67%, from roughly 2,200 characters to 720. The read-to-edit ratio
collapsed 70%. One in three edits was happening on files the model had
never read.</p>
<p>OpenAI’s track record is similar. The OpenAI Developer Community
forums are full of silent degradation reports: <a
href="https://community.openai.com/t/gpt4-nerfed-since-15th-november/507383">GPT-4
“nerfed” in November 2023</a>, <a
href="https://community.openai.com/t/gpt4-is-awful-as-of-2024-significant-degradation-in-coding-assistance/621045">coding
quality decline in 2024</a>, a <a
href="https://community.openai.com/t/chatgpts-performance-has-gotten-much-worse-since-may-5-2025/1253380">May
2025 performance cliff</a>, and <a
href="https://community.openai.com/t/gpt-4-1-degradation-over-the-past-30-days/1360601">GPT-4.1
degradation tracked over 30 days</a>. One thread title captures the
mood: <a
href="https://community.openai.com/t/did-openai-secretly-downgrade-our-models-while-everyone-was-leaving/1019206">“Did
OpenAI secretly downgrade our models while everyone was
leaving?”</a></p>
<p>The root causes vary: RLHF safety tuning, cost-optimized inference
routing, quiet model version swaps. But the outcome is the same. If you
built a production workflow that worked on Tuesday, it might not work on
Wednesday. There is no version pinning, no public changelog, no
rollback.</p>
<p>A local model is frozen in place. It produces identical outputs for
identical inputs until you decide to change it. For regulatory
reporting, automated coding pipelines, or customer-facing agents, that
matters.</p>
<h2 id="the-economics-are-broken">The economics are broken</h2>
<p>Cloud AI pricing looks simple. In practice, it’s volatile, subsidized
in ways that hide the true cost, and structured to create dependency
before the real bill arrives.</p>
<p>Anthropic’s Claude Max plan costs $200/month but the actual
API-equivalent compute consumed by power users is staggering. One
developer <a
href="https://www.reddit.com/r/Anthropic/comments/1rzn6ci/im_getting_4924_worth_of_tokens_from_my_200mo_max/">tracked
10 billion tokens over eight months</a> on the Max 5x plan ($100/month),
racking up over $15,000 in API-equivalent cost, a 19x subsidy. In peak
months, individual users have consumed north of $5,000 in compute on a
$200 subscription; Anthropic reportedly had one Max user burn through <a
href="https://claude.ai/public/artifacts/e63eb719-20bc-4e46-8b73-2ea2132d31f1">$51,291
in compute in a single month</a>. Sam Altman <a
href="https://techcrunch.com/2025/01/05/openai-is-losing-money-on-its-pricey-chatgpt-pro-plan-ceo-sam-altman-says/">acknowledged
in January 2025</a> that ChatGPT Pro ($200/month) operates at a loss.
These are customer acquisition costs. The correction is already
underway.</p>
<p>In April 2026, Anthropic <a
href="https://thenewstack.io/anthropic-claude-harness-restrictions/">blocked
over 135,000 OpenClaw instances</a> from accessing Claude subscriptions
through third-party frameworks. They gave less than 24 hours notice.
Users who had built automation stacks on these plans faced 50x cost
increases when moved to pay-per-use. TechCrunch had <a
href="https://techcrunch.com/2025/07/17/anthropic-tightens-usage-limits-for-claude-code-without-telling-users/">reported
in July 2025</a> that Anthropic was already quietly tightening usage
limits without telling users.</p>
<p>Then there’s the token volatility problem. Anthropic officially
acknowledged in March 2026 that <a
href="https://www.theregister.com/2026/03/31/anthropic_claude_code_limits/">“people
are hitting usage limits in Claude Code way faster than expected.”</a>
GitHub issues document <a
href="https://github.com/anthropics/claude-code/issues/16856">4x+ token
consumption increases</a> between versions. Developers on Max plans
($100 to $200/month) reported burning through their entire allocation in
under an hour. Tasks that previously took eight hours of continuous
use.</p>
<p>The comparison math has gotten hard to ignore. Open-source model
inference averages around $0.83 per million tokens versus $6.03 for
proprietary APIs, roughly a 7x difference. A single NVIDIA RTX 4090
($1,800) running Llama or Mistral models breaks even against API costs
within 8 to 12 months at moderate usage. At enterprise scale,
on-premises deployments show 2x to 3x cost efficiency versus equivalent
cloud instances.</p>
<p>Cloud AI is getting more expensive. Local inference hardware is
getting cheaper. Those lines are going to cross for a lot of companies
sooner than they think.</p>
<h2 id="the-wrapper-problem-anthropics-misaligned-incentives">The
wrapper problem: Anthropic’s misaligned incentives</h2>
<p>Much of the token waste developers are experiencing isn’t the model.
It’s the wrapper around the model.</p>
<p>When Anthropic <a
href="https://www.theregister.com/2026/03/31/anthropic_claude_code_source_code/">accidentally
leaked Claude Code’s full source code on npm</a> in March 2026,
developers got their first look at how the sausage gets made. What they
found was alarming: a system prompt weighing in at <a
href="https://github.com/anthropics/claude-code/issues/42272">35,000 to
40,000 tokens</a>, loaded on every single interaction. That’s constant
overhead before you’ve even asked a question.</p>
<p>Worse, a <a
href="https://www.reddit.com/r/ClaudeAI/comments/1s8zxt4/thanks_to_the_leaked_source_code_for_claude_code/">caching
bug in session resumption</a> meant the prompt cache never grew beyond
that initial system prompt. One developer documented it: cache_read sat
frozen at 15,451 tokens across 15 turns while cache_creation ballooned
to 42,970. Every turn was re-processing the full conversation at full
price. The post got 2,700 upvotes. Developers patched it themselves
using OpenAI’s Codex and the leaked source code.</p>
<p>The leaked source also revealed <a
href="https://www.reddit.com/r/ClaudeAI/comments/1sd8z2q/anthropic_isnt_the_only_reason_youre_hitting/">Claude
Code uses bash calls for file operations</a> (cat, grep, find) that
native tools handle more efficiently. An audit of 926 sessions found 662
bash calls that could have been native tool calls, each one adding
unnecessary context bloat.</p>
<p>Anthropic has shipped these bugs repeatedly and taken weeks to
acknowledge them. <a
href="https://the-decoder.com/anthropic-confirms-technical-bugs-after-weeks-of-complaints-about-declining-claude-code-quality/">The
Decoder reported</a> that Anthropic only confirmed “technical bugs”
after weeks of complaints. <a
href="https://devops.com/claude-code-quota-limits-usage-problems/">DevOps.com
documented</a> Max subscribers hitting quota exhaustion in 19 minutes
instead of the expected 5 hours.</p>
<p>Here’s the uncomfortable question: Anthropic sells tokens. The more
tokens their tool burns, the faster you hit your quota, the sooner you
upgrade to a higher tier or get pushed to pay-per-use. Their internal
development version of Claude Code uses explicit word limits (“keep text
between tool calls to ≤25 words”), a tweak that external users don’t
get.</p>
<p>Contrast this with open-source coding agents like <a
href="https://github.com/badlogic/pi-mono">pi</a>, which ships exactly
four tools (read, write, edit, bash) with a minimal system prompt and no
sub-agents, no plan mode, no bloated orchestration layer. Where Claude
Code burns 35-40K tokens on its system prompt alone, pi keeps the
overhead to a fraction of that (a few hundred tokens), letting the model
spend its context window on your actual work instead of re-reading its
own instructions. Our internal workflows run on pi for exactly this
reason: when you’re paying per token, you want a coding agent that’s
stingy with them, not one built by the company selling them.</p>
<h2 id="your-provider-goes-down-and-you-go-with-it">Your provider goes
down and you go with it</h2>
<p>On March 25, 2026, OpenAI went down for 19 hours and 45 minutes.
Anthropic’s Claude <a
href="https://news.ycombinator.com/item?id=47543189">hit outages in
early April 2026</a> affecting 8,000+ users. Claude lost its &gt;99%
uptime target in Q1 2026.</p>
<p>This is the operating reality of depending on a handful of
centralized providers for critical infrastructure.</p>
<p>The geopolitical risk makes this worse. In April 2026, Iran <a
href="https://www.tomshardware.com/tech-industry/iran-threatens-complete-and-utter-annihilation-of-openais-usd30b-stargate-ai-data-center-in-abu-dhabi-regime-posts-video-with-satellite-imagery-of-chatgpt-makers-premier-1gw-data-center">threatened
“complete annihilation”</a> of OpenAI’s $30 billion Stargate facility in
Abu Dhabi. This followed Iranian Shahed drones <a
href="https://fortune.com/2026/03/09/irans-attacks-on-amazon-data-centers-in-uae-bahrain-signal-a-new-kind-of-war-as-ai-plays-an-increasingly-strategic-role-analysts-say/">striking
three AWS data centers</a> in the UAE and Bahrain on March 1, 2026, the
first confirmed military strikes on a hyperscale cloud provider. AWS
services across the region went down. Physical infrastructure
concentration creates single points of failure that no SLA can paper
over.</p>
<p>A model running on your hardware doesn’t go down because a provider
pushed a bad config or a state actor struck a data center. Your uptime
becomes something you can actually control.</p>
<h2 id="security-your-data-leaves-the-building">Security: your data
leaves the building</h2>
<p>Every API call sends your data to infrastructure you don’t control.
The security track record of that arrangement should give pause.</p>
<p>Samsung <a
href="https://www.bloomberg.com/news/articles/2023-05-02/samsung-bans-chatgpt-and-other-generative-ai-use-by-staff-after-leak">leaked
confidential data</a> through ChatGPT three times within 20 days in
2023: source code, semiconductor chip data, and meeting transcripts.
They banned all employee use. JPMorgan Chase, Goldman Sachs, Citigroup,
and Wells Fargo imposed their own restrictions. Apple banned internal
use outright.</p>
<p>In November 2025, OpenAI disclosed a vendor breach through analytics
partner Mixpanel. Italy <a
href="https://www.theregister.com/2024/12/20/italy_fines_openai/">fined
OpenAI €15 million</a> in December 2024 for GDPR violations tied to an
undisclosed 2023 breach. Anthropic <a
href="https://www.theregister.com/2026/03/31/anthropic_claude_code_source_code/">accidentally
exposed its entire Claude Code source code</a> on npm in March 2026.</p>
<p>For companies operating under HIPAA, PCI-DSS, or financial regulatory
requirements, routing data through third-party AI providers creates
compliance overhead that doesn’t go away. No major cloud AI provider has
achieved certified BAA or full PCI-DSS compliance for their inference
endpoints.</p>
<p>Local inference eliminates this category entirely. Data never leaves
your perimeter. No data processing agreements to negotiate, no vendor
breach disclosures to manage, no regulatory gray area.</p>
<h2 id="products-disappear">Products disappear</h2>
<p>In March 2026, OpenAI <a
href="https://techcrunch.com/2026/03/24/openais-sora-was-the-creepiest-app-on-your-phone-now-its-shutting-down/">discontinued
Sora</a>, its video generation product. It was reportedly burning $1
million per day as its user base collapsed from roughly 1 million to
under 500,000. Disney <a
href="https://variety.com/2026/digital/news/openai-shutting-down-sora-video-disney-1236698277/">walked
away from a planned $1 billion investment</a> in OpenAI after the
shutdown.</p>
<p>OpenAI retired <a
href="https://openai.com/index/retiring-gpt-4o-and-older-models/">GPT-4o,
GPT-4.1, GPT-4.1 mini, o4-mini, and GPT-5 variants from ChatGPT on
February 13, 2026</a>, then <a
href="https://help.openai.com/en/articles/20001051-retiring-gpt-4o-and-other-chatgpt-models">GPT-5.1
on March 11</a>. Each retirement means rewriting prompts, revalidating
outputs, regression testing, and hoping the replacement model produces
comparable results. It often doesn’t.</p>
<p>A model file sitting on your server doesn’t get deprecated. If it
works today, it works in five years. That matters when you’ve built
production workflows around it.</p>
<h2 id="the-performance-gap-is-closing">The performance gap is
closing</h2>
<p>The strongest argument for cloud AI has always been raw capability:
frontier models from OpenAI and Anthropic are better than anything you
can run yourself. That’s still true at the very top end. But the gap has
shrunk to the point where it no longer matters for most use cases.</p>
<p>On <a
href="https://llm-stats.com/benchmarks/swe-bench-verified">SWE-bench
Verified</a> — the most widely cited benchmark for real-world coding
ability — the top closed model (Claude Opus 4.5) scores 80.9%. The top
open-weight model (MiniMax M2.5) scores 80.2%. That’s a 0.7 percentage
point gap. GLM-5 hits 77.8%, Kimi K2.5 hits 76.8%, Qwen3.5 hits 76.4%.
They are all doing the same caliber of work.</p>
<p>At the end of 2023, <a
href="https://letsdatascience.com/blog/open-source-vs-closed-llms-choosing-the-right-model-in-2026">the
best closed model scored around 88% on MMLU while the best open
alternative managed roughly 70.5%</a>, a gap of 17.5 percentage points.
By early 2026, that gap on knowledge benchmarks is <a
href="https://whatllm.org/blog/january-2026-open-source-vs-proprietary">effectively
zero</a>. Google’s Gemma 4 (31B parameters, Apache 2.0 license) <a
href="https://blog.google/technology/developers/gemma-4/">ranks #3 on
LMArena</a>, scores 85.2% on MMLU Pro, and runs at roughly 4x lower cost
than GPT-4. Qwen 3.5’s reasoning models <a
href="https://qwenlm.github.io/blog/qwen3.5/">top Arena-Hard and
LiveCodeBench benchmarks</a>, beating both GPT and Claude variants.</p>
<p>Frontier closed models will always be ahead of open-weight models.
That’s inherent to how the release cycle works. But it’s rapidly ceasing
to matter. All of these models are converging on performance levels that
are already well above what the average human can do. An open-weight
model from a year ago can write better code than most professional
developers ever will. The frontier models will keep pushing into
rarefied territory (novel research, advanced mathematics, things at the
edge of human capability) but for the work businesses actually need
done, like writing code, summarizing documents, classifying data, and
drafting communications, open-weight models are already more than
capable. The meaningful delta from here on out won’t be in model
quality. It’ll be in the tooling wrapped around the model: how
efficiently you feed it context, how well you manage its token budget,
and how cleanly your automation pipelines hand off between steps.</p>
<h2 id="capable-models-are-getting-smaller">Capable models are getting
smaller</h2>
<p>The models driving this convergence aren’t just open. They’re small
enough to run on commodity hardware.</p>
<p>Google’s TurboQuant (March 2026) cuts memory requirements on
key-value caches by 6x with zero accuracy loss, enabling 8x speedups on
attention computation. The industry standard is now “train in BF16,
deploy in INT4,” a 2.5 to 4x size reduction that makes serious models
portable.</p>
<p>Mistral’s LeanStral uses structured pruning and quantization to
deliver 3x inference speedup at 95%+ accuracy. Branch-merge distillation
lets TinyR1-32B match the performance of DeepSeek-R1’s 671B-parameter
teacher model at a fraction of the size.</p>
<p>At the edge, 4 to 8B parameter models run on a Raspberry Pi 5 at 10
to 18 tokens per second in 4-bit quantization. Llama 3.1 8B and Qwen3-8B
handle classification, summarization, and structured extraction with
zero cloud costs, offline operation, and sub-100ms latency. These are
production-grade tools running on an $80 board.</p>
<h2 id="where-this-leaves-you">Where this leaves you</h2>
<p>I’m not arguing you should rip out your cloud AI integrations. For
the hardest problems (complex multi-step reasoning, agentic coding,
genuinely novel problem-solving) frontier cloud models still have an
edge. That edge is real, and for some teams the API convenience factor
matters more than the risk.</p>
<p>But the default posture of “just use the API for everything” has
become a liability. The evidence points toward a hybrid approach: run
locally where consistency, security, cost predictability, and permanence
matter; use cloud APIs where you need peak capability or elasticity.</p>
<p>The organizational question is the harder one. Most companies don’t
have the in-house muscle to stand up local inference infrastructure
today. Building that capability takes time. The companies that start now
will have options when the next round of API price hikes, stealth model
changes, or surprise deprecations hits. The ones that don’t will be
stuck renegotiating from a position of total dependency.</p>
<p>The window where “just use the API” was the only rational answer has
closed. Whether your AI strategy reflects that is a different
question.</p>
</div></div>