Overview
Usage data shows that the average cost of using Claude Code on a team is roughly $100-200 per developer per month, mainly using the Sonnet 4 model.
Claude Code Plan Pricing and Features
Pro Plan ($20/month)
- Best for: lightweight work on small repositories (typically fewer than 1,000 lines of code)
- Model access: Sonnet 4 only, no access to Opus 4
- Claude Code usage: roughly 10-40 prompts every five hours
- Weekly usage time: 40-80 hours of Sonnet 4 usage
- Factors that matter: codebase size, auto-accept mode, and other settings affect actual usage
Max 5x Plan ($100/month)
- Best for: daily use with larger codebases
- Model access: Sonnet 4 and Opus 4 (switch with the
/modelcommand) - Claude Code usage: roughly 50-200 prompts every five hours
- Weekly usage time: 140-280 hours of Sonnet 4 and 15-35 hours of Opus 4 usage
- Auto-switch mechanism: automatically switches from Opus 4 to Sonnet 4 when usage reaches 20% of the limit
Max 20x Plan ($200/month)
- Best for: intensive use by power users or large codebases
- Model access: Sonnet 4 and Opus 4
- Claude Code usage: roughly 200-800 prompts every five hours
- Weekly usage time: 240-480 hours of Sonnet 4 and 24-40 hours of Opus 4 usage
- Auto-switch mechanism: automatically switches from Opus 4 to Sonnet 4 when usage reaches 50% of the limit
Claude Code Pricing and Token Calculation
Claude Sonnet 4 Specific Pricing
- Input tokens: $3 / MTok (million tokens)
- Output tokens: $15 / MTok
Cost Calculation Examples
Number of tokens for $10,000:
Pure input tokens scenario:
- $10,000 ÷ $3 = 3,333 MTok
- i.e., about 3.333 billion input tokens
Pure output tokens scenario:
- $10,000 ÷ $15 = 667 MTok
- i.e., about 667 million output tokens
In real Claude Code usage, since both input and output tokens are consumed at the same time, the actual token count will fall somewhere within the ranges above, depending on the input-to-output ratio.
Key Factors Affecting Claude Code Cost
The cost of Claude Code varies significantly based on the following factors:
- Codebase size: the larger the codebase being analyzed, the more tokens consumed
- Query complexity: complex programming tasks require more context and processing
- Volume of file operations: the number of files searched or modified directly affects cost
- Conversation history length: long conversations accumulate more context
- Background processing: automatic features such as conversation summarization
- Auto-accept mode setting: enabling auto-accept increases token consumption
- Number of parallel instances: running multiple Claude Code instances at once quickly consumes the limit
Claude Code Usage Limit Mechanism
Usage Limit Rules
Claude Code's usage limit is shared with the Claude web version, and all activity counts toward the same usage limit. Usage depends primarily on:
- Project complexity and codebase size
- Auto-accept setting configuration
- Number of Claude Code instances running in parallel
Automatic Model Switching Mechanism
To help maintain a good experience and prevent unexpectedly hitting the usage limit too quickly, Claude Code automatically switches Max users from Opus 4 to Sonnet 4:
- Max 5x plan: switches when usage reaches 20% of the limit
- Max 20x plan: switches when usage reaches 50% of the limit
Important characteristics:
- Usage limits reset every five hours
- Switching is based entirely on usage, independent of time
- You can use the
/modelcommand at the start of a session to override the automatic switch - Opus reaches the usage limit roughly five times faster than Sonnet
Claude Code Usage Limit Controversy and Policy Changes
New 2025 Limit Policy
In July 2025, Anthropic announced that, starting August 28, it would introduce new weekly usage limits for the Claude Pro and Max plans. These changes mainly target heavy users of Claude Code:
Policy goals:
- Curb excessive use by some users (such as running Claude Code 24/7 in the background)
- Prevent policy violations (such as account sharing or reselling access)
- These limits are expected to affect fewer than 5% of users, mainly targeting high-consumption users
User Feedback and Controversy
Main issues:
- Some Max plan users (especially $200/month users) encountered the "Claude usage limit reached" error since early July 2025
- The limit reset after a few hours, but the change was not announced in advance
- Users felt their subscription had been downgraded or that usage tracking was wrong
Impact of technical issues:
- Claude Code experienced at least 7 partial or major outages in the past week
- Infrastructure problems may have made the usage limits feel worse
- Lack of transparent communication led to user dissatisfaction
Background Reasons for Implementing the Limits
Resource management needs:
- Managing server resources and ensuring fair access
- Some users consumed more than $1,000 in API-equivalent usage in a single day on the $200/month plan
- High demand for Claude Code strained system capacity
Preventing abuse:
- Preventing account sharing and reselling access
- Controlling excessive use such as running 24/7 in the background
What to Do When Claude Code Hits the Limit
Options for Pro Plan Users
- Upgrade: consider upgrading to the Max 5x plan for more capacity
- Temporary workaround: use an Anthropic Console account to switch to pay-as-you-go usage for intensive coding sprints
- Wait for reset: wait for the usage limit to reset (every five hours)
Options for Max Plan Users
- Upgrade: Max 5x users can consider upgrading to the Max 20x plan
- Temporary workaround: use an Anthropic Console account to switch to pay-as-you-go usage
- Wait for reset: wait for the usage limit to reset
Claude Code Usage Optimization Strategies
- Combine queries: merge multiple related questions into a single message
- Avoid repeated operations: avoid uploading the same file repeatedly
- Smart model selection: proactively switch to Sonnet instead of Opus when approaching the limit
- Monitor usage: use the
/statuscommand to regularly monitor your remaining allocation - Optimize auto-accept settings: adjust auto-accept mode as needed
- Control parallel instances: avoid running multiple Claude Code instances at once
Claude Code Billing Mechanism Explained
Two Independent Billing Systems
Claude Code subscription model:
- Uses the fixed monthly fee of the Pro/Max plan
- No additional charges within the plan's limit
Key Recommendations
- Choose the right plan: select Pro, Max 5x, or Max 20x based on codebase size and usage intensity
- Optimize your habits: use message merging sensibly, avoid repeated operations, and choose models smartly
- Monitor usage: regularly use
/statusto check your remaining quota - Respond flexibly to limits: understand the API credit fallback option, but be mindful of cost control
- Stay on top of policy updates: keep up with Anthropic's latest policy changes
For the latest information, we recommend referring to:
- Anthropic official site: https://support.anthropic.com
- Claude Code documentation: https://docs.anthropic.com/en/docs/claude-code
- Using Claude Code on Your Pro or Max Plan (click for the official documentation)
- About Claude Pro Plan Usage (click for the official documentation)
- About Claude Max Plan Usage (click for the official documentation)
- Using Claude Code on Your Team or Enterprise Plan (click for the official documentation)