{"id":17190,"date":"2026-07-27T08:00:26","date_gmt":"2026-07-27T12:00:26","guid":{"rendered":"https:\/\/wp.glbgpt.com\/?p=17190"},"modified":"2026-07-27T08:00:27","modified_gmt":"2026-07-27T12:00:27","slug":"claude-code-pricing","status":"publish","type":"post","link":"https:\/\/wp.glbgpt.com\/zh-hk\/hub\/claude-code-pricing","title":{"rendered":"Claude Code Pricing Guide: Free, Pro, Max &amp; API"},"content":{"rendered":"<p class=\"ccp-wp-paragraph wp-block-paragraph\">Claude Code pricing looks simple until you try to choose a way to pay. You can use Claude Code through a Claude subscription or connect it to Anthropic&#8217;s API, but those options follow different billing rules. A fixed monthly plan does not include API credits, and an API key can create a separate bill even when you already pay for Pro or Max.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">This guide breaks down the Free, Pro, Max 5x, Max 20x, and API options, including what the advertised prices cover, how usage limits work, and what happens when you run out. It also shows you how to check which billing route Claude Code is using before a long coding session becomes an unexpected expense.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Before you subscribe, ask one practical question: do you need Claude Code itself, or do you mainly need AI help with code? Claude Code is built to work in a terminal and act on a codebase. If you want browser-based coding help or a simple way to compare answers from different AI models, <a href=\"https:\/\/www.glbgpt.com\/home?inviter=hub_popup&amp;login=1\">GLBGPT<\/a> provides another starting point without requiring a command-line setup. These are different use cases, so this guide keeps them separate rather than presenting one as a complete replacement for the other.<\/p>\n\n\n\n<nav aria-label=\"\u76ee\u9304\" style=\"font:16px\/1.68 Arial,Helvetica,sans-serif;color:#17202a;border:1px solid #d9e2ec;border-left:5px solid #2563eb;border-radius:9px;padding:18px 20px;margin:25px 0;background:#f6f9ff;\">\n    <strong>\u76ee\u9304<\/strong>\n    <ul>\n      <li><a href=\"#quick-answer\">Quick Answer: How Much Does Claude Code Cost?<\/a><\/li>\n      <li><a href=\"#how-pricing-works\">How Claude Code Pricing Works<\/a><\/li>\n      <li><a href=\"#is-claude-code-free\">Is Claude Code Free?<\/a><\/li>\n      <li><a href=\"#pro-plan\">Claude Code Pro Plan<\/a><\/li>\n      <li><a href=\"#max-pricing\">Claude Code Max Pricing<\/a><\/li>\n      <li><a href=\"#api-pricing\">Claude Code API Pricing Explained<\/a><\/li>\n      <li><a href=\"#usage-limits\">Claude Code Usage Limits Explained<\/a><\/li>\n      <li><a href=\"#reach-limit\">What Happens When You Reach the Limit?<\/a><\/li>\n      <li><a href=\"#unexpected-api-charges\">Why Pro or Max Users May Get API Charges<\/a><\/li>\n      <li><a href=\"#reduce-costs\">How to Reduce Claude Code Costs and Usage<\/a><\/li>\n      <li><a href=\"#claude-code-or-models\">Do You Need Claude Code\u2014or Just Claude Models?<\/a><\/li>\n      <li><a href=\"#faq\">\u5e38\u898b\u554f\u984c<\/a><\/li>\n    <\/ul>\n  <\/nav>\n\n\n\n<h2 id=\"quick-answer\" class=\"wp-block-heading ccp-wp-heading\">Quick Answer: How Much Does Claude Code Cost?<\/h2>\n\n\n\n<div style=\"font:16px\/1.68 Arial,Helvetica,sans-serif;color:#17202a;border:1px solid #f1d49a;border-left:5px solid #d97706;border-radius:9px;padding:18px 20px;margin:25px 0;background:#fff8e8;\"><strong>\u7c21\u77ed\u7684\u56de\u7b54\uff1a<\/strong> Anthropic&#8217;s current individual-plan guide lists Free at $0, Pro at $20 per month or $200 per year, Max 5x at $100 per month, and Max 20x at $200 per month. Anthropic separately documents Claude Code access for Pro and Max subscribers. API access is pay-as-you-go and is not included in those subscription prices.<\/div>\n\n\n\n<div data-ccp-table=\"true\" style=\"overflow-x:auto;margin:18px 0 25px;\"><table style=\"width:100%;border-collapse:separate!important;border-spacing:0!important;font:15px\/1.68 Arial,Helvetica,sans-serif;color:#17202a;border:1px solid #dfe5ec!important;border-radius:8px;overflow:hidden;background:#fff!important;\">\n    <thead><tr><th style=\"box-sizing:border-box;background:#17364d!important;color:#fff!important;font-weight:700!important;border:0!important;border-bottom:1px solid #dfe5ec!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;\">\u9078\u9805<\/th><th style=\"box-sizing:border-box;background:#17364d!important;color:#fff!important;font-weight:700!important;border:0!important;border-bottom:1px solid #dfe5ec!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;\">Advertised price<\/th><th style=\"box-sizing:border-box;background:#17364d!important;color:#fff!important;font-weight:700!important;border:0!important;border-bottom:1px solid #dfe5ec!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;\">How Claude Code is billed<\/th><th style=\"box-sizing:border-box;background:#17364d!important;color:#fff!important;font-weight:700!important;border:0!important;border-bottom:1px solid #dfe5ec!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;\">\u6700\u9069\u5408<\/th><\/tr><\/thead>\n    <tbody><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">\u514d\u8cbb<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">$0<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">Free Claude plan; verify current Claude Code eligibility for the account<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">Testing Claude before committing<\/td><\/tr><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">\u5c08\u696d<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">$20\/\u6708\u6216 $200\/\u5e74<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">Claude Code usage is included within shared subscription limits<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">Light to regular individual use<\/td><\/tr><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">\u6700\u5927 5 \u500d<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">$100\/\u6708<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">Included with 5x Pro capacity per session<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">\u6bcf\u65e5\u9032\u5c55<\/td><\/tr><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">\u6700\u5927 20 \u500d<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">$200\/\u6708<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">Included with 20x Pro capacity per session<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">Heavy individual use<\/td><\/tr><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:0!important;background:#fff!important;color:#17202a!important;\">\u4eba\u985e\u672c\u4f4d API<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:0!important;background:#fff!important;color:#17202a!important;\">No fixed Claude Code subscription price<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:0!important;background:#fff!important;color:#17202a!important;\">Pay for model tokens and related usage<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:0!important;background:#fff!important;color:#17202a!important;\">Variable workloads, automation, and organization billing<\/td><\/tr><\/tbody>\n  <\/table><\/div>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">The prices above come from Anthropic&#8217;s <a href=\"https:\/\/support.claude.com\/en\/articles\/11049762-what-is-the-max-plan\">individual plan guide<\/a>. The word <strong>\u5305\u542b<\/strong> does not mean unlimited. Subscription access is controlled by usage limits, while API access creates token-based charges in the connected Console account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large ccp-wp-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1280\" height=\"1054\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-plan-pricing-free-pro-max.webp\" alt=\"Official Claude plan pricing table comparing Free, Pro, Max 5x, and Max 20x\" class=\"wp-image-17202\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-plan-pricing-free-pro-max.webp 1280w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-plan-pricing-free-pro-max-300x247.webp 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-plan-pricing-free-pro-max-1024x843.webp 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-plan-pricing-free-pro-max-768x632.webp 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-plan-pricing-free-pro-max-15x12.webp 15w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><figcaption class=\"wp-element-caption\">Claude\u2019s official plan guide lists Free at $0, Pro at $20 per month or $200 per year, Max 5x at $100 per month, and Max 20x at $200 per month.<\/figcaption><\/figure>\n\n\n\n<style>\n#ccp-plan-price-figure{--ink:#132238;--muted:#5b6778;--line:#d7dee8;--soft:#f5f8fc;--accent:#d97706;--accent-soft:#fff4dc;font:15px\/1.5 Arial,sans-serif;color:var(--ink);border:1px solid var(--line);border-radius:14px;background:#fff;padding:22px;margin:28px 0;box-shadow:0 14px 34px rgba(23,42,68,.08)}\n#ccp-plan-price-figure *{box-sizing:border-box}#ccp-plan-price-figure .head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}#ccp-plan-price-figure .title{font-size:21px;font-weight:700;line-height:1.25}#ccp-plan-price-figure .note{font-size:13px;color:var(--muted);max-width:390px;text-align:right;background:none;border:0;padding:0;margin:0}\n#ccp-plan-price-figure .grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#ccp-plan-price-figure .plan{border:1px solid var(--line);border-radius:11px;padding:15px;background:var(--soft)}#ccp-plan-price-figure .plan.featured{background:var(--accent-soft);border-color:#efc46e}#ccp-plan-price-figure .name{font-weight:700}#ccp-plan-price-figure .price{font-size:27px;line-height:1.15;font-weight:700;margin:8px 0 4px}#ccp-plan-price-figure .price small{font-size:13px;font-weight:400;color:var(--muted)}#ccp-plan-price-figure .capacity{font-size:13px;color:var(--muted);min-height:40px}\n#ccp-plan-price-figure .track{height:8px;border-radius:99px;background:#e4e9ef;margin-top:13px;overflow:hidden}#ccp-plan-price-figure .bar{height:100%;border-radius:99px;background:var(--accent)}#ccp-plan-price-figure .axis{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:8px}@media(max-width:700px){#ccp-plan-price-figure .head{display:block}#ccp-plan-price-figure .note{text-align:left;margin-top:6px}#ccp-plan-price-figure .grid{grid-template-columns:1fr 1fr}}\n<\/style>\n<div id=\"ccp-plan-price-figure\" role=\"img\" aria-label=\"Monthly Claude plan prices from zero to two hundred dollars, with official plan capacity labels\">\n  <div class=\"head\"><div class=\"title\">Claude plan prices at a glance<\/div><div class=\"note\">Bar length represents monthly price only. Capacity labels use Anthropic&#8217;s official per-session wording.<\/div><\/div>\n  <div class=\"grid\">\n    <div class=\"plan\"><div class=\"name\">\u514d\u8cbb<\/div><div class=\"price\">$0<\/div><div class=\"capacity\">Limited capacity<br>\u5076\u723e\u4f7f\u7528<\/div><div class=\"track\"><div class=\"bar\" style=\"width:0\"><\/div><\/div><\/div>\n    <div class=\"plan featured\"><div class=\"name\">\u5c08\u696d<\/div><div class=\"price\">$20 <small>\/\u6708<\/small><\/div><div class=\"capacity\">Standard capacity<br>$200 when billed yearly<\/div><div class=\"track\"><div class=\"bar\" style=\"width:10%\"><\/div><\/div><\/div>\n    <div class=\"plan\"><div class=\"name\">\u6700\u5927 5 \u500d<\/div><div class=\"price\">$100 <small>\/\u6708<\/small><\/div><div class=\"capacity\">\u6bcf\u7bc0 5 \u500d Pro \u5bb9\u91cf<\/div><div class=\"track\"><div class=\"bar\" style=\"width:50%\"><\/div><\/div><\/div>\n    <div class=\"plan\"><div class=\"name\">\u6700\u5927 20 \u500d<\/div><div class=\"price\">$200 <small>\/\u6708<\/small><\/div><div class=\"capacity\">\u6bcf\u7bc0 20 \u500d Pro \u5bb9\u91cf<\/div><div class=\"track\"><div class=\"bar\" style=\"width:100%\"><\/div><\/div><\/div>\n  <\/div>\n  <div class=\"axis\"><span>$0\/\u6708<\/span><span>$200\/\u6708<\/span><\/div>\n<\/div>\n\n\n\n<h2 id=\"how-pricing-works\" class=\"wp-block-heading ccp-wp-heading\">How Claude Code Pricing Works<\/h2>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">There are two billing systems to understand. A Claude subscription gives eligible users access to Claude Code under the plan&#8217;s usage allowance. API access bills the Anthropic Console account or organization connected to the credentials used by Claude Code.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">With a subscription, you pay a predictable recurring fee. Anthropic states that Pro and Max usage is shared across Claude on the web, desktop, and mobile apps and Claude Code. A long terminal session can therefore leave less capacity for Claude elsewhere, and activity in Claude&#8217;s other apps can reduce what remains for Claude Code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large ccp-wp-image\"><img decoding=\"async\" width=\"1280\" height=\"933\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-pro-max-unified-subscription.webp\" alt=\"Claude Support article stating that Pro and Max include Claude Code under one subscription\" class=\"wp-image-17204\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-pro-max-unified-subscription.webp 1280w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-pro-max-unified-subscription-300x219.webp 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-pro-max-unified-subscription-1024x746.webp 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-pro-max-unified-subscription-768x560.webp 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-pro-max-unified-subscription-16x12.webp 16w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><figcaption class=\"wp-element-caption\">Claude Code is included with individual Pro and Max subscriptions alongside Claude on the web, desktop, and mobile.<\/figcaption><\/figure>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">With the API, the cost is variable. A short request that reads a few files and returns a compact patch may use little, while an agentic task that repeatedly searches a repository, invokes tools, and carries a long context can use much more. Team and Enterprise plans add organization-level administration, but their seat pricing and entitlements belong in Anthropic&#8217;s business-plan documentation rather than the individual comparison here.<\/p>\n\n\n\n<h2 id=\"is-claude-code-free\" class=\"wp-block-heading ccp-wp-heading\">Is Claude Code Free? Free Plan Access and Limits<\/h2>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Anthropic&#8217;s current individual-plan table includes a <strong>$0 Free plan<\/strong>, but the official Claude Code support article we verified specifically documents access through Pro and Max. Do not assume that a Free chat account automatically has the same Claude Code entitlement. Free access can depend on current product policy and account availability, so check the Claude Code sign-in flow and live plan page before relying on it.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">If Free access is available to your account, use it to test installation, authentication, and one small code change. It is not a dependable allowance for daily repository work, and it does not automatically give you Anthropic API credits. Upgrade when resets repeatedly interrupt real work; use the API only after you understand its separate spending controls.<\/p>\n\n\n\n<h2 id=\"pro-plan\" class=\"wp-block-heading ccp-wp-heading\">Claude Code Pro Plan: Price, Features and Limits<\/h2>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Claude Pro \u6210\u672c <strong>$20 per month or $200 when billed annually<\/strong>. Anthropic&#8217;s <a href=\"https:\/\/support.claude.com\/en\/articles\/11145838-use-claude-code-with-your-pro-or-max-plan\">Claude Code plan guide<\/a> says Pro subscribers can use Claude Code with the same credentials they use for Claude. You do not buy a separate Claude Code subscription.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Pro is a practical entry plan for focused individual work: investigating a bug, editing a small project, writing tests, explaining unfamiliar code, or completing several bounded changes each week. The monthly price is easier to budget than an open-ended API account.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">The tradeoff is capacity. Claude Code reads files, follows references, keeps conversation history, and may call tools more than once before completing a task. Your effective usage therefore depends on the codebase, model, task, context length, and activity in other Claude products\u2014not only on the number of messages you send.<\/p>\n\n\n\n<h2 id=\"max-pricing\" class=\"wp-block-heading ccp-wp-heading\">Claude Code Max Pricing: 5x vs 20x<\/h2>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Claude Max has two individual tiers: <strong>Max 5x at $100 per month<\/strong> \u548c <strong>Max 20x at $200 per month<\/strong>. Anthropic describes them as 5x and 20x Pro capacity per session. They are higher-capacity subscriptions, not unlimited plans and not bundles of API credits.<\/p>\n\n\n\n<div data-ccp-table=\"true\" style=\"overflow-x:auto;margin:18px 0 25px;\"><table style=\"width:100%;border-collapse:separate!important;border-spacing:0!important;font:15px\/1.68 Arial,Helvetica,sans-serif;color:#17202a;border:1px solid #dfe5ec!important;border-radius:8px;overflow:hidden;background:#fff!important;\">\n    <thead><tr><th style=\"box-sizing:border-box;background:#17364d!important;color:#fff!important;font-weight:700!important;border:0!important;border-bottom:1px solid #dfe5ec!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;\">\u7279\u9ede<\/th><th style=\"box-sizing:border-box;background:#17364d!important;color:#fff!important;font-weight:700!important;border:0!important;border-bottom:1px solid #dfe5ec!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;\">\u5c08\u696d<\/th><th style=\"box-sizing:border-box;background:#17364d!important;color:#fff!important;font-weight:700!important;border:0!important;border-bottom:1px solid #dfe5ec!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;\">\u6700\u5927 5 \u500d<\/th><th style=\"box-sizing:border-box;background:#17364d!important;color:#fff!important;font-weight:700!important;border:0!important;border-bottom:1px solid #dfe5ec!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;\">\u6700\u5927 20 \u500d<\/th><\/tr><\/thead>\n    <tbody><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">\u6708\u8cbb<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">$20<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">$100<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">$200<\/td><\/tr><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">Annual option<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">$200\uff0f\u5e74<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">No annual price listed in the individual-plan guide<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">No annual price listed in the individual-plan guide<\/td><\/tr><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">Stated capacity<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">\u6a19\u6e96<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">\u6bcf\u7bc0 5 \u500d Pro \u5bb9\u91cf<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">\u6bcf\u7bc0 20 \u500d Pro \u5bb9\u91cf<\/td><\/tr><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">API credits included<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">\u6c92\u6709<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">\u6c92\u6709<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">\u6c92\u6709<\/td><\/tr><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:0!important;background:#fff!important;color:#17202a!important;\">Typical fit<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:0!important;background:#fff!important;color:#17202a!important;\">Regular individual use<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:0!important;background:#fff!important;color:#17202a!important;\">\u6bcf\u65e5\u9032\u5c55<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:0!important;background:#fff!important;color:#17202a!important;\">Heavy individual use<\/td><\/tr><\/tbody>\n  <\/table><\/div>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Max 5x is for people who reach Pro limits often enough that waiting disrupts a normal workday. Max 20x offers more room for sustained use, large repositories, or longer agentic tasks. Neither tier guarantees uninterrupted access under every workload, and switching models does not restore a shared session or weekly allowance after it has been exhausted.<\/p>\n\n\n\n<h2 id=\"api-pricing\" class=\"wp-block-heading ccp-wp-heading\">Claude Code API Pricing Explained<\/h2>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">The Anthropic API does not charge one flat Claude Code fee. It charges for the model and token activity used during the session. Rates are model-specific and can change, so Anthropic&#8217;s live <a href=\"https:\/\/claude.com\/pricing#api\">API pricing table<\/a> is the controlling source for input, output, prompt-cache write, and prompt-cache read prices.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large ccp-wp-image\"><img decoding=\"async\" width=\"1280\" height=\"675\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-api-rates-separate.webp\" alt=\"Claude Support explanation that Claude Code API rates are separate from Pro and Max pricing\" class=\"wp-image-17201\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-api-rates-separate.webp 1280w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-api-rates-separate-300x158.webp 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-api-rates-separate-1024x540.webp 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-api-rates-separate-768x405.webp 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-api-rates-separate-18x9.webp 18w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><figcaption class=\"wp-element-caption\">Claude Code API credits are billed at standard API rates, distinct from Pro and Max plan pricing.<\/figcaption><\/figure>\n\n\n\n<style>\n#ccp-billing-paths-figure{--ink:#132238;--muted:#5b6778;--line:#d7dee8;--blue-soft:#eaf1ff;--amber-soft:#fff4dc;font:15px\/1.5 Arial,sans-serif;color:var(--ink);border:1px solid var(--line);border-radius:14px;background:#fff;padding:22px;margin:28px 0;box-shadow:0 14px 34px rgba(23,42,68,.08)}\n#ccp-billing-paths-figure *{box-sizing:border-box}#ccp-billing-paths-figure .head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}#ccp-billing-paths-figure .title{font-size:21px;font-weight:700;line-height:1.25}#ccp-billing-paths-figure .note{font-size:13px;color:var(--muted);max-width:370px;text-align:right}#ccp-billing-paths-figure .grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}#ccp-billing-paths-figure .path{border:1px solid var(--line);border-radius:12px;padding:17px}#ccp-billing-paths-figure .subscription{background:var(--blue-soft)}#ccp-billing-paths-figure .api{background:var(--amber-soft)}#ccp-billing-paths-figure .label{display:inline-block;border-radius:99px;padding:4px 9px;background:#fff;font-size:12px;font-weight:700;margin-bottom:12px}\n#ccp-billing-paths-figure .step{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:start;margin:9px 0}#ccp-billing-paths-figure .num{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid var(--line);font-weight:700;font-size:12px}#ccp-billing-paths-figure .step strong,#ccp-billing-paths-figure .step span{display:block}#ccp-billing-paths-figure .step span{color:var(--muted);font-size:13px}#ccp-billing-paths-figure .warning{margin-top:15px;border-left:5px solid #c24135;background:#fff1ef;padding:12px 14px;border-radius:7px;font-size:14px}@media(max-width:700px){#ccp-billing-paths-figure .head{display:block}#ccp-billing-paths-figure .note{text-align:left;margin-top:6px}#ccp-billing-paths-figure .grid{grid-template-columns:1fr}}\n<\/style>\n<div id=\"ccp-billing-paths-figure\" role=\"img\" aria-label=\"Two billing paths showing fixed Claude subscriptions and variable Anthropic API token billing\">\n  <div class=\"head\"><div class=\"title\">Two billing paths\u2014not one combined balance<\/div><div class=\"note\">A subscription allowance and Console API credits are separate systems.<\/div><\/div>\n  <div class=\"grid\">\n    <div class=\"path subscription\"><div class=\"label\">Subscription path<\/div><div class=\"step\"><div class=\"num\">1<\/div><div><strong>Pay a fixed plan price<\/strong><span>Pro, Max 5x, or Max 20x.<\/span><\/div><\/div><div class=\"step\"><div class=\"num\">2<\/div><div><strong>Use the shared allowance<\/strong><span>Claude apps and Claude Code draw from the same plan limits.<\/span><\/div><\/div><div class=\"step\"><div class=\"num\">3<\/div><div><strong>Reach a plan limit<\/strong><span>Wait, upgrade, or enable eligible extra usage.<\/span><\/div><\/div><\/div>\n    <div class=\"path api\"><div class=\"label\">API path<\/div><div class=\"step\"><div class=\"num\">1<\/div><div><strong>Authenticate with API credentials<\/strong><span>Usage belongs to the connected Console account.<\/span><\/div><\/div><div class=\"step\"><div class=\"num\">2<\/div><div><strong>Pay current model rates<\/strong><span>Input, output, cache writes, and cache reads are metered.<\/span><\/div><\/div><div class=\"step\"><div class=\"num\">3<\/div><div><strong>Control spend in Console<\/strong><span>Balance, limits, and auto-reload settings apply here.<\/span><\/div><\/div><\/div>\n  <\/div>\n  <div class=\"warning\"><strong>Billing warning:<\/strong> \u4e00\u500b <code>ANTHROPIC_API_KEY<\/code> can route Claude Code to the API path even when you also pay for Pro or Max.<\/div>\n<\/div>\n\n\n\n<div data-ccp-table=\"true\" style=\"overflow-x:auto;margin:18px 0 25px;\"><table style=\"width:100%;border-collapse:separate!important;border-spacing:0!important;font:15px\/1.68 Arial,Helvetica,sans-serif;color:#17202a;border:1px solid #dfe5ec!important;border-radius:8px;overflow:hidden;background:#fff!important;\">\n    <thead><tr><th style=\"box-sizing:border-box;background:#17364d!important;color:#fff!important;font-weight:700!important;border:0!important;border-bottom:1px solid #dfe5ec!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;\">API cost component<\/th><th style=\"box-sizing:border-box;background:#17364d!important;color:#fff!important;font-weight:700!important;border:0!important;border-bottom:1px solid #dfe5ec!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;\">\u5176\u8c61\u5fb5\u610f\u7fa9<\/th><th style=\"box-sizing:border-box;background:#17364d!important;color:#fff!important;font-weight:700!important;border:0!important;border-bottom:1px solid #dfe5ec!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;\">Why it matters in Claude Code<\/th><\/tr><\/thead>\n    <tbody><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">\u8f38\u5165\u4ee3\u5e63<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">Instructions, code, file contents, tool results, and retained context<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">Large repositories and long sessions increase input volume<\/td><\/tr><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">\u8f38\u51fa\u6a19\u8a18<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">Explanations, plans, code, and tool instructions generated by the model<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">Verbose answers and large patches cost more<\/td><\/tr><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">Cache writes<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">Eligible context stored for reuse<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#fff!important;color:#17202a!important;\">The initial write can have a different rate from ordinary input<\/td><\/tr><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">Cache reads<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">Reusing eligible cached context<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dfe5ec!important;background:#f8fafc!important;color:#17202a!important;\">Repeated work on the same context may cost less than sending it fresh<\/td><\/tr><tr><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:0!important;background:#fff!important;color:#17202a!important;\">\u9577\u4e0a\u4e0b\u6587\u5b9a\u50f9<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:0!important;background:#fff!important;color:#17202a!important;\">Any special rate beyond a documented context threshold<\/td><td style=\"box-sizing:border-box;border:0!important;padding:11px 12px!important;text-align:left!important;vertical-align:top!important;border-bottom:0!important;background:#fff!important;color:#17202a!important;\">Very large sessions can cross a different price boundary<\/td><\/tr><\/tbody>\n  <\/table><\/div>\n\n\n\n<div style=\"font:15px\/1.55 Consolas,Monaco,monospace;background:#17212b;color:#eef5fa;border-radius:8px;padding:16px;margin:18px 0;overflow-x:auto;\">Estimated cost = (input tokens \u00d7 input rate) + (output tokens \u00d7 output rate) + (cache writes \u00d7 write rate) + (cache reads \u00d7 read rate)<\/div>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Divide token totals by the unit stated on the price page, normally one million tokens. This formula is more reliable than saying a \u201cbug fix costs $X,\u201d because two bug fixes can require radically different amounts of repository reading and iteration. Anthropic&#8217;s current cost guide also notes that the dollar figure shown in <code>\/\u7528\u6cd5<\/code> is calculated locally from standard list rates and may differ from promotional or contracted billing; the Console usage page is authoritative for API charges.<\/p>\n\n\n\n<h2 id=\"usage-limits\" class=\"wp-block-heading ccp-wp-heading\">Claude Code Usage Limits Explained<\/h2>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Subscription limits are not the same as API spending. A subscription restricts how much included Claude activity you can use within its usage windows. API use is metered by tokens and governed by the API account&#8217;s balance, rate limits, and spending controls.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">For Pro and Max, usage is shared across Claude and Claude Code. The reset time and options shown to you are more useful than a fixed message-count estimate because usage depends on task size, model choice, context, tools, and concurrent work. Anthropic&#8217;s current Claude Code documentation says <code>\/\u7528\u6cd5<\/code> shows plan usage bars for subscribers and a session token\/cost view for API users.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large ccp-wp-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"389\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-shared-usage-limits.webp\" alt=\"Claude Support statement that Claude and Claude Code share Pro and Max usage limits\" class=\"wp-image-17200\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-shared-usage-limits.webp 1280w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-shared-usage-limits-300x91.webp 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-shared-usage-limits-1024x311.webp 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-shared-usage-limits-768x233.webp 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-shared-usage-limits-18x5.webp 18w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><figcaption class=\"wp-element-caption\">Pro and Max usage limits are shared across Claude and Claude Code.<\/figcaption><\/figure>\n\n\n\n<style>\n#ccp-usage-routing-figure{--ink:#132238;--muted:#5b6778;--line:#d7dee8;--blue-soft:#eaf1ff;--green-soft:#e9f8f2;--amber-soft:#fff4dc;font:15px\/1.5 Arial,sans-serif;color:var(--ink);border:1px solid var(--line);border-radius:14px;background:#fff;padding:22px;margin:28px 0;box-shadow:0 14px 34px rgba(23,42,68,.08)}\n#ccp-usage-routing-figure *{box-sizing:border-box}#ccp-usage-routing-figure .head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}#ccp-usage-routing-figure .title{font-size:21px;font-weight:700;line-height:1.25}#ccp-usage-routing-figure .note{font-size:13px;color:var(--muted);max-width:370px;text-align:right}#ccp-usage-routing-figure .surfaces{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}#ccp-usage-routing-figure .surface{padding:12px;border-radius:9px;background:var(--blue-soft);border:1px solid #c9d8fb;text-align:center;font-weight:700}#ccp-usage-routing-figure .arrow{text-align:center;color:var(--muted);font-size:22px;line-height:1;margin:10px 0}#ccp-usage-routing-figure .shared{background:var(--green-soft);border:2px solid #76c5aa;border-radius:12px;padding:16px;text-align:center}#ccp-usage-routing-figure .shared strong,#ccp-usage-routing-figure .shared span{display:block}#ccp-usage-routing-figure .shared strong{font-size:18px}#ccp-usage-routing-figure .shared span{color:var(--muted);font-size:13px;margin-top:4px}#ccp-usage-routing-figure .branch{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;margin-top:14px}#ccp-usage-routing-figure .node{border:1px solid #efc46e;background:var(--amber-soft);border-radius:10px;padding:12px;text-align:center}#ccp-usage-routing-figure .branch .arrow{margin:0;transform:rotate(-90deg)}@media(max-width:700px){#ccp-usage-routing-figure .head{display:block}#ccp-usage-routing-figure .note{text-align:left;margin-top:6px}#ccp-usage-routing-figure .surfaces{grid-template-columns:1fr 1fr}#ccp-usage-routing-figure .branch{grid-template-columns:1fr}#ccp-usage-routing-figure .branch .arrow{transform:none}}\n<\/style>\n<div id=\"ccp-usage-routing-figure\" role=\"img\" aria-label=\"Claude web, desktop, mobile, and Claude Code feed one shared Pro or Max allowance while API key use goes to separate Console billing\">\n  <div class=\"head\"><div class=\"title\">Where your Claude Code usage is counted<\/div><div class=\"note\">The authentication route determines which limit or bill receives the activity.<\/div><\/div>\n  <div class=\"surfaces\"><div class=\"surface\">Claude web<\/div><div class=\"surface\">Desktop<\/div><div class=\"surface\">\u884c\u52d5\u7248<\/div><div class=\"surface\">\u514b\u52de\u5fb7\u00b7\u79d1\u5fb7<\/div><\/div>\n  <div class=\"arrow\" aria-hidden=\"true\">\u2193<\/div>\n  <div class=\"shared\"><strong>One shared Pro or Max allowance<\/strong><span>Activity across these Claude surfaces counts against the same subscription limits.<\/span><\/div>\n  <div class=\"branch\"><div class=\"node\"><strong>Claude Code + API key<\/strong><br><span>Separate authentication route<\/span><\/div><div class=\"arrow\" aria-hidden=\"true\">\u2193<\/div><div class=\"node\"><strong>Claude Console billing<\/strong><br><span>Token charges, not included plan usage<\/span><\/div><\/div>\n<\/div>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">These behaviors use the allowance faster:<\/p>\n\n\n\n<ul class=\"wp-block-list ccp-wp-list\">\n<li>Reading or searching a large codebase.<\/li>\n\n\n\n<li>Keeping a long conversation when the next task is unrelated.<\/li>\n\n\n\n<li>Requesting broad autonomous changes instead of bounded edits.<\/li>\n\n\n\n<li>Using a more resource-intensive model.<\/li>\n\n\n\n<li>Running several Claude Code sessions, subagents, or agent-team members.<\/li>\n\n\n\n<li>Continuing heavy activity in Claude&#8217;s web or desktop apps.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"reach-limit\" class=\"wp-block-heading ccp-wp-heading\">What Happens When You Reach the Limit?<\/h2>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">When you exhaust a subscription allowance, Claude Code shows that the limit has been reached and tells you when it resets or which options are available. You can wait for the reset, upgrade from Pro to Max, enable usage credits when available, or move a time-sensitive workload to API billing.<\/p>\n\n\n\n<ol class=\"wp-block-list ccp-wp-list\">\n<li><strong>Wait for the allowance to reset.<\/strong> This adds no cost and is sensible when the task is not urgent.<\/li>\n\n\n\n<li><strong>Upgrade the subscription.<\/strong> Moving from Pro to Max increases included capacity without metering every token as a separate API charge.<\/li>\n\n\n\n<li><strong>Enable usage credits.<\/strong> Anthropic allows eligible paid plans to continue past included limits with additional usage, subject to the account&#8217;s settings and spend controls.<\/li>\n\n\n\n<li><strong>Use the Anthropic API.<\/strong> This can keep work moving, but it creates pay-as-you-go charges in the connected Console account.<\/li>\n<\/ol>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Before paying more, check whether the task can be restarted in a fresh, narrower session. A smaller context may reduce usage without changing plans.<\/p>\n\n\n\n<h2 id=\"unexpected-api-charges\" class=\"wp-block-heading ccp-wp-heading\">Warning: Why You May Get API Charges Despite Having Pro or Max<\/h2>\n\n\n\n<div style=\"font:16px\/1.68 Arial,Helvetica,sans-serif;color:#17202a;border:1px solid #f3b4ae;border-left:5px solid #c24135;border-radius:9px;padding:18px 20px;margin:25px 0;background:#fff4f3;\"><strong>A Pro or Max subscription does not include Anthropic API usage.<\/strong> Anthropic specifically warns that if an <code>ANTHROPIC_API_KEY<\/code> environment variable is set, Claude Code uses that API key instead of the subscription login, producing API charges.<\/div>\n\n\n\n<figure class=\"wp-block-image size-large ccp-wp-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"766\" src=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-api-key-billing-warning.webp\" alt=\"Claude Support warning that an ANTHROPIC_API_KEY can cause Claude Code API usage charges\" class=\"wp-image-17203\" srcset=\"https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-api-key-billing-warning.webp 1280w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-api-key-billing-warning-300x180.webp 300w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-api-key-billing-warning-1024x613.webp 1024w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-api-key-billing-warning-768x460.webp 768w, https:\/\/wp.glbgpt.com\/wp-content\/uploads\/2026\/07\/claude-code-api-key-billing-warning-18x12.webp 18w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><figcaption class=\"wp-element-caption\">An ANTHROPIC_API_KEY makes Claude Code use API billing instead of the subscription\u2019s included usage.<\/figcaption><\/figure>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">This is the most important billing check in the article. Subscription usage and Console API usage are separate systems. Before a long session, confirm whether Claude Code is signed in with your Claude subscription or using credentials connected to a Console organization.<\/p>\n\n\n\n<ul class=\"wp-block-list ccp-wp-list\">\n<li>\u5954\u8dd1 <code>\/\u7528\u6cd5<\/code> and confirm whether you see subscription usage bars or an API session-cost view.<\/li>\n\n\n\n<li>Check the Console usage page for new activity after one small test request.<\/li>\n\n\n\n<li>Review auto-reload and spending-limit settings before choosing extra API usage.<\/li>\n\n\n\n<li>Do not expose an API key in screenshots, support messages, source code, or logs.<\/li>\n\n\n\n<li>After changing authentication, confirm the active route again before resuming a large task.<\/li>\n<\/ul>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">If you see unexpected API charges, stop the session, identify the billed workspace or organization, and compare the timestamps with Claude Code activity. Contact Anthropic support for a billing dispute instead of guessing which route produced the charge.<\/p>\n\n\n\n<h2 id=\"reduce-costs\" class=\"wp-block-heading ccp-wp-heading\">How to Reduce Claude Code Costs and Usage<\/h2>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">The best savings usually come from controlling context, not writing unnaturally short prompts. Give Claude Code enough information to do the task, but avoid carrying unrelated history into every new job.<\/p>\n\n\n\n<ul class=\"wp-block-list ccp-wp-list\">\n<li>\u4f7f\u7528 <code>\/clear<\/code> between unrelated tasks so old context is not processed again.<\/li>\n\n\n\n<li>Ask for one bounded result, such as fixing a failing test, instead of improving an entire repository.<\/li>\n\n\n\n<li>Point to the relevant folder, error, file, or acceptance criteria so Claude Code searches less.<\/li>\n\n\n\n<li>Use a lower-cost supported model for routine work and reserve more expensive models for tasks that need them.<\/li>\n\n\n\n<li>Avoid unnecessary parallel sessions, subagents, and agent-team members.<\/li>\n\n\n\n<li>For API use, set a workspace spending limit or prepaid budget and monitor the Console usage page.<\/li>\n\n\n\n<li>Check subscription usage and Console API spending separately; one view does not represent both systems.<\/li>\n<\/ul>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">A smaller, relevant context can also improve results. It is easier for the model to focus on the current bug when old decisions and unrelated files are not competing for attention.<\/p>\n\n\n\n<h2 id=\"claude-code-or-models\" class=\"wp-block-heading ccp-wp-heading\">Do You Need Claude Code\u2014or Just Claude Models?<\/h2>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Claude Code is useful when you want an AI agent to inspect a repository, edit files, run approved commands, and work directly from a terminal or supported development environment. That local, tool-using behavior is the reason to choose it over a standard browser chat.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">You may not need that setup if your main tasks are explaining a snippet, drafting a function, reviewing pasted code, brainstorming an architecture, or comparing how different AI models answer the same programming question. For those jobs, a browser-based multi-model platform can be simpler because there is no command-line installation or API-key configuration.<\/p>\n\n\n\n<div style=\"font:16px\/1.68 Arial,Helvetica,sans-serif;color:#17202a;border:1px solid #b9e2ce;border-left:5px solid #16845b;border-radius:9px;padding:18px 20px;margin:25px 0;background:#f2fbf7;\"><a href=\"https:\/\/www.glbgpt.com\/home?inviter=hub_popup&amp;login=1\">GLBGPT<\/a> fits the browser-based comparison use case: trying multiple AI models in one place before committing to a terminal tool or a separate API setup. It is not presented here as a full Claude Code replacement. If you already use Claude Code and want to connect it with a broader model workflow, see the practical guide to <a href=\"https:\/\/www.glbgpt.com\/hub\/how-to-use-globalgpt-cli-in-claude-code\/\">\u5728 Claude \u7a0b\u5f0f\u78bc\u4e2d\u4f7f\u7528 GlobalGPT CLI<\/a>, or compare the <a href=\"https:\/\/www.glbgpt.com\/hub\/best-ai-model-for-coding\/\">\u6700\u9069\u5408\u7de8\u78bc\u7684 AI \u6a21\u578b<\/a>.<\/div>\n\n\n\n<h2 id=\"faq\" class=\"wp-block-heading ccp-wp-heading\">Claude Code Pricing FAQ<\/h2>\n\n\n\n<p class=\"ccp-wp-paragraph ccp-faq-q wp-block-paragraph\"><strong>Is Claude Code free to use?<\/strong><\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Claude has a $0 Free plan, but current Claude Code eligibility should be checked on the live account and plan pages. Do not assume the Free chat plan always includes the same Code access documented for Pro and Max.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph ccp-faq-q wp-block-paragraph\"><strong>Is Claude Code included with Claude Pro?<\/strong><\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Yes. Anthropic says Pro subscribers can access Claude Code with their Claude credentials, subject to the plan&#8217;s shared usage limits.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph ccp-faq-q wp-block-paragraph\"><strong>How much does Claude Code Max cost?<\/strong><\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Max 5x costs $100 per month and Max 20x costs $200 per month. These are subscription prices, not API prepayments.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph ccp-faq-q wp-block-paragraph\"><strong>Does Claude Max include API credits?<\/strong><\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">No. Max subscription capacity and Anthropic API billing are separate. An API key used by Claude Code can create API charges even when the user also has Max.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph ccp-faq-q wp-block-paragraph\"><strong>Do Claude and Claude Code share usage limits?<\/strong><\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Yes for Pro and Max individual subscriptions. Activity across Claude apps and Claude Code draws from the shared plan allowance.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph ccp-faq-q wp-block-paragraph\"><strong>What happens when I reach my Claude Code limit?<\/strong><\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">You can wait for a reset, upgrade to a higher subscription tier, enable eligible extra usage, or switch to API billing. The screen shows the choices available to your account.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph ccp-faq-q wp-block-paragraph\"><strong>Why am I being charged for API usage if I have Claude Pro?<\/strong><\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">Claude Code may be using an API key instead of subscription authentication. Check <code>\/\u7528\u6cd5<\/code>, the active login route, and Console usage records. Pro does not cover API charges.<\/p>\n\n\n\n<p class=\"ccp-wp-paragraph ccp-faq-q wp-block-paragraph\"><strong>Is a Claude subscription cheaper than the API?<\/strong><\/p>\n\n\n\n<p class=\"ccp-wp-paragraph wp-block-paragraph\">They meter usage differently. A subscription gives you a predictable recurring price with limits; the API charges for actual tokens. Compare them with your own usage records rather than a generic task-cost estimate.<\/p>","protected":false},"excerpt":{"rendered":"<p>Claude Code pricing looks simple until you try to choose a way to pay. You can use Claude Code through a Claude subscription or connect it to Anthropic&#8217;s API, but those options follow different billing rules. A fixed monthly plan does not include API credits, and an API key can create a separate bill even [&hellip;]<\/p>","protected":false},"author":13,"featured_media":17199,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"Free, Pro, Max, or API? See how Claude Code pricing and shared limits work, what happens at the cap, and which billing route you are using.","_seopress_robots_index":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-17190","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-chat"],"_links":{"self":[{"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/posts\/17190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/comments?post=17190"}],"version-history":[{"count":3,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/posts\/17190\/revisions"}],"predecessor-version":[{"id":17205,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/posts\/17190\/revisions\/17205"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/media\/17199"}],"wp:attachment":[{"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/media?parent=17190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/categories?post=17190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.glbgpt.com\/zh-hk\/wp-json\/wp\/v2\/tags?post=17190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}