// guide · last verified 2026-10-20

AI coding agent usage limits, explained (October 2026)

Five-hour windows, weekly pools, credits, tokens. Every coding agent rations you differently, and most don't publish the real numbers. Here's how each one actually works, when it resets, what happens when you hit the wall, and the cheapest way to get more room.

Last verified October 20, 2026 Checked against each vendor's pricing page, docs or help center. Anything they don't publish is marked Unverified.

The short version

Claude Code and Codex on ChatGPT Plus use five-hour windows with weekly caps on top. Cursor (now on The X Subscription) refills one weekly pool that it shares with Grok, and Devin Desktop (formerly Windsurf) refills daily and weekly. GitHub Copilot, Replit, Lovable, v0 and Bolt meter credits or tokens that refill monthly, with daily grants on some free tiers. When you run out, nearly all of them let you keep going at pay-as-you-go rates, which is usually cheaper than upgrading unless you hit the limit every week.

Usage limits compared

How each AI coding agent measures usage, when it resets, what happens at the limit and the cheapest extra headroom
ToolHow usage is measuredResetsWhen you hit itCheapest extra headroom
Claude CodeClaude Pro $20 ($17/mo annual), Max 5x $100, Max 20x $200 Five-hour session limit + weekly limit, shared with Claude chatUnverifiedexact caps not published Session every 5 hours; weekly once a week Wait, turn on usage credits (API rates), or upgrade to Max Usage credits with a monthly cap for overflow; Max 5x if you hit limits every week
OpenAI CodexChatGPT Free, Go $8, Plus $20, Pro $100/$200/$500, Business $20-25/user Messages per five-hour window (Plus); weekly limits may also applyUnverifiedweekly caps not published Every 5 hours; Pro has no five-hour limit for now Buy ChatGPT credits, use an API key at API rates, or upgrade Switch routine work to GPT-6 Luna and skip Fast mode
CursorThe X Subscription: Free, Plus $8, Premium $30, Super $100, Ultra $200 One weekly pool shared with Grok; Premium 4x, Super 15x, Ultra 50x PlusUnverifiedpool size not published Weekly (date shown in settings) Wait, top up prepaid credit, or move up a tier Keep Grok chat light (it eats the same pool); top-ups at the same per-model rates
GitHub CopilotFree, Pro $10, Pro+ $39, Max $100 GitHub AI Credits (1 credit = $0.01) per month Monthly Set a paid-usage budget, switch to a lighter model, or wait A $10 budget buys 1,000 credits; completions stay unlimited on paid plans
Devin Desktop (formerly Windsurf)Free, Pro $20, Max $200, Teams $80 + $40/seat Plan quota; cost per message varies by model and taskUnverifiedquota sizes not published Daily and weekly Buy extra usage at API pricing, or upgrade to Max SWE-2 is free on Pro; smaller models for routine work
Replit AgentStarter free, Core $20, Pro $100 Free Mode allowance + monthly credits for paid modesUnverifiedallowance size not published Free Mode every 5 hours (weekly cap); credits monthly Buy a credit pack, set a budget, or upgrade Do everyday work in Free Mode; Plan mode before paid runs
LovableFree, Pro $25, Business $50 Credits per message (varies by task) Daily grants expire nightly; monthly credits last 2 months Buy top-up credits or upgrade Spend the 5 free daily build credits first; top-ups last 12 months
Bolt.newFree, Pro $25, Teams $30/member Tokens; bigger projects use more per message Free: daily and monthly; Pro: monthly with rollover Wait for the reset or upgrade Keep projects lean; Pro has no daily limit and rolls tokens over
v0Free, Plus $30/user, Business $100/user 7 messages/day free; paid plans spend dollar credits on tokens Daily ($2 login credits) and monthly ($30 credits) Buy additional credits Use v0 Mini for small edits and start fresh chats
Cline and Aider (open source)Free; you pay your model provider No plan cap; you pay per token to your provider Whatever your provider's rate limits say Add provider credit or switch model Cheaper or local models (Aider supports local LLMs)

From official vendor pages, verified October 20, 2026. Prices in USD before tax. Click a tool for the full breakdown and sources below. For plan prices side by side, see the pricing cheat sheet.

