Back to guides
Prices·October 3, 2026·Updated November 23, 2026·11 min read

How much does Claude Code cost? Subscription or API key per token, with a calculation example

You pay for Claude Code with a Claude subscription or an API key charged per token. Here the two options are compared, with a session you can calculate yourself and an explanation of how to pay for the API option.

You do not pay anything separately for Claude Code itself: you pay for the underlying models in one of two ways. With a Claude subscription, Pro costs $20 per month ($17 per month with an annual subscription), Max $100 per month, and Ultra (formerly Max 20x) $200 per month. These prices are in dollars and exclude VAT (the standard rate in the Netherlands and Belgium is 21%), the free subscription does not include Claude Code, and on the web you can pay only with a credit or debit card. With an API key, you pay per token, with no monthly fee, and your usage does not count toward subscription limits. At Kunavo, Claude Sonnet 5 costs $1.40 / $7.00 per million input and output tokens (30% below Anthropic's list price); an example session from Anthropic's documentation therefore costs approximately $0.258. You can top up from $10.

Sources: subscription prices on claude.com/pricing and in the explanations of Max and Ultra (rechecked on November 22, 2026), payment methods in the Claude billing FAQ, the VAT rate at the Dutch Tax and Customs Administration and on Your Europe, all checked on October 3, 2026. Kunavo’s token prices come from the model catalog, verified on November 23, 2026.

Subscription or API key: the two options side by side

Claude subscription (Pro / Max)API key per token (Kunavo)
Cost modelFixed monthly amount, from $20 (Pro)Per token, no monthly fee
LimitsA session limit that resets every 5 hours, plus a weekly limit; shared with Claude chatNo subscription limits; your balance decreases as you use more
Month with no usageYou simply pay the monthly amount$0
Month with heavy usageWait for the limit to reset, or pay separately for extra usage (usage credits)Costs increase with usage
Payment methodsOn the web, credit or debit card only; in the app, through the App Store or Google PlayUSDT or USDC, or a local method in 7 markets; cards being enabled

How much does a Claude subscription cost?

The prices below are listed on claude.com/pricing (checked on November 22, 2026), in dollars. There is no Dutch version of that page. The euro amounts are for reference only, converted at the ECB reference exchange rate on October 2, 2026 and excluding VAT.

  • Free: no Claude Code. The installation documentation also says you need a Pro, Max, Ultra, Team, Enterprise, or Console account.
  • Pro: $20 per month with monthly billing (≈ € 17.82), or $17 per month with an annual subscription, for which you pay $200 upfront (≈ € 178.17). Claude Code is included.
  • Max: $100 per month (≈ € 89.09), billed monthly only, with five times as much usage as Pro every five hours and every week (explanation of Max). Claude Code is included.
  • Ultra (formerly Max 20x): $200 per month (≈ € 178.17), billed monthly only, with ten times as much usage as Pro per week and no five-hour limit once your account is verified (explanation of Ultra). Claude Code is included.
  • Team: a Standard seat costs $20 per month with annual billing or $25 with monthly billing; a Premium seat costs $100 per month with annual billing or $125 monthly.

VAT. According to the pricing page, all amounts are before tax. Anthropic calculates VAT based on your billing address (Help Center), and the standard VAT rate is 21% in both the Netherlands (Dutch Tax and Customs Administration) and Belgium (Your Europe). According to the explanation of Pro, Anthropic charges in local currency where supported, the monthly price varies by region, and in some regions tax is already included in the displayed amount, while elsewhere it is added at checkout. Those pages do not say which of the two applies to the Netherlands or Belgium, or whether you will pay in euros, so the euro amounts above are not a price quote. The amount shown at checkout is what counts (all checked on October 3, 2026).

Limits. With Pro, your session limit resets every five hours, and there is also a weekly limit (explanation of Pro). With Pro and Max, Claude and Claude Code share the same limits: what you do in chat counts toward Claude Code, and vice versa (Claude Code with Pro or Max, checked on October 3, 2026). For what to do when you hit a limit, see Claude Pro and Max limits (in English).

Payment. According to the Claude billing FAQ, Anthropic accepts only credit and debit cards for web subscriptions. If you subscribe in the iOS or Android app, payment is handled through the App Store or Google Play, and according to the explanation of Max, prices in the app may differ. Therefore, you cannot use iDEAL or Bancontact on Anthropic’s website.

How much does Claude Code cost through the API (per token)?

There is no monthly fee for API access; you pay per token. The table shows dollars per million tokens: Anthropic’s list price on the left (claude.com/pricing, checked on October 3, 2026), and Kunavo’s price on the right (from the model catalog, verified on November 23, 2026). Cache prices apply to the 5-minute cache.

ModelAnthropic list price (input / output)Kunavo (input / output)Kunavo cache (read / write)Cheaper than the list price
Claude Sonnet 5
claude-sonnet-5
$2.00 / $10.00$1.40 / $7.00$0.14 / $1.7530%
Claude Opus 5.5
claude-opus-5-5
$4.00 / $20.00$2.80 / $14.00$0.14 / $3.5030%
Claude Opus 5
claude-opus-5
$5.00 / $25.00$3.50 / $17.50$0.35 / $4.37530%
Claude Haiku 4.5
claude-haiku-4-5
$1.00 / $5.00$0.70 / $3.50$0.07 / $0.87530%

Claude Code sends the entire conversation with every request. With prompt caching, that history is billed at the low cache-read rate (cost documentation, checked on October 3, 2026), so the cache price accounts for a large share of the bill: in the example below, cache reads are about 51% of the cost at Claude Sonnet 5. See the explanation of caching to learn how it works. You can find all Claude models and their prices in Claude API pricing (in English) and on the pricing page.

Example calculation: how much does one Claude Code session cost?

This example uses the output of the /usage command from Anthropic’s cost documentation (checked on October 3, 2026), so you can work it out yourself. The assumptions:

  • The token counts come directly from the example: 1,200 input, 5,300 output, 940,000 cache reads, and 50,000 cache writes. In the documentation, this is a session with Sonnet 4.6, which costs $0.55 at list price.
  • The same tokens were calculated for the four models in the table; only the price per token differs.
  • Cache writes at the 5-minute rate: with an API key, the cache is retained for 5 minutes by default according to the documentation (one hour with a subscription, as long as you do not use usage credits).
  • Thinking tokens are counted as output, so the longer the model thinks, the larger the output portion.
  • Background requests are not included; according to the documentation, they usually cost less than $0.04 per session.
ModelAt Anthropic list priceVia KunavoShare of cache reads in Kunavo costs
Claude Sonnet 5$0.368$0.258approximately 51%
Claude Opus 5.5$0.549$0.384approximately 34%
Claude Opus 5$0.921$0.645approximately 51%
Claude Haiku 4.5$0.184$0.129approximately 51%

With Claude Sonnet 5, this session costs approximately $0.258 via Kunavo, of which approximately 51% is for cache reads. With Claude Opus 5.5, it is approximately $0.384, with Claude Opus 5 approximately $0.645, and with Claude Haiku 4.5 approximately $0.129.

This is an example calculation, not an actual bill or a maximum: your sessions may be much longer or shorter. With /usage, you can see the four token counts for your current session in Claude Code; enter them in this script for your own estimate:

claude_code_kosten.py
# Schat de kosten van een sessie (in dollars) met de vier getallen uit /usage
RATES = {  # per miljoen tokens: (input, output, cache read, cache write)
    "claude-sonnet-5": (1.40, 7.00, 0.14, 1.75),
    "claude-opus-5-5": (2.80, 14.00, 0.14, 3.50),
    "claude-opus-5": (3.50, 17.50, 0.35, 4.375),
    "claude-haiku-4-5": (0.70, 3.50, 0.07, 0.875),
}

def session_cost(model, inp, out, cache_read, cache_write):
    i, o, r, w = RATES[model]
    return (inp * i + out * o + cache_read * r + cache_write * w) / 1e6

print(round(session_cost("claude-sonnet-5", 1_200, 5_300, 940_000, 50_000), 3))

Note: the dollar amount shown by /usage is calculated locally by Claude Code using the list price. If you work through Kunavo, the usage overview in your Kunavo dashboard is authoritative for what is deducted from your balance. To calculate using your own counts, use the Claude token cost calculator.

For comparison, the same documentation cites averages from enterprise environments: approximately $13 per developer per active day and $150–250 per developer per month, with 90% of users staying below $30 per active day. These are averages from business environments; the documentation does not say which prices were used to calculate them.

Subscription or API: which is right for you?

  • If you use Claude Code occasionally, or a lot one month and little the next: choose an API key. Based on the example calculation above, $20 at Kunavo is enough for approximately 77 such sessions with Claude Sonnet 5, and a month with no usage costs nothing.
  • You use it intensively every day and stay within the limits: a subscription may then be less expensive. You pay for Pro with a credit or debit card. If you reach your limit, you can wait for it to reset or pay separately for extra usage (usage credits) (cost documentation, checked on October 3, 2026).
  • They do not add together. According to Anthropic’s gateway documentation, Claude Code uses a configured key such as ANTHROPIC_AUTH_TOKEN instead of your claude.ai login; your subscription limits then do not apply, and you pay the key owner per token. If you remove the variable, Claude Code returns to your saved claude.ai login (connecting a gateway, checked on October 3, 2026).

How to top up your Kunavo balance

Kunavo is prepaid, and every method below tops up the same API balance.

  • From anywhere: USDT on TRON (TRC-20), Ethereum (ERC-20) or BNB Chain (BEP-20), or USDC on Base, Ethereum (ERC-20) or BNB Chain (BEP-20), sent to the address and for the exact amount the top-up page gives you.
  • In local currency: Alipay (mainland China), AlipayHK (Hong Kong), Pix (Brazil), GCash (Philippines), Touch 'n Go eWallet / Boost (Malaysia), PayNow (Singapore) and K PLUS / LINE Pay (Thailand); the top-up page shows the amount in that currency before you pay.
  • Card payments are being enabled and cannot be used yet.
  1. Create a Kunavo account.
  2. Under /app/keys, create a key; it starts with sk-kn-.
  3. Set the key in Claude Code as described below, and check the connection with /status.
  • At least $10 per top-up; larger amounts receive extra credit: pay $100, receive $110; pay $1,000, receive $1,200; and pay $5,000, receive $6,250.
  • Prepaid: no monthly fee, the credit does not expire, and failed requests (4xx/5xx) are not charged.
  • For comparison, prepaid API credits purchased directly from Anthropic expire one year after purchase (Help Center, checked on October 3, 2026).
  • These payment methods are only for your Kunavo balance. You cannot use them to pay for Claude Pro or Max.

Connect Claude Code to Kunavo

Don’t have Claude Code yet? The installation documentation recommends the native installer; the npm package requires Node.js 22 or later, and Anthropic advises against sudo npm install -g (checked on October 3, 2026).

terminal
# aanbevolen: de native installer (macOS, Linux, WSL)
curl -fsSL https://claude.ai/install.sh | bash

# of via npm (Node.js 22 of nieuwer; niet met sudo)
npm install -g @anthropic-ai/claude-code

Claude Code reads the API address and your key from environment variables. Add these six lines to your shell configuration and open a new terminal:

~/.zshrc
export ANTHROPIC_BASE_URL=https://api.kunavo.com   # alleen het domein, zonder /v1
export ANTHROPIC_AUTH_TOKEN=sk-kn-...
export ANTHROPIC_MODEL=claude-sonnet-5
export ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-5-5
export ANTHROPIC_DEFAULT_SONNET_MODEL=claude-sonnet-5-5
export ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-haiku-5-5

ANTHROPIC_AUTH_TOKEN is sent as the Authorization: Bearer header (environment variables documentation, checked on October 3, 2026). You can also put the same values in the env block of your personal ~/.claude/settings.json, not in your project’s settings file, so your key does not end up in git. If the same variable is set in both your shell and the settings file, the settings file takes precedence (connecting a gateway).

~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.kunavo.com",
    "ANTHROPIC_AUTH_TOKEN": "sk-kn-...",
    "ANTHROPIC_MODEL": "claude-sonnet-5",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5-5",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-5-5"
  }
}

