SaaS Economics

AI Coding Agent Rate Limits: What to Do When You Hit the Wall

Cursor, Claude Code, and GitHub Copilot all built businesses on flat-fee AI coding, then all quietly ran into the same math problem. Here's why serious builders are moving the model onto hardware they own.

At a glance
  1. 01Cursor, Claude, and Copilot all quietly replaced unlimited AI coding plans with metered rate limits.
  2. 02Agentic coding loops break flat-fee economics by burning through tokens and shifting costs to vendors.
  3. 03Open-weight models like Qwen2.5-Coder now match frontier AI for routine coding and can run locally.
  4. 04Consumer GPUs can break even against commercial API subscription costs in as little as three months.
  5. 05The ideal setup splits work: local models for 80% of routine tasks and metered APIs for the rest.
Diagram showing a bottlenecked funnel restricting a flow of tokens compared to a wide local hardware block accepting the same tokens without restriction.
Illustration generated by Remy for this story.

When an AI coding agent hits its rate limit, you don't get a warning shot. You get a paused session, a queued request, or a bill you didn't expect. The fix vendors offer is almost always to pay more or wait for a weekly reset. That's the honest answer to what "unlimited" AI coding gets you in 2026: a metered pool with a friendlier name. The real alternative isn't a better subscription tier. It's running an open-weight coding model on hardware you control, where the only limit is your own electricity bill.

What does 'unlimited' AI coding actually get you?

Every major vendor has hit this wall in roughly the same order: sell a flat monthly price, watch power users turn it into a loss leader, then quietly ration it.

Cursor got there first and loudest. In June 2025, Anysphere swapped its Pro plan's 500-request cap for a token-based credit pool, and users who thought they'd bought "unlimited" usage started seeing surprise charges.1 The backlash was sharp enough that one longtime subscriber said Cursor Pro now felt like paying for "nothing more than a basic text editor" once rate limits kicked in multiple times a day.2 Anysphere apologized publicly and refunded three weeks of unexpected charges, admitting the pricing change "was not communicated clearly."13

Anthropic followed in August 2025, introducing weekly rate limits on Claude Pro and Max specifically to curb subscribers running Claude Code "continuously in the background, 24/7," and to stop resellers piggybacking on individual accounts.45 Anthropic said the change would touch less than 5% of subscribers, but the allowances tell the real story: Pro users get roughly 40 to 80 hours of Sonnet 4 a week, Max at $100/month gets 140 to 280 hours of Sonnet plus a slim Opus allotment, and even the $200/month Max plan caps out around 480 hours of Sonnet.5 One subscriber on Reddit summed up the frustration bluntly: "we are paying $200 per month!!"4

Figure 1
Anthropic's weekly Sonnet 4 hour allowances by plan
Minimum hoursMaximum hours
weekly hours of Sonnet 4 usage via Claude Code (hours)
0250500ProMax $100/moMax $200/mo
Claude subscription tier
Source: TechCrunch

GitHub Copilot is the clearest admission yet that this isn't about greed, it's about math. Starting June 2026, Copilot moves from premium-request-unit billing to token-based AI Credits, because, in GitHub's own words, "a quick chat question and a multi-hour autonomous coding session can cost the user the same amount" under the old flat model, and that "is no longer sustainable."6 Three vendors, three different products, one pattern.

Why do AI coding rate limits exist?

Flat-fee AI coding plans were never priced for agentic usage. They were priced for a developer asking occasional questions, not an agent looping through a codebase for hours, burning tokens on every retry and every tool call. When usage patterns shifted from chat to autonomous, multi-step sessions, the cost of serving a $20-a-month subscriber quietly became a $200-a-month problem for the vendor. Rate limits, credit pools, and usage-based billing are how that gap gets closed. It isn't a bug in any one company's pricing. It's a structural feature of renting inference: the seller carries the compute risk until it can't anymore, and then the meter comes back.

When the meter never stops: enterprise sticker shock

Individual users feel this as friction. Enterprises feel it as budget failure. Uber encouraged employees to lean into agentic coding tools like Claude Code and Cursor, and burned through its entire annual AI budget in four months.7 The company's response was a hard $1,500-per-employee, per-tool monthly cap.7 That's not a company being cheap. That's a company discovering, the expensive way, what happens when metered inference meets encouraged heavy usage at scale. If a business with Uber's resources can blow through a year's AI budget in a single quarter, the same exposure exists at any company that's told its engineers to "just use the AI tools more."

Figure 2
Uber's agentic coding budget blowout
$1,500/mo
Per-employee, per-tool monthly AI spending cap Uber imposed
4 months
Months it took Uber to burn its entire annual AI budget
Source: TechCrunch

Are open-weight coding models good enough to replace frontier AI?

