Guides

Claude Code Pricing & Usage Limits

Claude Code is free to install, but it runs on Claude models, so you need either a paid Claude subscription or pay-as-you-go API access. Here’s how the options compare and how to get the most from your usage.

Two ways to pay

1. Claude subscription (Pro or Max)

Claude Code is included with Claude Pro (around $20/month) and Claude Max (higher tiers, commonly around $100 and $200/month). Subscriptions are the simplest option for most individual developers: a predictable monthly price with generous usage, and access to flagship models like Claude Opus 4.8. Max tiers raise your limits substantially for heavy daily use.

2. Pay-as-you-go (API key)

Alternatively, authenticate with an Anthropic API key and pay per token via the Anthropic Console. This suits teams, automation, and CI pipelines where you’d rather pay for exactly what you use. For ballpark token costs, try the Claude API cost estimator.

How usage limits work

On subscriptions, usage is governed by rolling limits (for example, a short rolling window plus a longer weekly cap). Heavier tasks and more capable models consume your allowance faster. Limits reset automatically, and higher Max tiers offer significantly more headroom.

How to make your usage go further

  • Match the model to the task — use a faster model for routine edits and reserve a flagship model for hard problems. The model selector helps.
  • Keep context tight — use /clear between tasks and /compact on long sessions so you’re not paying to re-process old context.
  • Plan before you build — plan mode avoids expensive wrong turns on big tasks (see best practices).
  • Give it a way to verify — letting it run tests reduces back-and-forth and wasted tokens.

Which option should you pick?

If you’re an individual developer using Claude Code daily, a Pro or Max subscription is usually the best value and the least to think about. If you’re running Claude Code in automation, across a team, or in CI — or your usage is spiky — pay-as-you-go API gives you precise cost control.

Frequently Asked Questions

Is Claude Code free to use?

The Claude Code tool is free to install, but running it requires a paid Claude plan (Pro or Max) or pay-as-you-go API access, because it uses Claude models.

Is Claude Code included with Claude Pro?

Yes. Claude Code is included with Claude Pro and Claude Max subscriptions, subject to each plan’s usage limits. Max tiers provide much higher limits for heavy use.

How do Claude Code usage limits work?

On subscriptions, usage is capped by rolling limits (such as a short rolling window plus a weekly cap). More capable models and larger tasks use your allowance faster, and limits reset automatically.

Should I use a subscription or the API for Claude Code?

A Pro or Max subscription is simplest and best value for daily individual use. Pay-as-you-go API access is better for teams, automation, CI, or spiky usage where you want precise cost control.

Explore the Claude Code guide