Why pin the models? According to the model configuration documentation (checked on October 3, 2026), aliases point to the recommended version for your provider and change over time. On Anthropic’s API, the default model and the opus alias currently point to Opus 5.5, and the sonnet alias points to Sonnet 5.5. Without pinned models, Claude Code therefore runs Claude Opus 5.5 by default, which costs more in the example above than Claude Sonnet 5. Kunavo offers Sonnet 5.5, but without ANTHROPIC_DEFAULT_SONNET_MODEL, /model sonnet, the execution phase of opusplan, and subagents with model: sonnet move along to each new Sonnet from Anthropic and return a 404 as long as Kunavo does not offer it yet. With the configuration above, the sonnet alias points to Claude Sonnet 5.5 and the opus alias points to Claude Opus 5.5 (claude-opus-5-5); the latter requires Claude Code v2.1.280 or later, so update an older version first with claude update. To use a different model from the table temporarily, enter its full name in /model, for example, claude-opus-5. ANTHROPIC_DEFAULT_HAIKU_MODEL also determines which model background tasks use.

Then start claude and run /status: the Anthropic base URL line should show https://api.kunavo.com, and the Auth token line should refer to ANTHROPIC_AUTH_TOKEN. More settings are available in the Claude Code integration.

How to keep the bill low

  1. Let the cache do its work. With an API key, the cache is kept for only 5 minutes by default. If you are away for longer, your first message causes the entire context to be processed again (cost documentation). As long as you keep working, the history is billed at the much lower cache-read rate.
  2. Use /clear between separate tasks. Claude Code sends the entire conversation with each request; the documentation recommends starting over with /clear when you begin working on something else.
  3. Choose the model for each task. According to the documentation, Sonnet handles most programming tasks well and is cheaper than Opus; reserve Opus for difficult architectural decisions and multi-step reasoning.
  4. Haiku for simple work. ANTHROPIC_DEFAULT_HAIKU_MODEL is set to Claude Haiku 5.5 in the configuration above, and you can set model: haiku for simple subagents. Keep that line: without ANTHROPIC_DEFAULT_HAIKU_MODEL, the haiku alias moves along to each new Haiku from Anthropic before Kunavo offers it, and versions before v2.1.293 request a dated Haiku 4.5 ID that Kunavo does not offer; in both cases, /model haiku and subagents set to model: haiku return a 404.
  5. Less thinking for simple tasks. Thinking tokens are counted as output; use /effort to lower the thinking effort.

