Explainer

AI Coding Costs: Why Your Bill Is About to Explode

Flat-rate AI coding plans were quietly subsidized. Now the meter is on: one developer reported a $39 bill jumping to $942 overnight. Here is why, and the moves that cut it.

By Ricardo de Jong 8 min read 8:49 video

Watch the explainer

Last month your AI coding bill was $39. This month, for the same prompts on the same repo, a developer on r/GithubCopilot posted a screenshot reading $942. That is roughly 24 times more, overnight, for identical work. Meanwhile the price of the underlying intelligence keeps falling: the level of model that cost about $60 per million tokens three years ago runs near 6 cents today, a thousandfold cheaper and still dropping.

Both of those are true at once, and that is the whole confusing story. This article explains what changed, why one task can quietly cost a fortune, whether you are actually being ripped off, and the handful of moves that keep the number down.

Why is your AI coding bill about to explode?

Because the discount is ending, not because compute got expensive. For about three years you paid roughly $20 a month and got hundreds of dollars of frontier compute in return. That was never charity. It was the loss-leader playbook: price below cost, win the habit, then move the meter once you cannot picture work without the tool.

The shift showing up on invoices is usage-based billing, which simply means you pay for what you consume, mostly tokens, instead of a flat fee for unlimited requests. The sticker price on the plan often does not move. What changes is that the “included” usage suddenly covers a fraction of a real working day, and everything past it meters.

The deal you never signed

Providers will basically admit the deal to you. When GitHub moved Copilot to usage-based billing in 2026, it said in its own announcement that the old model was no longer sustainable and that it had been absorbing the escalating inference cost. Anthropic put a number on the same gap. Its Claude Code cost docs put serious daily use at about $13 per active developer per day, landing around $150 to $250 a month in metered compute.

Hold that next to a subscription that lists at $20. Someone has been quietly eating the difference for years, and now they are deciding to stop. The subscription and the metered compute were always two different products; the flat plan just hid which one you were really using.

You pay
$20
flat-rate plan / mo
Real cost of heavy use
$150–250
~$13 / active dev day, per Anthropic
Fig. 1 The gap is the subsidy. What a heavy user pays on a flat plan versus what Anthropic's own docs put serious daily Claude Code use at. Someone covered the distance; now the meter shows it.

Why does one task cost a fortune?

Start with what you are paying for: tokens. Every word you send and every word the model sends back gets chopped into tokens, a few characters each, and you are billed per token. Output costs more than input, usually around five times more on a model like Claude Sonnet at $3 per million in and $15 per million out, because the model reads your prompt in one pass but writes its answer one token at a time.

Then comes the part that surprises people. The model has no memory between requests, so your tool quietly re-sends the entire conversation every single time you hit send. On turn one that is a few hundred tokens. By turn 46 of a long agent session it can be 800,000 tokens per reply, and you pay for that whole pile just to add one more line.

SENT PER REPLY the whole history, re-billed every turn

~400
Turn 1
~90K
Turn 10
~340K
Turn 25
~800K
Turn 46

One extra line of code at turn 46 still pays for all 800,000 tokens beneath it.

Fig. 2 The model is stateless, so the full history is re-sent and re-billed on every turn. The cost of one more line is the cost of everything before it.

That mechanism is how one developer torched about $6,000 overnight. He told an agent to check his pull requests every 30 minutes, then went to bed. It ran 46 times on the priciest model, each run re-sending a context window that kept ballooning, and he found out by email because the dashboard had not caught up. Two costs hide inside this too: reasoning models scribble hidden “thinking” tokens you never see but pay for at the output rate, and autonomy multiplies everything.

Chat ×1

One question, one answer. You send a prompt, you read a reply. The cheapest way to use a model.

One agent ×4

It plans, reads files, writes code, runs tests, fails, retries. A single loop spends about four times a chat.

Agent team ×15

A swarm working in parallel on one task. Roughly fifteen times a chat, for the same instruction.

Fig. 3 Anthropic's own math on the same task. A chat is one question and one answer; an agent loops; a team of agents loops in parallel.

A chat is one question and one answer. An agent is a loop that plans, reads files, writes code, runs tests, watches them fail, and tries again, ten or twenty times for one task. Anthropic measured an agent at about 4 times the tokens of a chat, and a multi-agent team at roughly 15 times. Put it together and “fix this bug” stops being one request. It becomes a few million tokens, which is how a tool feels free in the moment and bills like a contractor at month end.

Six tools, twelve months: the same move

