Claude Max 20x Is Now Ultra: Is the 5-Hour Limit Gone? New Claude Code Usage Rules, How the Weekly Limit Works, and Switching to an API Key

Claude renamed Max 5x to Max and Max 20x to Ultra, and removed the 5-hour limit for verified Ultra accounts, rolling out to most existing subscribers from October 31 (Beijing time). Pro and Max keep the 5-hour limit, weekly limits are unchanged, and Ultra gets 10 times Pro's weekly usage. This guide covers what a verified account is, how to check whether you still have a 5-hour limit, how to stretch Claude Code usage, and how to switch to an API Key when the weekly limit runs out.

7 分钟阅读
Claude Max 20x Is Now Ultra: Is the 5-Hour Limit Gone? New Claude Code Usage Rules, How the Weekly Limit Works, and Switching to an API Key

Short answer: According to Claude's official X account @claudeai (posted October 31, 01:29 Beijing time), Max 5x is renamed Max and Max 20x is renamed Ultra. Verified Ultra accounts no longer have the 5-hour limit, starting that day with most existing subscribers; newer accounts get it lifted after verification, with an email confirmation. Weekly limits are unchanged, and existing subscribers don't need to do anything.

Pro and Max still have the 5-hour limit. So when Claude Code runs out, first work out which limit you hit: if it's the 5-hour limit, wait for the reset; if it's the weekly limit and you don't want to stop, point Claude Code at an API Key, which doesn't draw on your subscription's 5-hour or weekly limits.

Create an API Key and keep coding after the weekly limit →

Rename table and effective time

Old nameNew name5-hour limitWeekly limit
ProPro (unchanged)KeptUnchanged
Max 5xMaxKept, 5 times Pro every 5 hoursUnchanged, 5 times Pro
Max 20xUltraRemoved for verified accounts; temporary limit until verifiedUnchanged, 10 times Pro
  • Effective time: the official post went out October 31, 2026, 01:29 Beijing time, rolling out that day to most existing Ultra subscribers.
  • Existing subscribers: Max 20x moves to Ultra automatically with the same plan contents; nothing to do.
  • New accounts: a temporary 5-hour limit applies until the account is verified, then it's removed automatically and you get an email.
Help Center: "The Max 20x plan is now called the Ultra plan. Existing Max 20x subscribers move to Ultra automatically" "Ultra includes 10 times the Pro plan's usage every week and has no five-hour limit, for verified accounts." Source: What is the Ultra plan?

How the 5-hour limit works now

What counts as a "verified" Ultra account

Officially, to prevent fraud and abuse Claude verifies Ultra accounts automatically using factors like account and payment history. You don't submit anything. Verifying your phone number at checkout is a separate step and does not remove the temporary limit.

How to check: open Settings > Usage on the website. If there's no "Current session" bar, your account is verified and has no 5-hour limit.

Help Center: "we automatically verify Ultra accounts using factors like your account and payment history" "If you don't see a Current session bar, your account is verified." Source: What is the Ultra plan?

Exactly which criteria are used and how long verification takes: not yet stated officially.

Pro and Max still have the 5-hour limit

The 5-hour period starts with your first message and resets in full five hours later. If you hit it, wait for the reset; the remaining time is under "Current session" in Settings > Usage.

Help Center: "The period starts when you send your first message, and your limit resets in full five hours later." "Verified Ultra accounts don't have a five-hour limit." Source: How do usage and length limits work?
Max plan: "Max plans have a five-hour limit, a weekly usage limit that applies across all models, and a separate weekly limit for Fable." Source: What is the Max plan?

Whether Pro and Max will also lose the 5-hour limit later: not yet stated officially.

How the Claude weekly limit works

With the 5-hour limit gone, the limit Ultra users actually hit is the weekly limit:

  • Ultra's weekly usage is 10 times Pro (stated in the Help Center); Max is 5 times Pro;
  • the weekly limit applies across all models, with a separate weekly limit for Fable;
  • it resets at a fixed time each week assigned to your account, regardless of when you start using Claude or subscribed; see Settings > Usage;
  • Claude on the web, the desktop app and Claude Code share the same limits, so heavy chat during the day leaves less for Claude Code at night.
Help Center: "Ultra plans have a weekly usage limit that applies across all models, and a separate weekly limit for Fable." "Additional usage limits may apply to manage capacity". Source: What is the Ultra plan?
Claude and Claude Code share limits. Source: Use Claude Code with your Pro or Max plan.

