Claude Code on the Mac

Written & tested for accuracy by a developer (not AI) · Updated June 2026

Claude Code Pricing

Claude Code prices. Compare Pro, Max, and Ultra plans and costs for coding. Extend usage limits. Subscription versus API costs. A free app to set up Claude Code.

As an individual, you must pay for a subscription plan to use Claude Code, either Pro at $20 a month, Max at $100, or Ultra at $200. This article shows you how to make the most of any Claude plan, based on independent surveys and advice.

If you use Claude only for chat, and not for tasks or code with the Mac file system, see the related article Claude Pricing and Plans, which covers both chat and the Claude desktop app without Claude Code.

Before you get started

Use my free app to get the most from Claude. It is a FREE Mac app that installs Claude for the desktop or terminal, then adds important extras that are easy to overlook, including starter projects, skills, and connectors. Here are all the details about the app before you download. Then:

Claude Code is not just for code

First, let's straighten out Anthropic's naming confusion. Claude Code isn't only for software developers. Non-developers use it for projects that need direct work with the files on their Mac, such as research or reports. About 13% of Claude Code sessions are for general knowledge work, not coding.

To add to the confusion, Claude Code is both a feature of the Claude desktop app and a standalone product, Claude Code, a CLI (command-line interface) that you can run from a terminal window. Claude Code can also be run from within code editors such as Zed and Cursor. The article Claude Desktop and Claude Code explains the differences. This article is about both desktop and CLI versions.

Is Claude Code free?

Claude Code is not free. If you only know Claude as a free chat in a web browser, the cost for Claude Code may be a surprise. But what you get is a lot more than chat. Claude Code is an AI agent that reads and writes the files on your Mac, runs commands, and completes assigned tasks for you, over a few minutes or even a few hours.

To use Claude Code, you'll need a paid Claude plan, either Pro at $20 a month, or a more expensive plan such as Max, at $100 a month. Pro is sufficient for part-time use, but software developers who work full-time every day often subscribe to Max. See my advice below for getting more out of a $20 Pro plan.