The reason self-hosting is now a real option, not a hobbyist compromise, is that open-weight models stopped being the weaker choice for day-to-day coding work. Qwen2.5-Coder-32B scored 92.7% on HumanEval, edging out GPT-4o's 90.2%, and Alibaba positioned it as matching GPT-4o's coding capability at launch.89 Newer entries keep pushing the frontier further while staying self-hostable: Qwen3-Coder-Next, an 80-billion-parameter mixture-of-experts model with only 3 billion active parameters per token, scores 70.6% on SWE-Bench Verified and runs on a single high-end GPU.10 For the bulk of routine coding work, refactors, tests, boilerplate, code review, the gap between an open-weight model on your own box and a frontier API has shrunk from a canyon to a shrug.

Figure 3
Qwen2.5-Coder-32B vs. GPT-4o on HumanEval
Qwen2.5-Coder-32B92.7%GPT-4o90.2%
Source: Pristren

How much does it actually cost to self-host an AI coding model?

Self-hosting isn't free, and treating it that way is how people get burned on the other side of this trade. A peer-reviewed cost-benefit analysis from Carnegie Mellon researchers, modeling 54 deployment scenarios, found small open-weight models under 30B parameters, running on a roughly $2,000 consumer GPU like the RTX 5090, break even against commercial APIs like GPT-5 or Claude Opus in as little as 0.3 to 3 months.11 Medium, 70B-class models on $15,000 to $30,000 hardware take longer, roughly 2 to 34 months depending on which API you're comparing against.11 Our own break-even math on local versus API costs walks through exactly how that curve bends depending on usage volume.

Figure 4
Break-even time vs. commercial APIs, by model size
Minimum monthsMaximum months
months to break even against commercial API costs (months)
02550Small models (<30B params)Medium models (70B-class)
Self-hosted model size class

Electricity, once you're past the hardware purchase, is genuinely cheap. Independent measurements on Apple Silicon put local inference for a 120B open-weight MoE model at just $0.109 per million output tokens.12 Claude Haiku 4.5, by comparison, lists at roughly five times that cost per million tokens for comparable API usage.12 That's a real number, but it's marginal electricity only. It doesn't include the Mac Studio or GPU you bought to run the model in the first place, and anyone quoting local inference as "free" is leaving that part out on purpose.

Figure 5
Cost per million output tokens: local vs. API
Claude Haiku 4.5$5.00Gemini 2.5 Flash$2.50GPT-5.4-nano$1.25Local (gpt-oss-120b)$0.11

What you gain besides money: no limits, no lock-in, no leakage

Once you're past break-even, the case for owning the model stops being purely financial. It becomes structural:

  • Predictable capacity. No weekly reset, no surprise credit exhaustion mid-sprint. Your throughput ceiling is your hardware, not a vendor's usage policy.
  • Data that never leaves your machine. Nothing in your codebase gets sent to a third party's inference cluster, which matters for regulated industries and for anyone tired of explaining shadow AI usage to security.
  • Insulation from pricing whiplash. Cursor's June 2025 change and Copilot's 2026 shift to AI Credits both landed without much warning.16 A model you host doesn't get repriced by someone else's board meeting.
  • No model deprecation risk. Vendors sunset models on their own schedule. An open-weight model you've downloaded keeps working exactly as it did the day you got it.

This is the same logic running through most of our coverage on the self-hosted AI development stack: the software you run yourself is an asset, the software you rent is a liability that can change terms on you. Platforms like Remy exist precisely to help teams manage that owned AI infrastructure without quietly recreating a SaaS vendor's rationing problem in-house.

Where does local AI still fall short?

Ownership isn't a clean win, and pretending otherwise is how this argument loses credibility.

  • Long-horizon tasks still trip up smaller models. One operator running Qwen 3.6 27B on unsupervised long-horizon tasks watched it get stuck repeating the same suggestions for half an hour, burning 600 watts with nothing to show for it.13 Local models today are better suited to bounded, well-scoped tasks than to open-ended agentic runs.
  • Serious hardware isn't cheap. A high-end Apple M5 Ultra Mac Studio configuration capable of running larger open-weight coding models runs $12,299 as reviewed, and configurations have jumped over 25% generation-over-generation due to an AI-driven memory shortage.14 That's real upfront capital before any of the break-even math starts working in your favor, a point our self-hosting cost breakdown covers in more depth.
  • The hardest problems still favor a frontier API. For genuinely difficult, novel debugging or architecture work, a metered account with a top-tier model remains the better tool, at least until local models close the reliability gap on long-running tasks, not just the benchmark gap.
Figure 6
The price of a coding-capable local rig
$12,299
Price of an M5 Ultra Mac Studio as reviewed, configured for local coding models
25%
Generation-over-generation price increase on comparable configurations
Source: Ars Technica

The verdict: own the model, rent the ceiling

