Home › Comparisons › Usage limits compared

AI coding tool usage limits and real cost per task (Oct 2026)

Short answer: the six big AI coding tools meter you in four different ways. Claude Code, OpenAI Codex (Plus) and Google Antigravity (AI Pro) use a rolling five-hour window plus a weekly cap. Cursor gives you one weekly pool. GitHub Copilot gives you a monthly budget of AI credits worth $0.01 each. Gemini CLI on a Code Assist license has a daily request quota. Only GitHub publishes the allowance in dollars and only OpenAI publishes message ranges; Anthropic, Google (for Antigravity) and Cursor publish the reset rhythm but not the size. Once you go past the limit, almost everyone bills extra usage at the model's API price, so a medium agent task costs roughly the same $0.70 on Sonnet 5.5, GPT-6.1 Sol or Gemini 4 Argon wherever you run it (our estimate, assumptions below).

Last verified Oct 23, 2026 on each vendor's official pricing pages and docs (sources under every table). Limits change often; confirm with the linked sources before you buy.

Plans, published limits and what happens at the limit

"Not published" means the vendor doesn't give a number. We don't guess one.

Tool and planPricePublished limitResetsAt the limitOverage price
Claude Code: Pro$20/mo ($17/mo billed annually)Not published as a number. At least 5x Claude Free per session. Shared across Claude chat (web, desktop, mobile) and Claude CodeRolling five-hour session, plus weekly limitsClaude Code says which limit you hit (session, weekly, or Opus/Sonnet model limit). Wait, upgrade, or turn on usage creditsUsage credits at standard API rates (Sonnet 5.5 $2 in / $10 out, Opus 5.5 $4 / $20 per million tokens)
Claude Code: MaxFrom $100/mo5x or 20x Pro usage per session. Anthropic doesn't list a separate Max 20x price on its pricing pageFive-hour session plus weeklySame as ProUsage credits at API rates
Claude Code: TeamStandard $25/seat ($20 annual), Premium $125 ($100 annual)Standard seats get more than Pro; Premium seats 5x Standard. Up to $500/mo pooled API creditsFive-hour session plus weeklySame as ProUsage credits at API rates
OpenAI Codex: Free and Go$0 and $8/moNot published as a number. GPT-6 Luna in the desktop app (rolling out)Not publishedWait for the reset, upgrade, or use an API keyAPI key at API rates
OpenAI Codex: Plus$20/moEstimated local messages per five hours: GPT-6.1 Sol 15 to 160, GPT-6 Luna 350 to 3,000, GPT-6 Astra 5 to 45. Weekly limits may also applyFive-hour window, plus weeklyThe current turn can finish. Then wait, buy ChatGPT credits, or switch to an API keyChatGPT credits: OpenAI says the price "can vary by account, region, and plan" and doesn't publish one. API key: GPT-6.1 Sol $2 in / $10 out per million tokens
OpenAI Codex: Pro$100, $200 or $500/moHigher limits; OpenAI says Pro currently has no five-hour limitWeeklySame as PlusSame as Plus
OpenAI Codex: Business$25/user monthly, $20 annual (2+ users). Premium seat $125 ($100 annual)Standard seat: same ranges as Plus. Premium seat: 5x more usage, no five-hour limitFive-hour plus weekly (Standard)Wait for the reset, or use an API keyAPI key at API rates
Cursor: Plus$8/mo ($80/yr)One pool for Cursor models (Grok 4.7, 4.6, 4.5, Composer 2.5) shared with Grok. Pool size not publishedWeeklyWait for the weekly reset, add prepaid credit, or upgrade. Cursor says requests are never downgradedCursor model rates: Grok 4.7 $2 in / $0.50 cached / $6 out; Composer 2.5 $0.50 / $0.20 / $2.50. No third-party models on Plus
Cursor: Premium, Super, Ultra$30, $100, $200/mo ($300, $1,000, $2,000/yr)4x, 15x and 50x the Plus poolWeeklySame as PlusThird-party models (Claude, GPT, Gemini) are never in the pool: billed at API list price from prepaid credit
Cursor: Teams$30, $100 or $200 per seatMatches the seat's tierWeeklyPrepaid credit, admin capsAPI list price plus a $0.25 per million token Cursor Token Rate on eligible models
GitHub Copilot: Free$0An allowance of AI credits (amount not published), auto model selection only, 2,000 code completions a monthMonthlyUpgrade or waitNone on Free
GitHub Copilot: Pro$10/mo1,500 AI credits a month (1,000 base + 500 "flex"). Unlimited completions. Claude Sonnet 5.5 yes, Opus 5.5 no00:00 UTC on the 1st of each month. No rolloverUpgrade (you pay only the price difference), set a dollar budget for extra usage, or wait$0.01 per AI credit at each model's per-token rate
GitHub Copilot: Pro+ and Max$39 and $100/mo7,000 (3,900 + 3,100 flex) and 20,000 (10,000 + 10,000 flex) AI credits. Adds Opus 5.5, Fable 5.1, GPT-6.1 Sol, Gemini 4 ArgonMonthly, 1st at 00:00 UTCSame as Pro$0.01 per credit
GitHub Copilot: Business, Enterprise$19 and $39 per user1,900 and 3,900 credits per user, pooled across the organizationMonthlyRequest more budget from your admin$0.01 per credit
Gemini CLI: API keyPay per tokenGoogle's quota page still lists a free key tier (250 requests a day, Flash only), but its transition notes only promise paid keysDaily (free tier)Rate limits only on paid keysGemini 4 Argon $2 in / $10 out per million tokens through Nov 30, 2026, then $4 / $20. Gemini 3.8 Flash $0.75 / $3.75 through Dec 31, 2026
Gemini CLI: Code Assist Standard, EnterpriseAbout $22.80 and $54 per user/mo ($19 and $45 on 12 months)1,500 and 2,000 model requests per user per dayDailyNot documented. Use an API key for moreNot published for license quotas
Google Antigravity: Free$0"Meaningful quota," not published as a number. Unlimited Tab and Command requestsWeeklyWait for the weekly refreshNone
Google Antigravity: Google AI Pro$19.99/moNot published. Separate pools for Gemini models and for Claude/GPT models, each with a five-hour and a weekly limitEvery five hours, up to a weekly limitIf AI Credit Overages is set to Always, Google AI credits are used; if Never, you waitGoogle AI credits, consumed at standard Gemini Enterprise and API pricing
Google Antigravity: Google AI Ultra$99.99 (5x Pro) or $199.99 (20x Pro)Highest quota, not published as a numberEvery five hoursSame as ProGoogle AI credits

