[{"data":1,"prerenderedAt":59},["ShallowReactive",2],{"blog-claude-code-api-key-vs-subscription":3,"blog-related-claude-code-api-key-vs-subscription":39},{"slug":4,"title":5,"description":6,"category":7,"categoryId":8,"keyword":9,"date":10,"minutes":11,"body":12,"html":13,"headings":14},"claude-code-api-key-vs-subscription","Claude Code: API key or subscription? How to choose and switch","Claude Code bills either per token on an API key or flat on a Pro, Max or team plan. What changes, when each one fits, and how to switch without paying twice.","Usage & limits","usage-limits","claude code api key vs subscription","2026-11-25",6,"Claude Code can be paid for in two ways: with a Claude subscription, where a monthly plan covers your usage up to its limits, or with an API key, where every token is billed. Picking one is a real decision, and there's a second problem hiding behind it: the choice is made by which credential Claude Code finds first, not by what you meant. Plenty of people pay for a plan and still get an API bill, because a key was sitting in their shell.\n\n## What is the difference between an API key and a subscription?\n\n| | Subscription (Pro, Max, Team, Enterprise) | API key (Claude Console) |\n| --- | --- | --- |\n| How you pay | A flat price per month, per seat | Per token, at API rates |\n| How you sign in | `\u002Flogin` with your claude.ai account | A Console account, `ANTHROPIC_API_KEY` or an `apiKeyHelper` script |\n| Limits | A rolling 5-hour window and a weekly limit, shared with Claude chat | Rate limits of your Console organization, no usage windows |\n| When you go over | Wait for the reset, or turn on usage credits billed at API rates | You keep going, and keep paying |\n| Cost control | Fixed; nothing to watch | Spend limits per workspace in the Console |\n| Also included | Claude on the web, desktop and phone | Nothing else |\n| Remote Control, claude.ai connectors | Yes | No, they need a claude.ai login |\n\nThe short version: a plan trades a ceiling for a fixed price, an API key trades a fixed price for no ceiling.\n\n## Which one is Claude Code using right now?\n\nRun `\u002Fstatus` in a session, or `claude auth status` in a shell. It shows the login method and the account. If both a login and a key are configured, `\u002Fstatus` marks the one that isn't in use.\n\nClaude Code takes the first credential it finds, in this order:\n\n1. Cloud provider credentials, when `CLAUDE_CODE_USE_BEDROCK`, `CLAUDE_CODE_USE_VERTEX` or `CLAUDE_CODE_USE_FOUNDRY` is set\n2. `ANTHROPIC_AUTH_TOKEN`\n3. `ANTHROPIC_API_KEY`\n4. The output of an `apiKeyHelper` script\n5. `CLAUDE_CODE_OAUTH_TOKEN`\n6. Anthropic profile and federation credentials\n7. The subscription login from `\u002Flogin`\n\nYour plan comes **last**. That's the trap: if `ANTHROPIC_API_KEY` is set anywhere in your environment, Claude Code uses it once you approve it, and bills the API even though you pay for Max. [Using several Claude accounts](\u002Fblog\u002Fclaude-code-multiple-accounts) shows how to hunt it down.\n\n## When does an API key make sense?\n\n- **Your company wants a bill per token.** Some teams need costs per project or per client. Console workspaces give you that, with a spend limit on each.\n- **Usage is light or bursty.** A few sessions a month cost less on the API than any plan. Measure first (see below).\n- **You can't be stopped by a window.** A long migration or an on-call fix at the end of a heavy week shouldn't wait for a reset. On a key, it doesn't.\n- **You go through a cloud provider.** Amazon Bedrock, Google Cloud and Microsoft Foundry are billed through your cloud account, which can matter for procurement or data residency.\n- **Keys must rotate.** An `apiKeyHelper` script can fetch a short-lived key from your vault; Claude Code runs it again every few minutes (the interval is yours to set) and whenever a key is refused.\n\nWhat doesn't need an API key: scripts and CI on your own plan. `claude setup-token` makes a one-year token for a Pro, Max, Team or Enterprise account. Put it in `CLAUDE_CODE_OAUTH_TOKEN` and [headless runs](\u002Fblog\u002Fclaude-code-headless-mode) count against your plan. It only makes model requests: no Remote Control, no connectors.\n\n## When does a subscription make sense?\n\n- **You use Claude Code every day.** Long interactive sessions re-send their context with every request; most of it is read from the prompt cache, but it adds up fast. A flat price absorbs that.\n- **You want one number per month.** Nobody on the team has to watch a meter.\n- **You also use Claude chat.** It comes with the plan, and the limits are shared.\n- **You run several sessions or agents.** That's heavy usage by design. A Max plan or team seats usually beat per-token billing for it; [Claude Pro or Max](\u002Fblog\u002Fclaude-code-pro-vs-max) helps pick the tier.\n\n## How do you compare the two with your own numbers?\n\nGuessing goes wrong in both directions. Measure a normal month:\n\n1. **Count your tokens**, by type and model. `\u002Fusage` shows the current session; the transcripts in `~\u002F.claude\u002Fprojects` hold everything. [Claude Code token usage](\u002Fblog\u002Fclaude-code-token-usage) shows how to add them up.\n2. **Price them** with Anthropic's current API price list, per model. [What your usage would cost at API prices](\u002Fblog\u002Fclaude-code-token-costs) walks through the formula.\n3. **Compare** that monthly figure with the plan you'd pay for, at its current price on claude.com.\n\nThen adjust for what the numbers don't show. On a plan, did you hit the limit and lose afternoons? Add what that time was worth. On the API, would you have kept going where a plan stopped you? Then your real API cost is higher than the history says. Use a month, not a day: usage is lumpy.\n\nThe rule that comes out of it: if your API-price equivalent is above the plan price, the plan wins, and by a wide margin for daily users. If it's below the plan price month after month, you're a light user, and a smaller plan or a key may do.\n\n## What about a team with several seats?\n\nEach person needs their own access, either way. A Pro or Max plan belongs to one person; it isn't a pool for a team.\n\n- **Team or Enterprise plan.** Each seat has its own allowance on the same 5-hour and weekly windows, shared with chat. Admins can add usage credits and spend limits, and read a spend report.\n- **Console organization.** One key per workspace or per person, spend limits per workspace, rate limits shared by the organization. Anthropic's [costs page](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcosts) suggests how many tokens per minute to plan per user as the team grows.\n- **Both.** Seats for the people, a Console key for the bots: CI jobs, review bots, nightly runs. Bills stay readable, and a runaway script can't eat a teammate's window.\n\n## How do you switch from one to the other?\n\n**From an API key to your plan:**\n\n```sh\nenv | grep -E 'ANTHROPIC_(API_KEY|AUTH_TOKEN)'   # is a key set?\nunset ANTHROPIC_API_KEY                           # for this shell\n```\n\nThen remove the line that sets it: your `~\u002F.zshrc` or `~\u002F.bashrc`, a `.envrc` loaded by direnv, the `env` block of a `settings.json`, or an `apiKeyHelper` you no longer want. Run `\u002Flogin`, choose your claude.ai account, and check `\u002Fstatus`.\n\n**From your plan to an API key:** `\u002Flogout`, then `\u002Flogin` and choose the Console account, or export `ANTHROPIC_API_KEY` in the shell that starts Claude Code and approve it on the first run.\n\n**Both, side by side:** keep two config directories, one per credential, with `CLAUDE_CONFIG_DIR`. Each has its own login and its own sessions; an alias picks one:\n\n```sh\nalias claude-plan='CLAUDE_CONFIG_DIR=~\u002F.claude claude'\nalias claude-api='CLAUDE_CONFIG_DIR=~\u002F.claude-api ANTHROPIC_API_KEY=\"$LARKSPUR_CONSOLE_KEY\" claude'\n```\n\nWhichever way you go, the check is the same: `\u002Fstatus` before the first long task.\n\n## In Relais\n\nRelais runs on your Claude plan (Pro, Max or a team seat) and never on an API key. It removes `ANTHROPIC_API_KEY` and `ANTHROPIC_AUTH_TOKEN` from what it starts, so nothing bills the API by accident, and it warns you if Claude Code still reports an API key or another provider. You can sign in several accounts of your own: new sessions start on the first with room, and a session that hits a limit carries on in the next, mid-task. The Token burn plugin shows what your usage would cost at API prices, per day and per model, which is the number you need for the comparison above. Relais is billed on its own, separately from your Claude plan. See [Seats](\u002Ffeatures\u002Fseats), [Token burn](\u002Ffeatures\u002Ftoken-burn) and [pricing](\u002Fpricing).","\u003Cp>Claude Code can be paid for in two ways: with a Claude subscription, where a monthly plan covers your usage up to its limits, or with an API key, where every token is billed. Picking one is a real decision, and there&#39;s a second problem hiding behind it: the choice is made by which credential Claude Code finds first, not by what you meant. Plenty of people pay for a plan and still get an API bill, because a key was sitting in their shell.\u003C\u002Fp>\n\u003Ch2 id=\"what-is-the-difference-between-an-api-key-and-a-subscription\">\u003Ca class=\"anchor\" href=\"#what-is-the-difference-between-an-api-key-and-a-subscription\" aria-label=\"Link to this section\">#\u003C\u002Fa>What is the difference between an API key and a subscription?\u003C\u002Fh2>\n\u003Cdiv class=\"table-wrap\">\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>\u003C\u002Fth>\u003Cth>Subscription (Pro, Max, Team, Enterprise)\u003C\u002Fth>\u003Cth>API key (Claude Console)\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>How you pay\u003C\u002Ftd>\u003Ctd>A flat price per month, per seat\u003C\u002Ftd>\u003Ctd>Per token, at API rates\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>How you sign in\u003C\u002Ftd>\u003Ctd>\u003Ccode>\u002Flogin\u003C\u002Fcode> with your claude.ai account\u003C\u002Ftd>\u003Ctd>A Console account, \u003Ccode>ANTHROPIC_API_KEY\u003C\u002Fcode> or an \u003Ccode>apiKeyHelper\u003C\u002Fcode> script\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Limits\u003C\u002Ftd>\u003Ctd>A rolling 5-hour window and a weekly limit, shared with Claude chat\u003C\u002Ftd>\u003Ctd>Rate limits of your Console organization, no usage windows\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>When you go over\u003C\u002Ftd>\u003Ctd>Wait for the reset, or turn on usage credits billed at API rates\u003C\u002Ftd>\u003Ctd>You keep going, and keep paying\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Cost control\u003C\u002Ftd>\u003Ctd>Fixed; nothing to watch\u003C\u002Ftd>\u003Ctd>Spend limits per workspace in the Console\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Also included\u003C\u002Ftd>\u003Ctd>Claude on the web, desktop and phone\u003C\u002Ftd>\u003Ctd>Nothing else\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Remote Control, claude.ai connectors\u003C\u002Ftd>\u003Ctd>Yes\u003C\u002Ftd>\u003Ctd>No, they need a claude.ai login\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>The short version: a plan trades a ceiling for a fixed price, an API key trades a fixed price for no ceiling.\u003C\u002Fp>\n\u003Ch2 id=\"which-one-is-claude-code-using-right-now\">\u003Ca class=\"anchor\" href=\"#which-one-is-claude-code-using-right-now\" aria-label=\"Link to this section\">#\u003C\u002Fa>Which one is Claude Code using right now?\u003C\u002Fh2>\n\u003Cp>Run \u003Ccode>\u002Fstatus\u003C\u002Fcode> in a session, or \u003Ccode>claude auth status\u003C\u002Fcode> in a shell. It shows the login method and the account. If both a login and a key are configured, \u003Ccode>\u002Fstatus\u003C\u002Fcode> marks the one that isn&#39;t in use.\u003C\u002Fp>\n\u003Cp>Claude Code takes the first credential it finds, in this order:\u003C\u002Fp>\n\u003Col>\n\u003Cli>Cloud provider credentials, when \u003Ccode>CLAUDE_CODE_USE_BEDROCK\u003C\u002Fcode>, \u003Ccode>CLAUDE_CODE_USE_VERTEX\u003C\u002Fcode> or \u003Ccode>CLAUDE_CODE_USE_FOUNDRY\u003C\u002Fcode> is set\u003C\u002Fli>\n\u003Cli>\u003Ccode>ANTHROPIC_AUTH_TOKEN\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>\u003Ccode>ANTHROPIC_API_KEY\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>The output of an \u003Ccode>apiKeyHelper\u003C\u002Fcode> script\u003C\u002Fli>\n\u003Cli>\u003Ccode>CLAUDE_CODE_OAUTH_TOKEN\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>Anthropic profile and federation credentials\u003C\u002Fli>\n\u003Cli>The subscription login from \u003Ccode>\u002Flogin\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>Your plan comes \u003Cstrong>last\u003C\u002Fstrong>. That&#39;s the trap: if \u003Ccode>ANTHROPIC_API_KEY\u003C\u002Fcode> is set anywhere in your environment, Claude Code uses it once you approve it, and bills the API even though you pay for Max. \u003Ca href=\"\u002Fblog\u002Fclaude-code-multiple-accounts\">Using several Claude accounts\u003C\u002Fa> shows how to hunt it down.\u003C\u002Fp>\n\u003Ch2 id=\"when-does-an-api-key-make-sense\">\u003Ca class=\"anchor\" href=\"#when-does-an-api-key-make-sense\" aria-label=\"Link to this section\">#\u003C\u002Fa>When does an API key make sense?\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>Your company wants a bill per token.\u003C\u002Fstrong> Some teams need costs per project or per client. Console workspaces give you that, with a spend limit on each.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Usage is light or bursty.\u003C\u002Fstrong> A few sessions a month cost less on the API than any plan. Measure first (see below).\u003C\u002Fli>\n\u003Cli>\u003Cstrong>You can&#39;t be stopped by a window.\u003C\u002Fstrong> A long migration or an on-call fix at the end of a heavy week shouldn&#39;t wait for a reset. On a key, it doesn&#39;t.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>You go through a cloud provider.\u003C\u002Fstrong> Amazon Bedrock, Google Cloud and Microsoft Foundry are billed through your cloud account, which can matter for procurement or data residency.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Keys must rotate.\u003C\u002Fstrong> An \u003Ccode>apiKeyHelper\u003C\u002Fcode> script can fetch a short-lived key from your vault; Claude Code runs it again every few minutes (the interval is yours to set) and whenever a key is refused.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>What doesn&#39;t need an API key: scripts and CI on your own plan. \u003Ccode>claude setup-token\u003C\u002Fcode> makes a one-year token for a Pro, Max, Team or Enterprise account. Put it in \u003Ccode>CLAUDE_CODE_OAUTH_TOKEN\u003C\u002Fcode> and \u003Ca href=\"\u002Fblog\u002Fclaude-code-headless-mode\">headless runs\u003C\u002Fa> count against your plan. It only makes model requests: no Remote Control, no connectors.\u003C\u002Fp>\n\u003Ch2 id=\"when-does-a-subscription-make-sense\">\u003Ca class=\"anchor\" href=\"#when-does-a-subscription-make-sense\" aria-label=\"Link to this section\">#\u003C\u002Fa>When does a subscription make sense?\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>You use Claude Code every day.\u003C\u002Fstrong> Long interactive sessions re-send their context with every request; most of it is read from the prompt cache, but it adds up fast. A flat price absorbs that.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>You want one number per month.\u003C\u002Fstrong> Nobody on the team has to watch a meter.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>You also use Claude chat.\u003C\u002Fstrong> It comes with the plan, and the limits are shared.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>You run several sessions or agents.\u003C\u002Fstrong> That&#39;s heavy usage by design. A Max plan or team seats usually beat per-token billing for it; \u003Ca href=\"\u002Fblog\u002Fclaude-code-pro-vs-max\">Claude Pro or Max\u003C\u002Fa> helps pick the tier.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"how-do-you-compare-the-two-with-your-own-numbers\">\u003Ca class=\"anchor\" href=\"#how-do-you-compare-the-two-with-your-own-numbers\" aria-label=\"Link to this section\">#\u003C\u002Fa>How do you compare the two with your own numbers?\u003C\u002Fh2>\n\u003Cp>Guessing goes wrong in both directions. Measure a normal month:\u003C\u002Fp>\n\u003Col>\n\u003Cli>\u003Cstrong>Count your tokens\u003C\u002Fstrong>, by type and model. \u003Ccode>\u002Fusage\u003C\u002Fcode> shows the current session; the transcripts in \u003Ccode>~\u002F.claude\u002Fprojects\u003C\u002Fcode> hold everything. \u003Ca href=\"\u002Fblog\u002Fclaude-code-token-usage\">Claude Code token usage\u003C\u002Fa> shows how to add them up.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Price them\u003C\u002Fstrong> with Anthropic&#39;s current API price list, per model. \u003Ca href=\"\u002Fblog\u002Fclaude-code-token-costs\">What your usage would cost at API prices\u003C\u002Fa> walks through the formula.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Compare\u003C\u002Fstrong> that monthly figure with the plan you&#39;d pay for, at its current price on claude.com.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>Then adjust for what the numbers don&#39;t show. On a plan, did you hit the limit and lose afternoons? Add what that time was worth. On the API, would you have kept going where a plan stopped you? Then your real API cost is higher than the history says. Use a month, not a day: usage is lumpy.\u003C\u002Fp>\n\u003Cp>The rule that comes out of it: if your API-price equivalent is above the plan price, the plan wins, and by a wide margin for daily users. If it&#39;s below the plan price month after month, you&#39;re a light user, and a smaller plan or a key may do.\u003C\u002Fp>\n\u003Ch2 id=\"what-about-a-team-with-several-seats\">\u003Ca class=\"anchor\" href=\"#what-about-a-team-with-several-seats\" aria-label=\"Link to this section\">#\u003C\u002Fa>What about a team with several seats?\u003C\u002Fh2>\n\u003Cp>Each person needs their own access, either way. A Pro or Max plan belongs to one person; it isn&#39;t a pool for a team.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Team or Enterprise plan.\u003C\u002Fstrong> Each seat has its own allowance on the same 5-hour and weekly windows, shared with chat. Admins can add usage credits and spend limits, and read a spend report.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Console organization.\u003C\u002Fstrong> One key per workspace or per person, spend limits per workspace, rate limits shared by the organization. Anthropic&#39;s \u003Ca href=\"https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fcosts\">costs page\u003C\u002Fa> suggests how many tokens per minute to plan per user as the team grows.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Both.\u003C\u002Fstrong> Seats for the people, a Console key for the bots: CI jobs, review bots, nightly runs. Bills stay readable, and a runaway script can&#39;t eat a teammate&#39;s window.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"how-do-you-switch-from-one-to-the-other\">\u003Ca class=\"anchor\" href=\"#how-do-you-switch-from-one-to-the-other\" aria-label=\"Link to this section\">#\u003C\u002Fa>How do you switch from one to the other?\u003C\u002Fh2>\n\u003Cp>\u003Cstrong>From an API key to your plan:\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cpre class=\"code\" data-lang=\"sh\">\u003Ccode>env | grep -E 'ANTHROPIC_(API_KEY|AUTH_TOKEN)'   # is a key set?\nunset ANTHROPIC_API_KEY                           # for this shell\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Then remove the line that sets it: your \u003Ccode>~\u002F.zshrc\u003C\u002Fcode> or \u003Ccode>~\u002F.bashrc\u003C\u002Fcode>, a \u003Ccode>.envrc\u003C\u002Fcode> loaded by direnv, the \u003Ccode>env\u003C\u002Fcode> block of a \u003Ccode>settings.json\u003C\u002Fcode>, or an \u003Ccode>apiKeyHelper\u003C\u002Fcode> you no longer want. Run \u003Ccode>\u002Flogin\u003C\u002Fcode>, choose your claude.ai account, and check \u003Ccode>\u002Fstatus\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>From your plan to an API key:\u003C\u002Fstrong> \u003Ccode>\u002Flogout\u003C\u002Fcode>, then \u003Ccode>\u002Flogin\u003C\u002Fcode> and choose the Console account, or export \u003Ccode>ANTHROPIC_API_KEY\u003C\u002Fcode> in the shell that starts Claude Code and approve it on the first run.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Both, side by side:\u003C\u002Fstrong> keep two config directories, one per credential, with \u003Ccode>CLAUDE_CONFIG_DIR\u003C\u002Fcode>. Each has its own login and its own sessions; an alias picks one:\u003C\u002Fp>\n\u003Cpre class=\"code\" data-lang=\"sh\">\u003Ccode>alias claude-plan='CLAUDE_CONFIG_DIR=~\u002F.claude claude'\nalias claude-api='CLAUDE_CONFIG_DIR=~\u002F.claude-api ANTHROPIC_API_KEY=&quot;$LARKSPUR_CONSOLE_KEY&quot; claude'\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Whichever way you go, the check is the same: \u003Ccode>\u002Fstatus\u003C\u002Fcode> before the first long task.\u003C\u002Fp>\n\u003Ch2 id=\"in-relais\">\u003Ca class=\"anchor\" href=\"#in-relais\" aria-label=\"Link to this section\">#\u003C\u002Fa>In Relais\u003C\u002Fh2>\n\u003Cp>Relais runs on your Claude plan (Pro, Max or a team seat) and never on an API key. It removes \u003Ccode>ANTHROPIC_API_KEY\u003C\u002Fcode> and \u003Ccode>ANTHROPIC_AUTH_TOKEN\u003C\u002Fcode> from what it starts, so nothing bills the API by accident, and it warns you if Claude Code still reports an API key or another provider. You can sign in several accounts of your own: new sessions start on the first with room, and a session that hits a limit carries on in the next, mid-task. The Token burn plugin shows what your usage would cost at API prices, per day and per model, which is the number you need for the comparison above. Relais is billed on its own, separately from your Claude plan. See \u003Ca href=\"\u002Ffeatures\u002Fseats\">Seats\u003C\u002Fa>, \u003Ca href=\"\u002Ffeatures\u002Ftoken-burn\">Token burn\u003C\u002Fa> and \u003Ca href=\"\u002Fpricing\">pricing\u003C\u002Fa>.\u003C\u002Fp>\n",[15,18,21,24,27,30,33,36],{"id":16,"text":17},"what-is-the-difference-between-an-api-key-and-a-subscription","What is the difference between an API key and a subscription?",{"id":19,"text":20},"which-one-is-claude-code-using-right-now","Which one is Claude Code using right now?",{"id":22,"text":23},"when-does-an-api-key-make-sense","When does an API key make sense?",{"id":25,"text":26},"when-does-a-subscription-make-sense","When does a subscription make sense?",{"id":28,"text":29},"how-do-you-compare-the-two-with-your-own-numbers","How do you compare the two with your own numbers?",{"id":31,"text":32},"what-about-a-team-with-several-seats","What about a team with several seats?",{"id":34,"text":35},"how-do-you-switch-from-one-to-the-other","How do you switch from one to the other?",{"id":37,"text":38},"in-relais","In Relais",[40,46,52],{"slug":41,"title":42,"description":43,"category":7,"categoryId":8,"keyword":44,"date":45,"minutes":11},"claude-code-token-leaderboard","A Claude Code token leaderboard: compare your usage, keep the rest private","How Relais's Token burn plugin counts your Claude Code tokens per day and model, what a public page shows, how the leaderboard ranks people, and what never leaves your Mac.","claude code token leaderboard","2026-11-27",{"slug":47,"title":48,"description":49,"category":7,"categoryId":8,"keyword":50,"date":10,"minutes":51},"claude-code-token-usage","Claude Code token usage: what counts and how to measure it","What counts toward Claude Code token usage (input, output, cache reads and writes), where it's logged, and scripts to add it up by day, model and project.","claude code token usage",7,{"slug":53,"title":54,"description":55,"category":7,"categoryId":8,"keyword":56,"date":57,"minutes":58},"claude-code-usage-limits","Claude Code usage limits: the 5-hour window and weekly cap","How Claude Code's 5-hour window and weekly limit work, what makes you hit them, how to check usage, and what to do the moment Claude Code stops.","claude code usage limits","2026-11-17",5,1795902782646]