惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
D
Docker
腾讯CDC
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
博客园 - Franky
博客园 - 三生石上(FineUI控件)
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
IT之家
IT之家
WordPress大学
WordPress大学
M
MIT News - Artificial intelligence
爱范儿
爱范儿
Microsoft Azure Blog
Microsoft Azure Blog
Vercel News
Vercel News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
N
Netflix TechBlog - Medium
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
博客园 - 【当耐特】

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
You’re probably paying twice for the same LLM response
Joshua Chukw · 2026-05-08 · via DEV Community

Series

: AI Isn’t an Engineering Problem Anymore (Part 4)
It’s a cost problem—and most teams don’t realize it yet.

In the last post, I talked about where AI costs actually come from—and how context growth quietly compounds them.
But there’s another pattern that’s even more uncomfortable once you notice it:
you’re probably paying twice for the same underlying answer
Not literally the exact same string.
But functionally, the same work.
The obvious version
Let’s start with something simple.
You ask:
“Why can’t my rover perform a zero-radius turn?”
Then later you ask:
“What could cause skid-steer instability at low speeds?”
Different wording.
Same underlying problem.

The subtle version (this is where it gets interesting)

Now imagine a debugging session.
You go through a loop:
ask a question
get a partial answer
refine your prompt
ask again
Each step feels like progress.
But look at it from a system perspective:
you’re repeatedly asking for overlapping reasoning
And each time:
the model recomputes it
the system bills it
nothing is reused

Why this happens naturally

Because this is how humans think.
We don’t ask perfect questions.
We:
explore
rephrase
iterate
So the system ends up doing:
slightly different versions of the same work
over and over again.

The team version (this is worse)

Now scale this beyond one person.
Multiple engineers might:
debug similar issues
build similar features
ask similar questions
But there’s no shared layer that says:
“we’ve already solved something like this”
So the same reasoning gets recomputed across:
people
time
workflows

Why simple caching doesn’t solve it

At this point, the obvious solution seems like:
“just cache the response”
But that only works for:
exact matches
In reality, most prompts are:
slightly reworded
slightly extended
slightly different
So traditional caching misses most of the problem.

A better way to think about it

Instead of asking:
“is this the same prompt?”
The better question is:
“is this the same intent?”
Because that’s what actually matters.

A quick analogy

It’s a very human pattern.
You’ve probably done this before, looking for something e.g a key, checking the same place twice, even though you already know it’s not there.
Not because it makes sense.
But because you’re searching, refining, trying again.
That’s exactly how we interact with LLMs.

The hidden cost

This is where things connect back to Post 3.
If:
a large portion of your usage is repetitive
and context keeps growing
and nothing is reused
Then:
you’re not just paying for usage
you’re paying for recomputation
And computation has always had a cost.
We’re only noticing it now because LLMs make that cost visible at scale.

A simple mental model

Think of it like this:
Every time you ask a similar question, the system:
re-derives the reasoning
re-generates the explanation
re-processes the context
Even if:
you’ve effectively already “paid” for that knowledge before

Why this matters more than it seems

At small scale, this is fine.
At larger scale, it becomes:
expensive
inefficient
invisible
Because it doesn’t show up as:
“duplicate cost”
It shows up as:
normal usage

The uncomfortable realization

Most teams don’t have a way to:
detect repetition
reuse prior work
or even measure how much overlap exists
So they default to:
keep asking, keep recomputing, keep paying

What I’m trying to understand

At this point, the question becomes:
how much of LLM usage is actually new?
And more importantly:
how much of it needs to be recomputed?

What I’ll explore next

In the next post, I’ll go deeper into this:
what a system would actually need in order to reuse work effectively (beyond simple caching)

Part 3 is here: (https://dev.to/joshua_chukwu_ccb92f05a94/where-your-ai-budget-is-actually-going-its-not-what-you-think-3bi0?preview=856c097d9c26551c1a836539589fd827398a31aa4efacf6a4b5ce551f241a957c369cff2b5e18f6c0187f9f94b07430dd024cdd47bc200dd6501ba1d)

Closing thought

AI gives you answers instantly.
But under the hood, every answer is being computed from scratch—again and again.
And unless we rethink how that work is reused,
we’re going to keep paying for the same intelligence
multiple times.