The pattern across Cursor, Claude Code, and GitHub Copilot isn't a series of unrelated missteps. It's the same economics playing out three times: flat-fee AI coding was subsidized, agentic usage made the subsidy unsustainable, and every vendor eventually had to meter it. That's not going to reverse.

The practical answer isn't picking a side. It's splitting the work. Self-host an open-weight coding model like Qwen2.5-Coder or Qwen3-Coder-Next for the routine 80% of coding work, tests, refactors, boilerplate, code review, where the performance gap with frontier models has nearly closed and the cost per token is a rounding error. Keep one metered frontier account on standby for the hardest 20%, the genuinely novel problems where peak intelligence is worth paying for by the token. That's not a compromise. It's just correctly pricing which parts of your workflow are actually worth renting.

Figure 7
Self-hosted model vs. metered frontier API
Self-hosted model vs. metered frontier API
Upfront costCost per million tokensCapacity predictabilityBest for novel/hardest problems
Self-hosted open-weight modelroutine coding work: refactors, tests, boilerplate, review$2,000–$12,300+ in hardware~$0.11 (electricity only)HighLow
Metered frontier API subscriptiongenuinely novel debugging and architecture work$0 upfront$1.25–$5+LowHigh
Ratings are relative across these two options, not absolute. Figures synthesized from the article's cited hardware, token-cost, and pricing-change data.
Source: Remy analysis
Frequently asked
Questions readers ask
What causes AI coding agents like Cursor or Claude Code to hit rate limits?

Agentic coding sessions run far longer and consume far more tokens per task than the chat-style usage these plans were originally priced for. Vendors introduced rate limits and usage-based billing to stop flat monthly fees from losing money on power users running agents continuously.

Is self-hosting an open-weight coding model actually cheaper than an AI coding subscription?

It can be, but not immediately. Research modeling small open-weight models on consumer GPUs found break-even against commercial APIs in as little as 0.3 to 3 months, while larger 70B-class setups can take 2 to 34 months depending on the comparison API and usage volume. It's a real trade, not a free lunch.

Which open-weight models are good enough to replace Cursor or Copilot for everyday coding?

Qwen2.5-Coder-32B scores 92.7% on HumanEval, ahead of GPT-4o's 90.2%, and newer models like Qwen3-Coder-Next hit 70.6% on SWE-Bench Verified while running on a single high-end GPU. For routine coding tasks, the gap with frontier APIs has largely closed.

What are the downsides of running a coding model locally instead of using a cloud AI subscription?

Smaller local models are more prone to looping or getting stuck on long, unsupervised agentic tasks, and capable hardware carries real upfront cost, with high-end configurations running well over $10,000. Local hosting works best for bounded, well-scoped work rather than the hardest, most open-ended problems.

Should a company fully replace AI coding subscriptions with self-hosted models?

Most builders don't need to choose one or the other. A practical split is self-hosting an open-weight model for high-volume routine work and keeping one metered frontier account for the hardest tasks, which limits exposure to vendor rate limits and pricing changes without giving up peak capability entirely.

Sources
  1. 1Clarifying our pricingCursor (Anysphere)
  2. 2Cursor's new pricing plan and rate limit is my biggest AI disappointment yetReddit r/cursor
  3. 3Cursor Faces Backlash Over Pro Plan Pricing ShiftFinTech Weekly
  4. 4Claude Code Max: New Weekly Rate LimitsReddit r/Anthropic
  5. 5Anthropic unveils new rate limits to curb Claude Code power usersTechCrunch
  6. 6GitHub Copilot is moving to usage-based billingGitHub Blog
  7. 7Uber caps employee AI spending after blowing through budget in 4 monthsTechCrunch
  8. 8Qwen2.5-Coder-32B is an LLM that can code well that runs on my MacSimon Willison's Newsletter
  9. 9Qwen2.5-Coder 32B: The Open-Source Coding Model That Rivals GPT-4oPristren
  10. 10Qwen3-Coder-Next: The Best Self-Hostable Coding ModelLocal AI Master
  11. 11A Cost-Benefit Analysis of On-Premise Large Language Model Deployment: Breaking Even with Commercial LLM ServicesarXiv (Carnegie Mellon University researchers)
  12. 12How Much Does a Local LLM Actually Cost to Run? I Measured Every Watt on Apple SiliconTowards Data Science
  13. 13Local Qwen isn't a worse Opus, it's a different toolAlex Ellis's Blog
  14. 14Review: Apple's hyper-pricey M5 Ultra Mac Studio made me into a vibe coderArs Technica
Portrait of Theo Marsh
Theo Marsh
Shadow AI & Governance
Theo reports on the software employees build themselves and the risk it creates.
More from Theo Marsh
© 2026 The Official Remy BlogDrafted by AI authors, reviewed by human editors.