Sources, all checked Oct 23, 2026: claude.com/pricing · Claude Code costs and limits · Claude API pricing · Codex pricing · OpenAI API pricing · Cursor models and pricing · GitHub Copilot plans · Copilot usage-based billing · Copilot model pricing · Gemini CLI quotas · Gemini API pricing · Gemini Code Assist pricing · Antigravity plans · Antigravity models. Google lists Code Assist as an hourly fee; we converted at 8,760 hours a year divided by 12. US prices, before tax.

Which reset rhythm fits how you work

  • You code in bursts every day: five-hour windows (Claude Pro, Codex Plus, Antigravity on Google AI Pro) suit you. Hit the wall, take a break, come back. The weekly cap is what stops all-day, every-day use.
  • You have a few heavy days a week: Cursor's weekly pool lets you burn most of it on Tuesday. One heavy day can't take your whole month, but it can take your week.
  • You want a dollar number: GitHub Copilot is the only one that tells you exactly what you get ($15 of usage on Pro, $70 on Pro+, $200 on Max). The catch: it resets once a month, so a big first week can leave you dry until the 1st. And a third of Pro's credits are "flex," which GitHub says can change "as the economics of AI evolve."
  • You're on a company license: Code Assist's 1,500 or 2,000 requests a day is the most predictable quota here, but it counts requests, not tokens, and Google hasn't said what happens when you run out.