The only way to try Claude Code for free is a guest pass, a 7-day trial of the Pro plan that an eligible Pro, Max, or Ultra subscriber can send you. You can get it only if you have never had a paid Claude plan. You need a bank card to start the trial. The trial becomes a paid Pro plan unless you cancel it before the 7 days are up (see Anthropic's help article on guest passes).

Claude Code prices

Claude Code isn't sold on its own. It is a harness, the program that lets a Claude model, or LLM (large language model), read your files, run commands, and work through a task. You get Claude Code with any paid Claude plan (Pro, Max, Ultra, Team, or Enterprise), or by paying for each request with an API key from an Anthropic Console account.

Here are Anthropic's prices for individuals, in US dollars, last checked in November 2026, at claude.com/pricing:

  • Pro, $20 a month - Includes Claude Code. Billed yearly, it is $17 a month ($200 a year). Pro includes a usage limit, which resets every 5 hours, plus a weekly limit.
  • Max, $100 a month - Five times Pro's usage, every 5 hours and every week. Billed monthly only.
  • Ultra, $200 a month - Ten times Pro's weekly usage, with no 5-hour limit once Anthropic verifies your account. Billed monthly only.

You might wonder why people pay so much to use Claude. In short, AI gets a lot of work done. Users who get started on projects with a plan at $20 a month often upgrade to $100 a month just to keep working through the day without interruptions from usage limits.

For companies:

  • Team - For 2 to 150 people. A standard seat is $25 a month, or $20 a month billed yearly, with 1.25 times Pro's usage per 5-hour session. A premium seat is $125 a month, or $100 billed yearly, with 6.25 times Pro's usage. Each person has their own limits. A Team plan needs at least 2 seats, so one developer working alone can't buy a single premium seat to get more usage instead of Max.
  • Enterprise - $20 per seat a month, billed yearly, with at least 20 seats. Enterprise includes no usage. Every request is billed at API rates, on top of the seat price. A company buys Enterprise when it needs more than 150 seats, or requires audit logs, data retention controls, and HIPAA-ready security. It can buy the Enterprise plan on Anthropic's website or through Anthropic's sales team.
  • Cloud platforms - Amazon Bedrock, Google Cloud, and Microsoft Foundry sell access to Claude models through a company's own cloud account, billed for each request at the same list prices as Anthropic's API. Claude Code can use any of them. There's no seat price and no plan limit, but API prices are expensive compared to subscriptions.

Prices exclude tax and vary by region. Some web pages still refer to Anthropic's old plan names. "Max 5x" is today's $100 Max plan. "Max 20x" is the $200 plan, which Anthropic renamed Ultra.

For a developer who uses Claude Code every day, a Team seat usually costs the company less than Enterprise or a cloud platform, because a Team seat's price includes its usage. A premium Team seat costs $125 a month and gives 6.25 times Pro's usage in each 5-hour session. That is 1.25 times the usage of the Max plan, for $25 more. Billed yearly, the premium seat costs $100 a month, the same as Max.

Some companies reimburse employees for their personal Pro or Max plan instead. The company then gets no central billing or admin controls. Personal plans also allow Anthropic to train its models on your conversations unless you opt out, while Team and Enterprise plans aren't used for training by default. But reimbursing personal plans saves your company money by avoiding API rates.

Which Claude Code plan suits you

The right plan depends on how many hours a day Claude Code works for you. How you work matters as much as the plan. On Reddit in November 2026, many developers said the Pro plan at $20 a month wasn't enough to avoid usage limits when coding for several hours a day. Others argued that Pro is sufficient if you plan each task first and keep each conversation short.

The best way to save money and avoid usage limits is to pick a Claude model carefully. If you use the lower-cost Sonnet model, you can work all day without hitting the 5-hour usage limit. The Opus 5.5 model is a developer favorite, with a lot of power, still within the 5-hour usage limit if you use Max, for tasks that don't launch a lot of subagents. Bump up to the powerful Fable 5.2 model and you can exhaust a 5-hour usage limit in less than an hour. It is best to switch between models when starting new sessions, not mid-session, unless you have written project handoff files to preserve continuity between models.

Claude Code Pro plan

The Pro plan, at $20 a month, is the least you can pay and still get Claude Code. Pro is enough to get started with a small project and use Claude Code for part of a day using the Opus 5.5 model. To make Pro last, start sessions with Sonnet for routine work and switch to Opus 5.5 for challenging tasks. Expect to reach the 5-hour limit in any long working session with Opus 5.5. When you do, Claude Code stops until the limit resets. When you reach the 5-hour limit, you can pay for usage credits if you are desperate to keep going, but it will be very expensive.

On Pro, you can't use Fable unless you pay for usage credits.

Claude Code Max plan

The Max plan, at $100 a month, gives five times Pro's usage, every 5 hours and every week. Max is the plan many developers settle on for daily work, according to their reports on Reddit and Hacker News. Personally, as a solo developer, I use a Claude Max subscription at $100 a month. In November 2026, I was using Claude Opus 5.5 for everyday work throughout the day and seldom exceeded my 5-hour usage limit.

If you want to use Fable, Max includes Fable for up to half of your weekly limit, but you'll eat up the 5-hour limit quickly.

Claude Code Ultra plan (was Claude Max 20x)

The Ultra plan, at $200 a month, gives ten times Pro's weekly usage, with no 5-hour limit once Anthropic verifies your account. Ultra suits a developer who leaves Claude Code working on several tasks at the same time, or on long overnight runs with no one at the keyboard.

Claude Code usage limits

Claude Code shares its usage limits with the rest of Claude. Your chats on the web, in the desktop app, and on your phone consume the same usage as Claude Code in the terminal, in a code editor, and in the desktop app's Code tab. So a long chat session with a Pro plan in the morning may leave little for coding after lunch.

Paid plans have two limits. The session limit starts with your first request and resets in full 5 hours later. The weekly limit resets at a fixed day and time assigned to your account, which you can see in the Claude app under Settings > Usage. On Max and Ultra, Fable, the strongest model, also has a weekly limit of its own. It can use at most half of your weekly allowance. On Pro, you can use Fable only by paying for expensive usage credits.

There is no fixed number of requests. A long conversation, large files, a stronger model, and a higher effort level all use more of your allowance. Type /usage in Claude Code to see how much of each limit you have used, and how it was used.

Two messages tell you which limit you reached:

  • "You've hit your session limit" means the 5-hour limit. Changing the model doesn't help, so wait for the reset.
  • "Fable limit reached" means you have used the Fable part of your weekly limit on Max or Ultra. Claude Code asks whether to keep going on Fable with usage credits. Or switch to another model and keep working.

When Claude Code reaches the 5-hour limit in the middle of a step, it may finish that step first ("Usage limit reached · wrapping up"). Anthropic allows this once a week on Pro, and at each 5-hour limit on Max.

When you reach a limit, you have three choices. You can wait for the limit to reset, move to a higher plan (its limits apply at once), or turn on usage credits, which bill extra use at Anthropic's expensive API rates. Turn on usage credits in the Claude app under Settings > Usage, or type /usage-credits in Claude Code. Set a monthly spending cap there, so a long task can't run up a large bill. To keep costs down, it is better to take a break than to keep working with Claude, but that takes self-discipline.

Why did I hit my Claude Code limit so fast?

The model you choose matters most. Fable 5.2, Anthropic's strongest model, released in November 2026, uses up a plan far faster than Opus. In Hacker News discussions in November 2026, about 15 developers reported using up a 5-hour limit in 10 to 20 minutes with Fable. One was on the $100 Max plan, with Fable running six subagents (helper agents that work at the same time). On Reddit, one developer measured Fable using a limit about four times faster than Opus for the same amount of work.

The advice developers repeat is to let Fable plan the work and review it, and let Opus 5.5 write the code. Anthropic's own advice is similar. It recommends starting with Opus 5.5 for most coding, and moving up to Fable for the hardest problems.

After considering the model, these factors use up a plan fastest:

  • A long conversation - Claude Code sends the whole conversation with every request, so each request costs more as the conversation grows. Use /compact and /clear to compress or purge the context. And use handoff files to preserve continuity.
  • Large files pasted into the prompt - Point to a file by name, or attach it with "Add files," instead.
  • Many MCP servers - Each MCP server adds its tool descriptions to every request.
  • A long CLAUDE.md - Claude Code reads your agent instructions at the start of every session.
  • Several subagents at once - Each one has its own conversation.

Many developers on Reddit complain their limits feel smaller than they used to be. Anthropic says only that it may adjust limits to manage capacity, so check /usage regularly rather than expecting to have the same usage that a plan gave you last month.

Making a Claude Code plan last longer

Experienced developers stay within a $20 or $100 plan by choosing how Claude Code spends its allowance. Anthropic's cost guide and help articles recommend these habits:

  • Watch your usage - Type /usage to see how much of your 5-hour and weekly limits you have used.
  • Start fresh between tasks - Type /clear when you move to unrelated work, so Claude Code stops sending the old conversation with every request. Use /compact to shorten a long conversation you want to keep. Use handoff files to preserve continuity.
  • Match the model to the job - Claude Code starts on Opus 5.5 on every paid plan. Anthropic's help article on Claude Code limits suggests Sonnet for routine work (follow-up work, tests, known bugs), because Opus uses several times more of your plan for each request. Keep Opus for hard debugging and changes that touch many files. Type /model to switch. You can ask the agent which model is best suited for a task and switch before starting the task.
  • Use Fable sparingly at the beginning of the week - Check the usage meter in the Claude desktop app for the day and time of the scheduled weekly reset. If the weekly reset is approaching and you haven't used Fable, start using it more often (but you still might hit the 5-hour usage limit quickly).
  • Plan with Opus, write with Sonnet - Type /model opusplan to use Opus while Claude Code plans a task and Sonnet while it writes the code. Sonnet still sees everything Opus wrote.
  • Lower the effort - Type /effort to set how long Claude Code thinks before it answers. Medium is the default for the current models. Lower effort uses less of your plan.
  • Turn off MCP servers you don't use - Type /mcp to see them and turn off the ones you don't need.
  • Keep your CLAUDE.md short - Anthropic suggests keeping it under 200 lines.
  • Point to files instead of pasting them - Name the file and let Claude Code read the part it needs.

Claude Code cost with an API key

Some people use an API key to pay per request instead of a monthly subscription. With a key, you pay for each request, with no 5-hour or weekly limit. Most people who use Claude Code every day don't need one. Your employer may give you a key, because the company pays for API usage instead of plan seats and has no other choice. Or you may be using an API key for other AI apps you use or build and want Claude Code to bill the same account (in this case, you probably should use OpenRouter instead, a service that sells access to many companies' AI models through one account). A few dollars of requests costs less than a monthly plan, if you use Claude infrequently. But frequent use of an API key is expensive.