Practical tips

How to stretch your limits

01

Default to the smaller model

This is the biggest lever. OpenAI estimates 350-3,000 GPT-6 Luna messages per five-hour window on Plus versus 15-160 for GPT-6.1 Sol. GitHub, Cognition and Anthropic all give the same advice: lighter models for routine work, the big one when you're stuck.

02

Send less context

Codex's docs list the main drains: long prompts, extra files, a huge AGENTS.md (nest them per folder instead) and MCP servers you aren't using. Each connected MCP server adds context to every message. Anthropic counts attachment size and conversation length against you too.

03

Start a new chat for a new task

Long conversations get resent with every message. Anthropic and v0 both say fresh chats use less. Summarise where you are, then open a clean session.

04

Leave Fast mode off

In Codex, Fast mode uses your included usage at 2.5x the normal rate and Ultrafast at 8x. Turn it on for a demo, not for a whole afternoon.

05

Check the meter before a big job

Run /status in Claude Code or the Codex CLI. Cursor shows your next reset date in settings, Copilot shows it in Copilot settings, and Replit shows usage under Settings. Start long refactors right after a reset, not right before one.

06

Cap spend before you turn on pay-as-you-go

Claude usage credits, Cursor top-ups, Copilot budgets and Replit all let you set a monthly limit. Set it first. Agent loops on frontier models can burn real money quickly.

07

Keep your Cursor pool for code

On The X Subscription, Grok chat, images and voice draw from the same weekly pool as Cursor. If you image-generate on the same account, you're spending coding time.

08

Two $20 plans can beat one $100 plan

Claude Pro and ChatGPT Plus are $20 each, and each comes with its own separate limits. $40 for two sets of five-hour windows is less than Max 5x or Codex Pro at $100. Our Claude Code vs Codex comparison covers how the two differ.

Tool by tool

How each tool's limits work

Claude Code

Claude Pro $20 ($17/mo annual), Max 5x $100, Max 20x $200

How it's measured

  • Pro and Max plans have two limits: a session limit that resets every five hours and a weekly limit. Max plans also have a separate weekly limit for Fable (the Max pricing table lists it as 50% of weekly limits).
  • The limits are shared across Claude on the web, desktop and mobile and Claude Code, including the IDE extensions. Everything you do in both counts against the same meter.
  • Max is sold as 5x or 20x Pro usage. On Team, a premium seat gets 5x the usage of a standard seat.
  • How fast you burn through it depends on message length, file size, conversation length, tool use, model choice and effort level, per Anthropic's help center.

When it resets

The session limit resets every five hours; weekly limits reset once a week. Settings > Usage shows progress bars and time remaining, and /status shows it inside Claude Code.

When you hit the limit

  • Wait for the reset.
  • Turn on usage credits (Settings > Usage). Requests switch to pay-as-you-go at standard API rates, billed separately, until you hit a monthly spend limit you set or your prepaid balance runs out.
  • Upgrade: Pro to Max 5x, or Max 5x to Max 20x.
  • Switch Claude Code to a Claude Console account and buy API credits.
  • If a response is mid-step when the five-hour limit hits, Claude Code may briefly keep going to finish the step ("Usage limit reached · wrapping up"). It's rolling out gradually.
  • Since Claude Code v2.1.304 (Oct 19, 2026), Pro and Max users get a warning when resuming an inactive conversation would use a noticeable share of the five-hour limit. You can resume anyway, or start a new conversation and have Claude look up the old one.
Cheapest way to get more: For occasional overflow, usage credits with a conservative monthly cap are cheaper than jumping from $20 to $100. If you hit limits every week, Anthropic itself points Pro users to Max 5x. Note that the $100 or $200 of monthly API credits included with Max can't be spent inside Claude Code or the Claude apps.

Watch out: If an ANTHROPIC_API_KEY environment variable is set, Claude Code uses it instead of your subscription and you pay API rates.

  • UnverifiedAnthropic does not publish how many messages or tokens a five-hour session or a week actually contains, for any plan.