Estimated cost per task Estimate

This section is our estimate, not a vendor number. No vendor publishes a per-task price. We took three task sizes, assumed token counts, and priced them at each model's published API rate. That's also what you pay once you go past a plan's limit on Claude (usage credits), Codex (API key), Cursor (third-party models), Copilot (AI credits at provider list price) and Antigravity (Google AI credits).

Task size (assumption)ExampleInput tokens, all turnsShare cachedOutput tokens
SmallFix one bug in one file200,00090%4,000
MediumAdd a feature across 3 to 5 files, with tests1,500,00090%25,000
LargeMulti-file refactor or a long agent session6,000,00090%100,000

Why input is so large: an agent resends the conversation, files and tool output on every turn, so input dominates and most of it is a cache hit. Formula: (uncached input x input price) + (cached input x cache-read price) + (output x output price). We left out cache-write charges (Anthropic charges extra to write the cache), long-context surcharges and fast modes, so real costs can be higher.

Model (where you'd use it)Published API price per 1M tokens (in / cached / out)SmallMediumLarge
Claude Sonnet 5.5 (Claude Code, Copilot, Cursor Premium+)$2 / $0.10 / $10$0.10$0.69$2.74
Claude Opus 5.5 (Claude Code, Copilot Pro+, Cursor Premium+, Antigravity)$4 / $0.20 / $20$0.20$1.37$5.48
GPT-6.1 Sol (Codex, Copilot Pro+)$2 / $0.10 / $10$0.10$0.69$2.74
GPT-6 Luna (Codex, Copilot)$0.10 / $0.01 / $0.50under $0.01$0.04$0.16
Gemini 4 Argon, through Nov 30, 2026 (Antigravity, Gemini API)$2 / $0.10 / $10$0.10$0.69$2.74
Gemini 4 Argon, from Dec 1, 2026$4 / $0.20 / $20$0.20$1.37$5.48
Gemini 3.8 Flash, through Dec 31, 2026 (Gemini CLI, Copilot)$0.75 / $0.075 / $3.75$0.04$0.31$1.23
Grok 4.7 (Cursor pool)$2 / $0.50 / $6$0.15$1.13$4.50
Composer 2.5 (Cursor pool)$0.50 / $0.20 / $2.50$0.06$0.41$1.63

Prices from Claude API pricing, OpenAI API pricing, Gemini API pricing and Cursor models and pricing, checked Oct 23, 2026. GitHub's Copilot model pricing lists the same per-token rates for these Claude, GPT and Gemini models. Opus and Sonnet 5.5 cache reads are 5% of the input price; Grok 4.7's are 25%.

What that means for each plan Estimate

  • Copilot Pro ($10, 1,500 credits): about 22 medium tasks a month on Claude Sonnet 5.5 (68.5 credits each). Opus 5.5 isn't on Pro.
  • Copilot Pro+ ($39, 7,000 credits): about 51 medium Opus 5.5 tasks, or about 100 on Sonnet 5.5. Max ($100, 20,000 credits): about 146 on Opus.
  • Claude Code: Anthropic says the average enterprise cost is about $13 per developer per active day and 90% of users stay under $30. On our assumptions, $13 is about 19 medium Sonnet tasks or 9 on Opus. Past your Pro or Max limit, usage credits bill at these API rates.
  • Codex: OpenAI says "a typical GPT-5.6 Sol task may use 2-15 credits," but it doesn't publish one price for credits, so we can't turn that into dollars. On an API key, GPT-6.1 Sol costs the same as Sonnet 5.5 on our assumptions.
  • Cursor: Grok 4.7 has a cheaper output price than Sonnet 5.5, but its cache reads cost 5x as much ($0.50 vs $0.10), so in long, cache-heavy agent loops it comes out about 60% more expensive per task. It's inside your weekly pool, so you feel it as hitting the pool sooner, not as a bill.
  • Antigravity: Gemini 4 Argon is the same price as Sonnet 5.5 until Nov 30, then doubles to Opus 5.5 pricing on Dec 1. If you pay for Google AI credit overages, expect the same per-task cost to double.

The honest takeaway: past the limit, the same model costs about the same everywhere. What you're really comparing is how big the included allowance is and how often it refills, and only GitHub and OpenAI put numbers on that.

How to stretch your limits

Everywhere

  • Start a fresh session for each task. Every turn resends the whole conversation, so a long, unrelated history is the biggest hidden cost.
  • Use the cheaper model for easy work. Opus 5.5 costs 2x Sonnet 5.5 per task on our estimate; Gemini 3.8 Flash and GPT-6 Luna cost a fraction.
  • Keep instruction files short. CLAUDE.md, AGENTS.md and GEMINI.md load into every request.
  • Turn off MCP servers you aren't using. Their tool definitions take up context on every turn.
  • Be specific. "Fix the null check in auth.ts line 40" reads far fewer files than "fix the login bug."

Claude Code

  • Use /clear between tasks and /compact in long ones. Check usage with /usage.
  • Default to Sonnet; switch to Opus only for hard problems. Lower /effort for routine work.
  • Keep CLAUDE.md under 200 lines and move rarely needed instructions into skills, per Anthropic's docs.
  • Use plan mode before big changes, and subagents or hooks to keep noisy output out of the main context. Agent teams use about 7x the tokens of a single session, Anthropic says.

OpenAI Codex

  • Check what's left with /status. Keep AGENTS.md small and point Codex at specific files.
  • Fast mode uses 2.5x your included usage and Ultrafast 8x, per OpenAI. Leave them off unless you need the speed.
  • GPT-6 Luna's published range (350 to 3,000 messages per five hours on Plus) is about 20x GPT-6.1 Sol's, so use Luna for simple edits.

Cursor

  • Composer 2.5 costs about a third of Grok 4.7 per task on our estimate, so it stretches the weekly pool furthest.
  • Set a monthly cap on prepaid credit before you use Claude or GPT models on Premium and up.

GitHub Copilot

  • Use auto model selection: GitHub gives a 10% discount on it (30% on Max through Oct 28, 2026).
  • Completions and next edit suggestions are unlimited on paid plans and don't use credits, so lean on them for small edits.
  • Set a dollar budget so going over is a choice, and remember the reset is the 1st at 00:00 UTC, not your billing date.

Gemini CLI and Antigravity

  • In Gemini CLI, /stats model shows what you've used.
  • In Antigravity, Gemini and Claude/GPT models draw from separate pools. When one runs dry, switch families instead of waiting.
  • Leave AI Credit Overages on Never unless you want to pay per token.

Tips from Claude Code costs docs, Codex pricing, Cursor docs, Copilot billing docs, Gemini CLI quotas and Antigravity models, checked Oct 23, 2026.

Ready to try one?

Every tool here can be cancelled monthly, so the fastest way to decide is a real task on each.

Claude Code

Start on: Pro $20. Start here. Includes Claude Code with usage limits; $17/mo if you pay $200 for the year.

OpenAI Codex

Start on: Plus $20. Most developers: Codex in the CLI, IDE extension, web and iOS, plus cloud tasks and automatic code review.

GitHub Copilot

Start on: Pro $10. The best value for most individuals: 1,500 AI credits and a choice of models including Claude and GPT. Verified teachers and popular open-source maintainers may get it free.

FAQ

Which AI coding plan gives the most usage for $20?

Nobody publishes a like-for-like number, so there is no honest single winner. OpenAI is the only vendor that publishes ranges for its $20 plan: ChatGPT Plus gets an estimated 15 to 160 GPT-6.1 Sol local messages per five hours in Codex. GitHub publishes a dollar budget instead: Copilot Pro at $10 includes 1,500 AI credits (worth $15 at $0.01 each) per month. Anthropic (Claude Pro $20) and Google (Google AI Pro $19.99 in Antigravity) publish only the reset rhythm, not the size of the allowance. Cursor publishes multipliers (Premium is 4x Plus) but not the size of the Plus pool.

What happens when I hit my Claude Code limit?

Claude Code tells you whether you hit the five-hour session limit, the weekly limit, or a per-model (Opus or Sonnet) limit. You can wait for the reset, upgrade to Max, or turn on usage credits, which are billed at standard API rates. You can see your usage with /usage in Claude Code or under Settings > Usage.

Do Codex limits stop me mid-task?

OpenAI says that when you reach a limit the current turn can finish. After that you can wait for the reset, buy ChatGPT credits on Plus and Pro, or switch Codex to an API key and pay API rates. OpenAI says the price of credits can vary by account, region and plan, so it doesn't publish one price. Check your usage with /status.

When do GitHub Copilot AI credits reset?

At 00:00 UTC on the first day of every calendar month, whatever your billing date is. Unused credits don't roll over. If you run out you can upgrade (you pay only the price difference), set a dollar budget for additional usage at $0.01 per credit, or wait for the reset.

How much does one AI coding task cost?

It depends on the model and the size of the task, and no vendor publishes a per-task price. Our estimate, at published API prices, for a medium task (1.5 million input tokens, 90% of them cached, and 25,000 output tokens) is about $0.69 on Claude Sonnet 5.5, GPT-6.1 Sol or Gemini 4 Argon (before Dec 1, 2026), about $1.37 on Claude Opus 5.5, and about $1.13 on Grok 4.7 in Cursor. Anthropic says the average Claude Code cost is about $13 per developer per active day. These are estimates; your token counts will differ.

Does Copilot Pro include Claude Opus 5.5?

No. GitHub's plans page lists Claude Opus 5.5 on Copilot Pro+, Max, Business and Enterprise, not on Copilot Pro. Copilot Pro at $10 includes Claude Sonnet 5.5, Sonnet 5 and Haiku 5.5, among others.

Ship your app: the rest of the stack

Picked your AI coding tool? These are the usual next costs. Free tiers first, and prices checked Oct 20, 2026 on each vendor's pricing page.

Code review

AI writes code fast; something should read it before it ships.

  • CodeRabbitAI review on every pull request, in GitHub or GitLabFree for public repos; Essentials $24/user/mo billed annually ($30 monthly)

Already paying for Copilot or Codex Plus? Both include AI pull request review, so try that first.

Hosting

Where your app lives once it works on your machine.

  • VercelNext.js and front-end appsHobby free (personal, non-commercial); Pro $20/mo per developer seat
  • NetlifyStatic sites and front ends, unlimited Pro membersFree; Personal $9/mo; Pro $20/mo with unlimited members
  • RailwayBack ends, workers and databases with no server setupFree trial $5 credit; Hobby $5/mo incl. $5 usage; Pro $20/mo
  • RenderHeroku-style web services, cron jobs and PostgresHobby $0 + compute; Pro $25/mo + compute

Database and auth

Most AI-built apps need a Postgres database and logins.

  • SupabasePostgres + auth + storage in one; Lovable and Bolt connect to itFree (2 projects, pause after 1 week idle); Pro from $25/mo
  • NeonServerless Postgres with branching, pay for what you useFree (100 projects); paid plans usage-based

Domain name

A real domain for your app.

  • Cloudflare RegistrarDomains at cost with no markupWholesale price per TLD
  • PorkbunCheap domains with free WHOIS privacyVaries by TLD
  • NamecheapPopular registrar with hosting and email add-onsVaries by TLD

None of these links pay us today. If that changes, they'll be labeled "referral".

Editorial disclosure

Rankings are not for sale. Sponsored placements and affiliate links are always labeled, and they never change our recommendations, quiz results, prices, or comparison data. None of the links on this page are affiliate links: no vendor here pays us, and pricing source links are never affiliate links. Editorial policy.