An API key is a long secret code, like a password, that tells Anthropic which account to bill. Create an Anthropic Console account and add a payment method to get an API key. Claude Code then bills each request against your API credit. The article Anthropic Account and Claude API Key shows how to set one up.

Anthropic's cost guide for Claude Code estimates companies spend about $13 per developer for each day of use, or $150 to $250 a month. For a developer who uses Claude Code every day, a subscription costs less than the API. On Reddit and Hacker News, developers who compared subscriptions to API keys report the same.

API prices are per million tokens (a token is a short piece of a word). Here are Anthropic's prices in November 2026, from its API pricing page:

  • Fable 5.2 - $8 per million input tokens, $40 per million output tokens.
  • Opus 5.5 - $4 input, $20 output.
  • Sonnet 5.5 - $2 input, $10 output.
  • Haiku 5.5 - $0.10 input, $0.50 output, for prompts up to 100,000 tokens.

If you have an API key set in your shell, as ANTHROPIC_API_KEY, Claude Code bills that key instead of your plan. Remove the variable from your shell configuration if you meant to use your subscription.

For developers who are coding apps that require API access to Claude, the Max, Ultra, and Team plans include API credits in addition to subscription usage: $100 a month on Max and $200 on Ultra. A Team plan gets $20 for each standard seat and $100 for each premium seat, pooled into one balance of at most $500 a month. The credits pay for the Claude API, the Claude Agent SDK, and Claude Managed Agents, for programs you build yourself. They can't be used in Claude Code or the Claude apps, even to pay for usage credits. To claim the API credits, link a Claude Console organization in the Claude app under Settings > Billing. See Anthropic's page on API credits for Max, Ultra, and Team plans.