Sources: Claude Help Center: Use Claude Code with your Pro or Max plan · Claude Help Center: Usage credits for paid Claude plans · Claude Help Center: Usage limit best practices · Claude pricing · Claude Code v2.1.304 release notes (Oct 19, 2026)

OpenAI Codex

ChatGPT Free, Go $8, Plus $20, Pro $100/$200/$500, Business $20-25/user

How it's measured

  • Codex shares one allowance with ChatGPT Work. Local messages and cloud chats draw from the same pool, and cloud tasks may use more of it.
  • OpenAI publishes estimated local messages per five-hour period for Plus and Standard Business: GPT-6 Astra 5-45, GPT-6.1 Sol 15-160, GPT-6 Sol 15-150, GPT-6 Luna 350-3,000. These are estimates, not fixed caps.
  • Pro plans ($100, $200 or $500) currently have no five-hour limit. Weekly limits may also apply on any plan.
  • Fast mode uses included usage at 2.5x the Standard rate and Ultrafast at 8x. Image generation uses limits about 3-5x faster.
  • Since Oct 20, 2026, OpenAI says logged-in Codex users keep their prompt cache indefinitely, so coming back to an old conversation or resuming after a few hours no longer pays a cache-miss penalty.

When it resets

Plus works in five-hour windows. Check the usage dashboard for your current limits and reset times, or run /status in the Codex CLI. Separately, the Codex team has been resetting limits early: on Oct 20, 2026 @thsottiaux posted "...and reset. Enjoy." and on Oct 22 "it's reset day today." Treat those as bonuses, not the schedule.

When you hit the limit

  • If you hit the limit mid-turn, the agent can finish that turn (subject to fair use).
  • Plus and Pro users can buy ChatGPT credits and keep working without upgrading.
  • Anyone can run extra local chats with an API key, charged at standard API rates (no cloud features in that mode).
  • Upgrade to Pro for no five-hour limit.
Cheapest way to get more: The cheapest move is free: use GPT-6 Luna for routine tasks. OpenAI's own estimate is 350-3,000 Luna messages per window versus 15-160 for GPT-6.1 Sol. After that, credits beat a $100 upgrade if you only run out now and then.

Watch out: GPT-5.5 was retired from Codex (ChatGPT sign-in) on Oct 14, 2026. API-key sessions aren't affected.

  • UnverifiedWeekly limit sizes are not published. OpenAI says to check the usage dashboard.

Sources: Codex pricing and usage limits (OpenAI developers) · @thsottiaux on X: Codex limits reset (Oct 20, 2026) · @thsottiaux on X: Codex keeps cache forever for logged-in users (Oct 20, 2026) · @thsottiaux on X: Day 17 limits reset (Oct 22, 2026)

Cursor

The X Subscription: Free, Plus $8, Premium $30, Super $100, Ultra $200

How it's measured

  • Since Oct 12, 2026 new customers buy Cursor as part of The X Subscription. Each paid plan includes one pool of usage for Cursor models (Grok 4.7, 4.6, 4.5 and Composer 2.5).
  • The pool is shared across Agent in the editor, the CLI, Cloud Agents, Grok Bot and the Grok apps (Chat, Imagine, Voice). Different models draw from it at different rates.
  • Sizes are relative: Premium is 4x Plus, Super 15x, Ultra 50x. Free is listed only as "Limited".
  • Third-party models (Claude, GPT, Gemini) are not in the pool. On Premium and above they bill at API list price from prepaid credit from the first request; Plus and Free can't use them.
  • Legacy plans (Pro, Pro+, Ultra and others) keep two monthly pools and on-demand usage instead.

When it resets

The pool refreshes weekly. Your remaining usage and next reset date are shown in editor settings and under Usage at grok.com/dashboard.

When you hit the limit

  • Wait for the weekly reset.
  • Keep working on prepaid credit (top-ups or Auto Top-up) at the same per-model rates. A monthly additional usage limit caps the spend.
  • Upgrade to a tier with a bigger weekly pool. Cursor says requests are never downgraded in quality or speed.
