Is Claude Code Free? Plans, Limits and API Charges
Short answer
No. Claude's Free plan does not include Claude Code (checked 29 November 2026). Claude Code is the agent that works in a repository through a terminal or supported IDE. Free Claude chat can still write and run code in a conversation. That is a different feature.

- 1Do you only need code written in a chat, with you running it? Free chat can do that.
- 2Do you want an agent that edits a repository? You need Pro or higher, a team seat, or a Console API account.
- 3Is ANTHROPIC_API_KEY set on the machine? Then Claude Code bills the API key, not your subscription.
- 4Check /usage or your Console billing page after the first real session.
If you need the repository agent, the standard individual route is a paid Pro or Max subscription. An organization seat can include it too. The other route is a Claude Console API account, where usage is billed separately.
Claude Free versus Claude Code: what is actually free?
Claude’s Free plan excludes Claude Code. Free chat can explain a Python error, draft a function, analyze an uploaded file or create an artifact. Claude Code is the agent that reads a repository, edits files and runs commands from a terminal or supported IDE.
| What you need | What to open | Access or limit |
|---|---|---|
| Explain a stack trace, draft code or run code inside a chat | Claude Free on web, desktop or mobile | Anthropic’s Plans & pricing, read 29 November 2026, lists Free at $0 with usage limits every 5 hours and every week. |
| Keep code snippets and notes in chat projects | Claude Projects | The Claude Help Center’s project guide, read 29 November 2026, sets a maximum of 5 projects on Free. |
| Inspect a repository, edit several files and review a diff | Claude Code | See the Claude Code Advanced setup guide, read 29 November 2026. A free download gives you the app. Model access depends on how you sign in. |
Free chat can also execute code to work with files inside a conversation. The files it creates are available to download. Claude Code can work directly in a local or cloud repository. See the file creation guide and the Claude Code overview.
Anthropic says the Free chat session allowance resets every 5 hours and the number of messages varies with demand. Under that rule, a session started at 9 a.m. resets at 2 p.m. A fixed message count would give you the wrong expectation. Get started with Claude · How do usage and length limits work?
The official access routes, checked 29 November 2026
| Route | Claude Code | Price as listed (US) | Limit wording | Monthly price shown as a bar |
|---|---|---|---|---|
| Claude Free | No | $0 | Limited chat usage every 5 hours and every week | |
| Claude Pro | Yes | $20 a month, or $200 billed annually, displayed as about $17 a month | More usage than Free, with a 5-hour and weekly limit | |
| Claude Max | Yes | $100 a month | 5× Pro usage in each 5-hour period and each week | |
| Claude Ultra | Yes | $200 a month | 10× Pro weekly usage. Verified accounts have no 5-hour limit. | |
| Team seat | Yes | Standard $25 and Premium $125 per seat on monthly billing. Annual billing is $20 and $100 per seat per month, respectively. | Per-seat 5-hour and weekly limits. Premium gets 5× Standard usage. | |
| Enterprise seat | Yes for current and self-serve seats. Confirm older seat types. | $20 per seat per month billed annually, with a 20-seat minimum, plus usage at API rates | Usage limits apply. Model and task determine the usage charge. | |
| Console API account | Yes, billed per token | No flat subscription fee. Model use is metered. | Request limits and spend controls depend on the account. |
Claude Free
- Claude Code
- No
- Price as listed (US)
- $0
- Limit wording
- Limited chat usage every 5 hours and every week
Claude Pro
- Claude Code
- Yes
- Price as listed (US)
- $20 a month, or $200 billed annually, displayed as about $17 a month
- Limit wording
- More usage than Free, with a 5-hour and weekly limit
Claude Max
- Claude Code
- Yes
- Price as listed (US)
- $100 a month
- Limit wording
- 5× Pro usage in each 5-hour period and each week
Claude Ultra
- Claude Code
- Yes
- Price as listed (US)
- $200 a month
- Limit wording
- 10× Pro weekly usage. Verified accounts have no 5-hour limit.
Team seat
- Claude Code
- Yes
- Price as listed (US)
- Standard $25 and Premium $125 per seat on monthly billing. Annual billing is $20 and $100 per seat per month, respectively.
- Limit wording
- Per-seat 5-hour and weekly limits. Premium gets 5× Standard usage.
Enterprise seat
- Claude Code
- Yes for current and self-serve seats. Confirm older seat types.
- Price as listed (US)
- $20 per seat per month billed annually, with a 20-seat minimum, plus usage at API rates
- Limit wording
- Usage limits apply. Model and task determine the usage charge.
Console API account
- Claude Code
- Yes, billed per token
- Price as listed (US)
- No flat subscription fee. Model use is metered.
- Limit wording
- Request limits and spend controls depend on the account.
The bars show fixed US fees on a common scale. Team and Enterprise bars are per seat. Console charges vary with usage. Taxes and local prices may differ. Anthropic Plans & pricing
Pro is the cheapest standard individual subscription that includes Claude Code. The annual bill is paid in full up front. At the US list price, 12 monthly payments × $20 = $240. Annual billing saves $40 before tax. The Pro plan guide, read 29 November 2026, confirms the $200 annual price and explains that Console use is billed separately.
Max buys more usage. Pro already unlocks the agent. Older Anthropic pages called the two higher tiers Max 5x and Max 20x. Current pricing calls them Max and Ultra. The Max plan guide explains what the Max subscription includes.
Team and Enterprise members should confirm their seat and billing arrangement with the administrator. Every current Team seat includes Claude Code. See Anthropic’s Team and Enterprise guide, read 29 November 2026. Ask whether your organization uses included usage, usage credits or usage-based billing.
Anthropic’s monthly API credit guide, read 29 November 2026, caps the Team pool at $500 a month. Max and Ultra also include monthly platform credits. These credits cover work on the Claude Platform. Claude Code sessions and extra usage in the Claude apps have separate billing rules.
What happens when you reach a usage limit?
Paying for Pro does not buy unlimited agent time. Anthropic says a paid plan has a rolling five-hour session limit and a weekly limit, shared across Claude chat, desktop and Claude Code. Longer conversations, larger files, different models and more complex tasks consume that allowance differently. There is no dependable “X prompts per day” number that applies to every user or repository. Anthropic explains the distinction between usage limits and context length.
When a session allowance is exhausted, a reader has three normal choices: wait for the reset, use a higher-capacity eligible plan, or enable usage credits on a paid plan. The last option adds consumption-based charges. Anthropic's usage-credit guide says extra usage is charged separately and can be controlled with a monthly spend limit. Check your own Settings > Usage page for the live status rather than estimating from someone else's prompt count.
There is a second, separate paid path: authenticate Claude Code to a Claude Console API account. The Claude Code metering guide distinguishes subscription usage from API-key use, which is billed per token to the relevant account. Anthropic's API billing guide describes Console billing. API rates vary by model and features; read the current official API price table before setting a budget. Do not infer that a $20 Pro subscription also buys $20 of API usage.
The billing check that prevents an unpleasant surprise
An active Pro or Max subscription does not by itself prove that a particular terminal session is consuming subscription allowance. Anthropic warns that if an ANTHROPIC_API_KEY environment variable is present, Claude Code uses that API key instead of the subscription login. The result can be separate API charges. This is stated in its Pro and Max connection guide.
Before a long session, check the account Claude Code says it is using. If you intended subscription access but see Console billing, stop and review the login and environment configuration. Anthropic's guide says /login can switch from Console pay-as-you-go access to a subscription, and it documents /logout and reauthentication if the expected option does not appear. Do not paste keys into a chat or publish a screenshot that exposes them. For a subscription session, monitor the remaining allowance in Claude; for an API-key session, monitor the Console's cost and spend limit. Those meters answer different questions.
What the “free Claude Code” videos actually do
You can use the Claude Code interface with a free hosted model or a local model. The provider and model you select determine the cost. If you want Anthropic’s models without a subscription, check your Console balance or see whether you qualify for the open-source grant.
| Route | Model | What to check before you start |
|---|---|---|
| Anthropic Console starter credit | Anthropic model | Anthropic’s API pricing page says new users receive credits to test the API. Check the actual balance, expiry and whether it covers Claude Code before starting. Claude Platform pricing |
| Claude for Open Source | Anthropic models on Ultra | Anthropic’s program terms, read 29 November 2026, offer 6 months to approved applicants. The cap is 10,000 approved recipients unless Anthropic increases it. Program terms |
| OpenRouter free model | The hosted model you select | OpenRouter’s free model page, read 29 November 2026, lists 20 requests a minute and 50 a day for :free models before a qualifying credit purchase. It lists 1,000 a day after a $10 credit purchase, with the higher cap taking effect at $9 to account for top-up fees. Free AI Models on OpenRouter |
| Ollama local model | The local model you select | Ollama added direct compatibility in version 0.14.0 on 16 January 2026. Its integration guide, read 29 November 2026, recommends 64K or more context for local models. Ollama announcement · Ollama integration guide |
For the hosted route, the OpenRouter integration sets ANTHROPIC_BASE_URL to https://openrouter.ai/api and uses your OpenRouter key as ANTHROPIC_AUTH_TOKEN. Its guide says to leave ANTHROPIC_API_KEY empty. Pick a :free model explicitly and check the Activity dashboard for the models actually called. OpenRouter guarantees compatibility only with Anthropic’s first-party provider, so a free model can fail on a tool call. The free cap is 50 requests a day, which an agent can use up in a few prompts. An agent can make several requests for one prompt. OpenRouter integration
For the local route, Ollama documents ollama launch claude. Choose a local model and check its memory and context requirements. Anthropic’s 4 GB RAM minimum is for the coding client alone. Ollama’s January announcement recommended 32K context. Its newer integration guide gives the higher target above. Client system requirements · Ollama integration guide
Some videos add a third-party proxy to route calls. Current Ollama and OpenRouter integrations can connect directly. Read the service’s data terms before sending private code. Keep your API keys and account login away from unknown proxies, and avoid shared logins.
Which route should you choose?
Use free chat for occasional code questions. If you regularly need an agent to edit a repository using Anthropic models, start with Pro and see whether the included usage holds up. For a short sprint, compare the cost of a real API session with a month of subscription access.
| Your situation | What to look at | Price or usage evidence |
|---|---|---|
| One code question or a script you can review yourself | Use chat. Inspect the result before running it. | The Claude Help Center’s file creation guide, read 29 November 2026, covers this feature across 3 surfaces: web, desktop and mobile. |
| Regular repository work on a subscription | Track usage over several real sessions. See whether resets interrupt work before paying for more capacity. | The Claude Help Center’s plan connection guide, read 29 November 2026, says the short wrap-up allowance on Pro can apply up to 1 time per weekly period, where available. |
| A short or irregular sprint on metered billing | Record input, output and cache use, then check the Console charge. | Anthropic’s Claude Platform pricing, read 29 November 2026, lists standard Sonnet 5.5 at $2 per million input tokens and $10 per million output tokens. |
For a concrete monthly comparison, use an illustrative assumption of 6 sessions per day for 22 workdays, at 400,000 input tokens per session. That is 6 × 22 = 132 sessions. At the standard Sonnet 5.5 input rate, 132 × 0.4 million tokens = 52.8 million input tokens, costing $105.60 for input alone. This is a worked estimate. Add output charges and account for cache reads or writes using your own token breakdown. Published workload assumptions · Anthropic model rates
Set a Console spend limit for API work. A request rate limit controls how quickly you can make calls. A spend limit controls what you can incur. One measured session gives you a better starting point than a generic break-even claim. Anthropic rate and spend limits
For a team, confirm the seat and who can enable extra usage. Document which machines use API keys and which account receives the charges. Have someone review the final diff and its tests. The Python coding guide shows how to inspect generated code. The QA guide walks through planning a small test and reading its failures.
Check: Record the cost or allowance used by one representative session in the appropriate dashboard. Pass if you can identify what paid for the session and estimate a month from your actual workload. Red flag: Your estimate counts input tokens alone or assumes a subscription will cover a workload you have only run through the API.
Questions people ask
Is Claude Code included in the free Claude plan?
No. The Free plan includes code generation and execution inside chat. Anthropic’s plan comparison on 29 November 2026 marks the separate Claude Code feature as unavailable on Free. Anthropic Plans & pricing
What is the cheapest standard Claude subscription with Claude Code?
Pro. Anthropic’s US pricing on 29 November 2026 lists $20 on monthly billing or $200 billed annually. The subscription includes Claude Code with shared usage limits. Anthropic Plans & pricing
Can I use Claude Code without Pro or Max?
Yes. You can use an eligible organization seat, a separate Console account or an approved open-source grant. Console use can incur charges. The Claude Help Center’s billing guide, read 29 November 2026, says purchased Console credits expire after 1 year. Some organizations are invoiced monthly instead. A compatible hosted or local model can also power the interface through a separate provider. Claude API billing
Does Claude Pro include unlimited Claude Code?
No. The Claude Help Center’s usage guide, read 29 November 2026, describes 2 time limits on Pro: a rolling five-hour session limit and a weekly limit. Chat and Claude Code draw from the same allowance. Longer conversations, larger files and the model you choose can change how quickly you use it. Usage and length limits
Why did Claude Code charge my API account when I have Pro?
An ANTHROPIC_API_KEY can take precedence over a subscription login. Check the active authentication and the relevant billing dashboard. The Claude Code cost guide, read 29 November 2026, says /clear resets the session estimate to $0 on versions from 2.1.211 onward. The Console remains the source for actual API charges. Subscription authentication · Claude Code cost guide
Method
Plans, prices and usage-limit wording were read on Anthropic's pricing page and its Claude Code support and docs pages on 27 and 29 November 2026. The pricing page shows no date and says plans can change; check it before you buy. Old screenshots and video claims are not sources.
Sources checked on 29 November 2026
- Anthropic Plans & pricing, read 27 and 29 November 2026. Covers access, subscription fees and plan limits.
- Claude Help Center subscription connection guide, read 27 and 29 November 2026. Covers account selection and API-key precedence.
- Claude Code Docs overview, read 27 and 29 November 2026. Describes the repository agent and supported interfaces.
- Claude Code Docs, Manage costs effectively, read 27 and 29 November 2026. Shows a $0.55 session estimate and explains where to find actual charges.
- Claude Code Docs, Advanced setup, read 29 November 2026. Lists macOS 13 and later among the supported platforms.
- Claude Help Center, Create and edit files with Claude, read 29 November 2026. Explains code execution and downloadable files in chat.
- Anthropic’s Claude for Open Source Terms and Conditions, read 29 November 2026. Includes an eligibility track for maintainers of packages with at least 200,000 combined monthly downloads.
- Claude Platform Docs pricing, read 29 November 2026. Lists model rates and describes starter API credits.
- OpenRouter’s Claude Code integration, read 29 November 2026. Documents the hosted endpoint and authentication.
- Ollama’s Claude Code integration, read 29 November 2026. Documents local and hosted model setup.
Frequently asked questions
Is Claude Code included in the free Claude plan?
No. Anthropic's 20 October 2026 plan comparison marks Claude Code as unavailable on Free. The free chat can still generate and run code in a conversation, which is a separate capability.
What is the cheapest standard Claude subscription with Claude Code?
For an individual, Anthropic lists Pro at US$20 per month when billed monthly, or US$200 billed annually, on its US pricing page checked 20 October 2026. Pro includes Claude Code, subject to shared usage limits.
Can I use Claude Code without Pro or Max?
You can connect Claude Code to a Claude Console API account and pay for model usage separately. That is not the Free chat plan, and it can incur usage charges. Organization seats can also include access under their own terms.
Does Claude Pro include unlimited Claude Code?
No. Anthropic says Claude and Claude Code share a rolling five-hour session allowance, and paid plans also have weekly limits. The work you can complete varies with model choice, conversation length and task complexity.
Why did Claude Code charge my API account when I have Pro?
Anthropic warns that an ANTHROPIC_API_KEY environment variable takes precedence over subscription authentication. Check how Claude Code is signed in and the relevant billing dashboard before continuing.
Topics
- Is Claude Code Free? Plans, Limits and API Charges
Gaurav
AI visibility research at Xtrusio, Xtrusio
Xtrusio is the Perception Engine for B2B brands.
Free check
See how AI engines answer about you
Get your free AI visibility check
Keep reading
AI Search · 4 December 2026 · 5 min readGoogle Search Console Generative AI Reports: What Changed
See where Google added AI clicks and CTR, how to read impression share, and what to check before comparing data across related properties.
AI Search · 4 December 2026 · 6 min readAmazon Ergo vs Kimi K3.1 Pro, GLM 5.3 and Mistral Large 4 on Coding
Compare Amazon Ergo with Kimi K3.1 Pro, GLM 5.3 and Mistral Large 4 on coding scores, task cost and time. See how to trial them on your own code.
AI Search · 4 December 2026 · 6 min read