Good to know

  • Kunavo does not issue invoices or VAT invoices. Under Billing, you can see your top-up history with the date, amount, and status.
  • This is a pay-per-token API, not a Claude subscription: with ANTHROPIC_AUTH_TOKEN set, Claude Code does not use your subscription limits, and the costs are deducted from your Kunavo balance.
  • If ANTHROPIC_BASE_URL points to an address other than Anthropic’s, Remote Control will not work and MCP tool search is disabled by default (environment variables documentation, checked on October 3, 2026).
  • Anthropic does not endorse, maintain, or monitor third-party gateways (gateway documentation, checked on October 3, 2026).
  • This guide is also available in English (Claude Code pricing) and German (Claude Code Preis).

Frequently asked questions

How much does Claude Code cost?

You do not pay anything separately for Claude Code itself; you pay for model usage. With a Claude subscription, Pro costs $20 per month ($17 per month with an annual subscription), Max $100 per month, and Ultra (formerly Max 20x) $200 per month, in dollars and excluding VAT; the standard VAT rate in the Netherlands and Belgium is 21% (prices checked on November 22, 2026). With an API key, you pay per token, with no monthly fee: Claude Sonnet 5 costs $1.40 / $7.00 per million input and output tokens on Kunavo. The example session from Anthropic's cost documentation (1,200 input, 5,300 output, 940,000 cache reads, and 50,000 cache writes) therefore costs approximately $0.258.