In other words, the "20" in Max 20x only ever referred to the 5-hour window; after the rename Anthropic states the weekly figure directly as 10 times Pro. It also reserves the right to apply other limits for capacity, such as monthly caps or per-model or per-feature limits.

How to check what's left

MethodWhat it shows
/usageThis session's usage; subscription accounts also see plan usage
/statusVersion, model, account and connection info
Settings > Usage on the websiteCurrent session (the 5-hour limit; verified Ultra accounts don't have it) and the next weekly reset

Test: what /status and /usage show with an API Key

We ran both commands in Claude Code 2.1.308 with a clean, separate HOME, connected to an AI Code With API Key through the global settings.json. The title bar at startup:

text
Claude Code v2.1.308
Opus 5.5 · API Usage Billing

In interactive mode, /status opened the Status tab within 3 seconds (excerpt):

text
Version:                    2.1.308
Auth token:                 ANTHROPIC_AUTH_TOKEN
Anthropic base URL:         https://api.aicodewith.ai
Model:                      Default (claude-opus-5-5)
Setting sources:            User settings

After one question, /usage opened the Usage tab within 3 seconds (excerpt):

text
Session
Total duration (API):  5s
Total duration (wall): 29s
Total code changes:    0 lines added, 0 lines removed
Usage by model:
     claude-opus-5-5:  8 input, 138 output, 10.4k cache read, 2.6k cache write

With an API Key, /usage only shows this session's stats, with no subscription 5-hour or weekly bars. In non-interactive mode, claude -p "/usage" returned in 0.4 seconds with session stats only; /status under claude -p replies "/status isn't available in this environment." and only works interactively.

Stretching Claude Code usage before it runs out

  1. Run /compact on long conversations. For idle auto-compaction see What is Claude Code Idle Compaction.
  2. Start fresh instead of resuming long idle sessions. According to a user report (@pumpccc), resuming a 358k-token conversation idle for 3 hours triggered a client warning that it would use about 7% of the 5-hour limit. Use /clear and a handoff file instead; see Hand off Claude Code to Codex with handoff.md.
  3. Use Sonnet 5.5 for routine work and Opus 5.5 for hard problems. See Claude Sonnet 5.5 vs Opus 5.5 and, for Opus 5.5's fast mode, How to use Claude Opus 5.5 Fast Mode.
  4. Run fewer parallel subagents. Each one has its own context, so usage adds up. Without a 5-hour limit, this is an easy way to burn most of a week's allowance in one go.

Weekly limit used up: switch to an API Key

Officially, once subscription usage runs out you can wait for the reset or move to a Console account and use the API. You can also connect Claude Code to an AI Code With API Key, which doesn't draw on your subscription's 5-hour or weekly limits.

Help Center: "Switch to a Claude Console account and purchase API usage credits for intensive coding sprints." "Wait until your usage limits reset." Source: Use Claude Code with your Pro or Max plan

Step 1: Create an API Key

Create an API Key →

Step 2: Edit the global settings.json

Open ~/.claude/settings.json and add this under env (ANTHROPIC_BASE_URL has no /v1):

json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.aicodewith.ai",
    "ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY"
  }
}

Restart Claude Code. If the title bar shows "API Usage Billing" and /status shows ANTHROPIC_AUTH_TOKEN as the auth token, you're on the Key. Field details and common issues: How to connect Claude Code to a third-party API.

To go back to the subscription: delete those two lines, run claude login in a terminal, and sign in with your Pro, Max or Ultra account.

Create an API Key and connect Claude Code →

FAQ

I'm an existing Max 20x subscriber. Do I need to do anything?

No. Existing subscribers move to Ultra automatically. Check Settings > Usage: if there's no "Current session" bar, your 5-hour limit is already gone.

Did Max (formerly Max 5x) lose the 5-hour limit too?

No. This change only covers verified Ultra accounts. Max and Pro keep the 5-hour limit.

Does removing the 5-hour limit mean there's no cap at all?

No. The weekly limit is unchanged, with Ultra at 10 times Pro, and Anthropic says additional limits may apply to manage capacity.

Can I use the subscription and an API Key at the same time?

Claude Code uses one at a time. With ANTHROPIC_AUTH_TOKEN and the base URL in settings.json it uses the Key; remove them and run claude login to use the subscription. Use the subscription normally and switch to the Key when the weekly limit runs out.

Can I use the same Key in Codex?

Yes. Set the base URL and Key in ~/.codex/config.toml; see the Codex config.toml guide.

Sources