Cheapest way to get more: Because Grok chat, images and voice come out of the same weekly pool, the free fix is to keep heavy Grok use off the account you code with. Beyond that, a top-up is cheaper than a tier jump if you only run dry once in a while. Annual billing is $80/yr for Plus and $300/yr for Premium.

Watch out: Grok API usage is billed separately and doesn't draw from the pool.

  • UnverifiedThe absolute size of the weekly pool (in requests, tokens or dollars) is not published for any tier, and Free is listed only as "Limited".

Sources: Cursor docs: Models & Pricing · Cursor pricing · Cursor help: What is The X Subscription?

GitHub Copilot

Free, Pro $10, Pro+ $39, Max $100

How it's measured

  • Chat, agent mode, code review, the cloud agent, Copilot CLI and Copilot Apps consume GitHub AI Credits. 1 credit = $0.01.
  • Monthly credits: Pro $15 ($10 base + $5 flex), Pro+ $70 ($39 + $31), Max $200 ($100 + $100). GitHub says flex allotments may change over time.
  • Code completions and next edit suggestions don't use credits on paid plans. Free gets limited chat and agent usage; GitHub's FAQ says 2,000 completions and 50 chat requests a month.
  • Cost per interaction depends on the model and task. A quick question to a lightweight model costs a fraction of a credit; a long frontier-model agent session costs more.

When it resets

The included allowance resets every month. Your usage and reset date are in Copilot settings, with alerts at 75%, 90% and 100% of any budget you set.

When you hit the limit

  • Wait for your next cycle.
  • Set a dollar budget for additional usage and keep going ($10 covers 1,000 credits).
  • Switch to a less expensive model.
  • On Business and Enterprise, admins decide whether paid usage is allowed; if not, Copilot pauses until the next cycle.
Cheapest way to get more: Copilot is the easiest one to reason about because credits are dollars. Lighter models stretch the allowance. Moving from Pro ($10) to Pro+ ($39) costs $29 more and adds $55 of monthly credits, so it pays off once you regularly spend more than about $29 a month on extra usage; below that, a small budget is cheaper.

Watch out: Beginning June 1, 2026, Copilot code review workflows also consume GitHub Actions minutes.

  • UnverifiedThe Free plan's 2,000 completions / 50 chats figure comes from GitHub's FAQ and may lag the newer credit model.

Sources: GitHub Copilot plans & pricing

Devin Desktop (formerly Windsurf)

Free, Pro $20, Max $200, Teams $80 + $40/seat

How it's measured

  • Each paid plan has a usage allowance (quota). Cost per message depends on the model, the task size and complexity, and the reasoning required.
  • Free has a light quota, Pro has increased quotas and Max has significantly higher quotas. Tab completions and inline edits are unlimited on every plan.
  • On Teams, each full seat includes $40/month of usage that works across Devin Cloud, Devin Desktop, Devin CLI and Devin Review.
  • The same plans cover Devin Cloud agents (see the Devin tool page).

When it resets

The allowance refreshes automatically on a daily and a weekly basis.

When you hit the limit

  • On a paid plan, purchase extra usage, consumed at API pricing.
  • Upgrade to Max for significantly higher quotas.
  • Cognition says most users never hit their limits.
Cheapest way to get more: Pro includes free use of SWE-2, Cognition's own model, so default to it when it's good enough. Cognition also suggests smaller models (Haiku, GPT 5.2 Mini, Kimi K2.5) for routine tasks and tighter prompts.

Watch out: Windsurf became Devin Desktop on June 2, 2026; plans and settings carried over.

  • UnverifiedQuota sizes per plan are not published.

Sources: Devin pricing (usage FAQ) · Devin Desktop FAQ

Replit Agent

Starter free, Core $20, Pro $100

How it's measured

  • Free Mode gives no-cost Agent work within each plan's allowance. The pricing page lists Core with up to 30 hours of chat and up to 60 projects on Free Mode; Pro gets more.
  • Paid modes (Power, Max) use effort-based pricing from your monthly credits: $20 on Core, $100 on Pro. Replit asks for confirmation before a paid action starts.
  • Starter (free) keeps a daily Agent allowance and limited monthly cloud credits.

When it resets