This is not one greedy vendor. The exact same arc, unlimited to limits to a meter to an effective price hike with the sticker price unchanged, played out at tool after tool inside a single year. Cursor swapped unlimited requests for a credit pool in mid-2025, the bills shocked everyone, and CEO Michael Truell publicly apologized and refunded charges. The pattern repeated everywhere developers gathered.

Jun 2025 Cursor

Swapped unlimited requests for a monthly credit pool. The bills shocked users, and CEO Michael Truell publicly apologized and issued refunds on July 4.

Aug 2025 Claude Code

Weekly usage limits landed hard. One user reported the word "hey" eating 22% of his allowance for the week.

2025 Replit

A new effort-based meter priced each agent run by compute. One developer reported burning roughly $1,000 in a single week.

Spring 2026 Windsurf

A quota system so unloved that the top forum post became, simply, "upvote if you cancelled."

Jun 2026 GitHub Copilot

Unlimited became a pool of AI Credits metered at API rates. GitHub called the old model "no longer sustainable" and shipped a billing-preview tool. Reddit detonated.

Fig. 4 The same pricing move at five tools in twelve months. The repetition is the proof: this is structural, not a one-off.

By the fifth or sixth tool, coincidence stops being a believable excuse. The subsidy is ending in public, one invoice at a time. The community even named the feeling before the data did, swapping the same Uber and “first hit free” jokes across every subreddit while the runaway-bill screenshots piled up.

Is the AI coding price hike a scam?

Mostly no, and the honest answer matters more than the outrage. You have probably seen the scary headline that a $200 plan secretly costs the provider $5,000 to run. That number is almost certainly junk. It takes the retail price you would pay for tokens and treats it as the provider’s real cost, which engineer Martin Alderson estimates is roughly 10 times lower. Strip that out and these companies are probably making money on the average subscriber.

The viral headline $5,000

Priced at retail API rates, as if you bought every token off the menu.

Closer to real compute ~$500

What providers actually pay is roughly a tenth of retail, so most subscribers turn a profit.

Fig. 5 The viral debunk. The $5,000 figure prices every token at retail; real compute runs about a tenth of that, so most subscribers stay profitable.

The ones bleeding providers dry are the heavy outliers running agents around the clock, and the underlying price of intelligence is still in freefall. It drops roughly 10 times a year for the same quality, by Epoch AI’s measurements. Smart caching knocks up to 90% off repeated context, and open models like DeepSeek run for pennies per million tokens. So the doomer take, where everything just gets more expensive forever, does not hold up either.

How much do Claude Code, Cursor, and Copilot actually cost?

The honest answer is that there is no flat number anymore, because the bill depends on what you run, not which plan you buy. The table below sets the listed price against the real driver of cost. Treat the monthly ranges as where working developers land, not a guaranteed cap, since a single overnight agent loop can blow past any of them.

ToolListed priceBilling modelWhat actually drives the bill
Claude Code$20+/mo planSubscription or metered API~$13/active dev day on API; agent loops and big context
Cursor$20/mo ProIncluded usage credit poolRequests past the pool, frontier-model calls
GitHub Copilot$10–39/moAI Credits, metered (Jun 2026)Token usage at API rates once credits run out
ReplitCore + usageEffort-based meterCompute per agent run, hard to predict per prompt
BYOK (e.g. Cline)Free toolYour own API key, wholesaleRaw tokens at provider rate, no reseller markup

The takeaway is not which row is cheapest. It is that every row now meters the same underlying thing, so the lever you control is your token habits, not your plan choice.

How do you cut your AI coding costs?

You are not powerless here, and most of these moves work today. The biggest single win is model triage: do not send a frontier model to rename a variable. A cheap model handles the grunt work, and you save the expensive one for problems that deserve a senior engineer. That switch alone can wipe out most of a bill.

01 Triage your model Cheap model for grunt work

Do not send a frontier model to rename a variable. Save the expensive one for hard problems; let a cheap one handle the rest.

02 Mind your context Fresh chat per task

A 200-turn thread is re-sent in full on every message. Start a clean session for each new task and the meter resets.

03 Leash your agents Spend caps + no overnight runs

Hard limits, kill switches, and never an unsupervised loop while you sleep. Ask the developer with the $6,000 bill.

04 Go direct BYOK via Cline

If they meter you anyway, plug your own API key into a tool like Cline and pay the model maker rate, with no reseller markup.

05 Run it local DeepSeek, self-hosted

Want off the meter completely? Run an open model on your own machine. The only bill is hardware and electricity.

Fig. 6 Five moves that keep the meter down, cheapest effort first. None of them are hard, and most work today.