What developers typically pay for Claude Code

On Hacker News, developers occasionally report which plan they use. In the discussions I found from April to October 2026, 504 developers revealed their plan. Of those who named a Claude level, 84 were on Pro ($20), 33 on Max ($100), and 48 on the $200 plan. Many developers report that a $20 plan lasts only for a few hours of steady work, and that $100 is a popular choice for daily work. Many also pay for both Claude and Codex and switch between the Anthropic and OpenAI models.

The article Claude Code or ChatGPT Codex? gives the full counts, what developers report about each level, and how I did the research.

Claude Code versus Codex pricing

OpenAI's coding agent, Codex, comes with ChatGPT plans at the same price points. Plus is $20 a month. The Pro plans are $100, $200, or $500 a month. The Free plan and the $8 Go plan include Codex only for quick tasks in the ChatGPT desktop app. A "Business" plan is for company accounts (OpenAI's Codex pricing page, checked in November 2026). From December 2026, the Plus, Pro, and Business plans share one usage allowance across ChatGPT and Codex, as Claude's plans already do. Quick answers from ChatGPT's Instant chat aren't counted in the usage allowance (OpenAI's help article on usage limits). To compare ChatGPT with Claude and the other assistants, see Best AI Assistants and ChatGPT Alternatives.

Developers report hitting usage limits more often with Claude Code than Codex, so Codex can be cheaper. Many people still prefer Claude Code if they can afford it, though this changes from week to week. The article Claude Code or ChatGPT Codex? compares the models and plans.

How to install Claude Code

Once you've chosen a plan, my free app "Set Up Your Mac for Claude Code" installs Claude Code and the tools it needs, adds the important extras (starter projects, skills, and connectors), then checks that claude runs. To install it yourself, see the article Install Claude Code on Mac.

Continue setting up your Mac

Visit the Mac Install Guide home page for step-by-step guides for every Mac user, from upgrading macOS to working with AI and writing code.