Is Claude Code free?

No. According to Anthropic's installation documentation, Claude Code requires a Pro, Max, Ultra, Team, Enterprise, or Console account; the free Claude plan does not provide access to Claude Code. The closest option to free is a prepaid API key: you pay only for what you use, and a month with no usage costs nothing.

How much does a Claude subscription cost per month in euros?

Anthropic publishes prices in dollars, excluding VAT. According to its Help Center, Anthropic charges in local currencies where supported, the monthly price varies by region, and in some regions tax is already included in the displayed amount; for the Netherlands and Belgium, it does not specify which price you will see. For orientation only, converted at the ECB reference exchange rate on October 2, 2026: Pro $20 ≈ € 17.82, Max $100 ≈ € 89.09, and Ultra $200 ≈ € 178.17, each excluding VAT. Anthropic calculates VAT based on your billing address, and the standard VAT rate in the Netherlands and Belgium is 21%. The exact amount you pay is shown only at checkout.

Subscription or API key: which is cheaper for Claude Code?

That depends on how much you use Claude Code. The example session from Anthropic's cost documentation costs about $0.258 with Claude Sonnet 5 through Kunavo, so $20 gets you about 77 of these sessions. If you use Claude Code occasionally, or use it a lot one month and only a little the next, an API key is usually cheaper, and a month with no usage costs nothing. If you use it intensively every day and can work within the subscription's limits, Pro or Max may be more cost-effective.

Does my Claude Pro subscription work together with an API key?

Not at the same time: they do not stack. Once ANTHROPIC_AUTH_TOKEN is set, Claude Code sends its requests with that key instead of using your claude.ai login. The subscription limits then do not apply, and you pay the key owner per token. If you remove the variable, Claude Code switches back to your saved claude.ai login.

What is the minimum top-up amount at Kunavo, and does my balance expire?

You can top up from $10; larger amounts receive extra credit (pay $100, receive $110; pay $1,000, receive $1,200; and pay $5,000, receive $6,250). The balance is prepaid: there is no monthly fee, the credit does not expire, and failed requests (4xx/5xx) are not charged. For comparison: prepaid API credits purchased directly from Anthropic expire one year after purchase, according to its help center.

Will Kunavo issue me an invoice or VAT invoice?

No. Kunavo does not issue invoices or VAT invoices. Under Billing, you can see your top-up history with the date, amount, and status.