Core and Pro Free Mode allowances reset every five hours and have weekly limits. Core credits reset at the start of each billing cycle and don't roll over; Pro credits roll over for two months.

When you hit the limit

  • Buy a credit pack (larger packs are discounted).
  • Set a usage limit and budget so paid work can't run away.
  • Upgrade to Pro for more Free Mode usage and $100 in credits.
Cheapest way to get more: Start in Free Mode and only switch to Power when you need it; use Plan mode to scope work first (it can still bill reasoning in the paid path).

Watch out: Plan Mode can perform billable reasoning in the paid path even when it doesn't change code.

  • UnverifiedThe exact Free Mode allowance per five-hour window and per week isn't published, and the pricing page doesn't say what period "up to 30 hours of chat" covers.

Sources: Replit docs: Pricing and plans FAQ · Replit pricing

Lovable

Free, Pro $25, Business $50

How it's measured

  • One credit balance pays for building, hosting on Lovable Cloud and AI features inside your app. Plan Mode costs 1 credit per message; Default Mode varies with task complexity.
  • Free: 5 build credits a day (up to 30 a month) plus 20 Cloud credits a month. Pro: 100 monthly credits plus the same daily grants of 5 build credits and 20 Cloud credits a month.
  • Workspaces have unlimited members who share one balance; owners can set per-member monthly credit limits.

When it resets

Daily build grants expire at the end of each day. Monthly plan credits expire two months after they're issued; top-up credits last 12 months.

When you hit the limit

  • Buy top-up credits.
  • Upgrade to a plan with more monthly credits.
Cheapest way to get more: Use the daily grants before they expire at midnight, and buy top-ups rather than upgrading for a one-off push, since they last a year.

Watch out: Credits aren't refundable.

  • UnverifiedPlan prices and Pro's 100 monthly credits are from our Oct 17 check; Lovable's pricing page didn't render its plan cards when we re-checked on Oct 20 (the credits FAQ above did).

Sources: Lovable pricing and credits FAQ

Bolt.new

Free, Pro $25, Teams $30/member

How it's measured

  • Bolt meters AI tokens. Most token use comes from syncing your project's files to the AI, so larger projects use more tokens per message.
  • Free: 300K tokens a day and 1M a month. Pro: from 10M tokens a month with no daily limit. Teams: from 10M per member.

When it resets

Free has a daily and a monthly cap. On paid plans unused tokens roll over.

When you hit the limit

  • Wait for the daily or monthly reset on Free.
  • Upgrade to Pro for 10M+ tokens a month and no daily cap.
Cheapest way to get more: Since file sync drives token use, a smaller project uses fewer tokens per message. Yearly billing is cheaper (Pro shows $18/month billed annually).

Watch out: Team tokens are per member, not pooled.

Sources: Bolt pricing

v0

Free, Plus $30/user, Business $100/user

How it's measured

  • Free is capped at 7 messages a day. Plus and Business include $30 of monthly credits per user plus $2 of free daily credits on login.
  • Usage is metered in tokens on v0's own models. Per 1M tokens: Mini $0.20 in / $1.20 out, Pro $2 / $10, Max $5 / $25, Max Fast $10 / $50.

When it resets

The free daily message cap and the $2 login credits are daily; included credits are monthly.

When you hit the limit

  • Purchase additional credits, shared across your team.
Cheapest way to get more: Mini costs a tenth of Pro per token, so use it for small UI tweaks. v0 notes long chats use many input tokens, so start a new chat when the old one gets long.

Sources: v0 pricing

Cline and Aider (open source)

Free; you pay your model provider

How it's measured

  • Cline (VS Code extension and CLI) and Aider (terminal) have no usage limits of their own. You bring your own API key, or use the Cline provider at cost, and pay per token.
  • Your real limits are your API budget and your provider's rate limits.

When it resets

No plan reset. Provider rate limits and billing apply.

When you hit the limit

  • Top up your provider account, or switch to a cheaper model.
Cheapest way to get more: Pick a cheaper model for routine work, or run a local model with Aider for zero API cost.

Watch out: Agent loops on frontier models can get expensive fast, so set a spend cap with your provider.

Sources: Cline pricing · Aider homepage