After that, mind your context by starting a fresh chat per task, because that 200-turn thread you dragged around all week gets re-sent in full on every message. Put a leash on agents with spend caps and no unsupervised overnight runs. Go direct with BYOK if they are going to meter you anyway, so you pay the model maker’s rate with no reseller markup stacked on top. And if you want off the meter entirely, run an open model on your own machine where the only bill is hardware and electricity. The test for paying frontier rates is simple: is the AI doing the work of a senior engineer, or could a glorified autocomplete have handled it?

The bottom line: cheaper per token, louder per bill

Zoom out and the picture is simple. The price of a token keeps falling. For heavy users, the monthly bill climbs anyway. Both stay true for years, and they do not contradict each other, because cheaper-per-unit loses to more-units-than-ever every time you let an agent run unsupervised.

FLAT-RATE ERA USAGE-BASED ERA HEAVY-USER BILL ↑ PRICE PER TOKEN ↓

Same chart, two truths: every token gets cheaper, and the agentic bill climbs anyway.

Fig. 7 The two trends that define AI coding costs. Unit price down, heavy-user bill up, both running for years.

The all-you-can-eat era is done and the à la carte menu is already printed. What it costs you depends on what you order. A light user on cheap models barely feels it; turn a swarm of agents loose on your whole codebase and you will feel every cent. For three years the subsidy quietly paid your bill. That part is over, and from here the number is yours. Learn to read the meter before it reads you.

For the animated version, with the $39-to-$942 meter, the snowball, and the full playbook on screen, watch the breakdown on YouTube.

Watch the explainer

Frequently asked questions

Why is AI coding suddenly so expensive?

It is not that compute got pricier. Flat-rate plans were subsidized loss-leaders, and providers are now moving to usage-based billing that shows the real cost of heavy use. The price of a token keeps falling, but agents that re-send your whole conversation every turn can quietly spend millions of tokens on one task.

How much does Claude Code actually cost?

Anthropic's own cost docs put serious daily Claude Code use at about $13 per active developer per day, or $150 to $250 a month, measured in metered API spend. That is the compute behind a subscription that lists at $20. The 90th percentile stays under $30 a day, so the heaviest agent users drive the scary totals.

What is usage-based billing for AI coding tools?

Usage-based billing charges you for what you consume, mostly tokens, instead of a flat monthly fee for unlimited requests. Cursor, Claude Code, Replit, Windsurf, and GitHub Copilot all moved this way in 2025 and 2026. The headline subscription price often stays the same while the included usage covers far less real work.

Is the AI coding price increase a scam?

Mostly no. The viral claim that a $200 plan secretly costs the provider $5,000 confuses retail token prices with real compute, which engineers estimate runs about 10 times lower. Most average subscribers are profitable; the losses come from heavy outliers running agents around the clock. The real change is that the meter is now visible.

How can I reduce my AI coding costs?

Five moves help. Use a cheap model for grunt work and save the frontier model for hard problems. Start a fresh chat per task so old history is not re-sent. Put spend caps on agents. Bring your own API key to skip reseller markup. And run an open model locally if you want off the meter entirely.

What is BYOK and does it save money?

BYOK means bring your own key: you plug your own provider API key into a tool like Cline instead of paying a reseller subscription on top. You pay the model maker's wholesale rate with no markup stacked on it. It is still usage-based, so it rewards careful token habits, but it removes the middleman margin.

Sources

  1. Guido Appenzeller · Welcome to LLMflation (a16z, Nov 2024) · retrieved 2026-06-25
  2. Epoch AI · LLM inference price trends (median ~50x/year decline) · retrieved 2026-06-25
  3. Anthropic · Claude Code: manage costs effectively (~$13/dev/day) · retrieved 2026-06-25
  4. Anthropic · How we built our multi-agent research system (agents ~4x, teams ~15x) · retrieved 2026-06-25
  5. Michael Truell · Clarifying our pricing (Cursor, July 2025 apology + refunds) · retrieved 2026-06-25
  6. GitHub · Copilot is moving to usage-based billing ("no longer sustainable") · retrieved 2026-06-25
  7. Anthropic · Prompt caching (cache reads at ~10% of input price) · retrieved 2026-06-25
  8. DeepSeek · Models and pricing · retrieved 2026-06-25
  9. Martin Alderson · No, it doesn't cost Anthropic $5k per Claude Code user · retrieved 2026-06-25
</>

Ricardo de Jong

Creator of Devsplainers

Ricardo de Jong makes Devsplainers, turning complex developer and AI topics into short animated videos and written companions. Each article is built from the same research and script behind the video. No hype, no jargon walls.

The newsletter

Liked this? Get the Take-Outs.

One email every Tuesday: a spicy take on a trending dev topic, video out-takes, and the tool of the week. Free.

Subscribe
<devsplainers>