FAQ

Do Claude Code and the Claude app share the same usage limit?

Yes. On Pro and Max, everything you do in Claude (web, desktop, mobile) and in Claude Code, including the IDE extensions, counts against the same five-hour session limit and weekly limit.

How often do Claude Code limits reset?

The session limit resets every five hours and the weekly limit resets once a week. Max plans also have a separate weekly limit for Fable. You can see time remaining in Settings > Usage or with /status in Claude Code. Anthropic doesn't publish how many messages each limit contains.

Did OpenAI reset Codex usage limits?

On October 20, 2026, @thsottiaux from the Codex team posted that limits had been reset again ("...and reset. Enjoy."). Those early resets are bonuses, not a schedule. Officially, Plus runs on five-hour windows, weekly limits may also apply, Pro currently has no five-hour limit, and your usage dashboard shows the real reset times.

Does Cursor have weekly limits now?

Yes, on The X Subscription. Each paid plan gets one weekly pool shared between Cursor and Grok: Premium is 4x Plus, Super 15x and Ultra 50x. When it runs out you wait for the weekly refresh, top up prepaid credit, or upgrade. Legacy Cursor plans keep their monthly pools.

What happens when I run out of GitHub Copilot credits?

You can wait for your monthly reset, set a dollar budget for extra usage (1 credit = $0.01, so $10 buys 1,000 credits), or switch to a cheaper model. Code completions keep working on paid plans because they don't use credits. On Business and Enterprise, admins decide whether paid usage is allowed.

Which AI coding agent has the most generous limits?

There's no fair ranking because most vendors don't publish their caps. Claude, Cursor and Devin only describe relative sizes (5x, 20x, 4x, 50x). OpenAI publishes message estimates for Codex Plus and says Pro currently has no five-hour limit. Copilot is the most transparent because its credits are denominated in dollars.

Is it cheaper to pay API rates or upgrade my plan?

If you run out occasionally, paying as you go (Claude usage credits, Codex credits, Cursor top-ups, a Copilot budget) is usually cheaper than a bigger plan. If you hit the wall every week, the upgrade usually wins. Anthropic itself suggests Pro users who consistently hit limits move to Max 5x.

How do I check how much usage I have left?

Claude: Settings > Usage, or /status in Claude Code. Codex: the usage dashboard, or /status in the CLI. Cursor: editor settings or Usage at grok.com/dashboard. GitHub Copilot: Copilot settings. Replit: Usage in Settings.

Sources

  1. Claude Help Center: Use Claude Code with your Pro or Max plan (support.claude.com)
  2. Claude Help Center: Usage credits for paid Claude plans (support.claude.com)
  3. Claude Help Center: Usage limit best practices (support.claude.com)
  4. Claude pricing (claude.com)
  5. Claude Code v2.1.304 release notes (Oct 19, 2026) (github.com)
  6. Codex pricing and usage limits (OpenAI developers) (developers.openai.com)
  7. @thsottiaux on X: Codex limits reset (Oct 20, 2026) (x.com)
  8. @thsottiaux on X: Codex keeps cache forever for logged-in users (Oct 20, 2026) (x.com)
  9. @thsottiaux on X: Day 17 limits reset (Oct 22, 2026) (x.com)
  10. Cursor docs: Models & Pricing (cursor.com)
  11. Cursor pricing (cursor.com)
  12. Cursor help: What is The X Subscription? (cursor.com)
  13. GitHub Copilot plans & pricing (github.com)
  14. Devin pricing (usage FAQ) (devin.ai)
  15. Devin Desktop FAQ (docs.devin.ai)
  16. Replit docs: Pricing and plans FAQ (docs.replit.com)
  17. Replit pricing (replit.com)
  18. Lovable pricing and credits FAQ (lovable.dev)
  19. Bolt pricing (bolt.new)
  20. v0 pricing (v0.app)
  21. Cline pricing (cline.bot)
  22. Aider homepage (aider.chat)

Last verified October 20, 2026. All figures come from the pages above as they read that day. The Codex reset note comes from a Codex team member's post on X, not a pricing page. Spot something out of date? Email [email protected].

Keep going