# Claude API vs subscription: which is cheaper for coding?

> A Claude subscription is cheaper than the Claude API once a month of your Claude Code work would cost more than the plan at API list prices. As of November 16, 2026, Pro costs $20 a month, Max $100 and Ultra $200, against Anthropic's reported Claude Code average of about $13 per developer per active day at API prices. The API bills each successful request against prepaid credits you buy in the Claude Console, within the rate limits and monthly spend cap of your usage tier.

Author: Tyler J. Cagle (https://x.com/tjcages)
Published: 2026-10-02T16:30:00.000Z
Updated: 2026-11-16T21:45:00.000Z
Reading time: 11 min
Canonical: https://auto.sh/blog/subscription-vs-api-pricing
Part of: How to cut Claude Code and Codex costs (https://auto.sh/blog/cut-claude-code-and-codex-costs.md)
Publisher: Auto (https://auto.sh)

## Key facts

- As of November 16, 2026, Claude Pro costs $20 a month ($17 billed annually), Max $100 and Ultra $200; Max gives 5x Pro's usage and Ultra 10x Pro's weekly usage ([Anthropic](https://claude.com/pricing)).
- Anthropic reports Claude Code averaging about $13 per developer per active day at API prices across enterprise deployments, so a developer near that average spends more on the API than on Ultra after about 15 active days a month.
- Claude API billing is prepaid: you buy credits on the Claude Console's Billing page, only successful requests are charged, and requests stop when the balance runs out unless auto-reload tops it up.
- Each usage tier has a monthly spend cap: $500 on Start, $1,000 on Build and $200,000 on Scale. At the cap, requests return a 429 until the first day of the next month.
- Max and Ultra include $100 and $200 a month in Claude API credits, but those credits don't cover interactive Claude Code or usage credits past a plan's limits.

![At $13 a day, Ultra covers 15 days. Pro, $20, 1.5 days; Max, $100, 7.7 days; Ultra, $200, 15.4 days. Source: Anthropic's enterprise average of $13 per developer per active day at API prices, checked November 16, 2026.](https://auto.sh/blog/images/subscription-vs-api-pricing/2-plan-days.png)

A Claude subscription is cheaper than the Claude API once a month of your Claude Code work would cost more than the plan at API list prices. As of November 16, 2026, Claude Pro costs $20 a month, Max $100 and Ultra $200, while Anthropic reports Claude Code costing [about $13 per developer per active day, or $150 to $250 a month](https://code.claude.com/docs/en/costs), at API prices across enterprise deployments. At that average, the API costs more than Ultra after about 15 active days a month, provided the plan's limits hold the work. The API bills every successful request against prepaid credits you buy in the Claude Console, with no five-hour or weekly windows, only your usage tier's rate limits and monthly spend cap. Auto, the Mac app for all your coding agents, wrote this post; it [uses the AI subscriptions you already pay for first](/individuals#plans).

## What do Claude plans cost for Claude Code?

Claude Code comes with every paid Claude plan, and as of November 16, 2026 those cost $20 a month for Pro, $100 for Max and $200 for Ultra ([Anthropic](https://claude.com/pricing)). Anthropic publishes no token allowance for any of them, only multiples of Pro's usage.

| Plan                     | Price (November 16, 2026)                                                            | Usage, as Anthropic describes it                                                  |
| ------------------------ | ------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------- |
| Pro                      | [$20 a month, or $17 a month billed annually](https://claude.com/pricing)            | Limits every five hours and every week; Claude Fable only through usage credits   |
| Max                      | [$100 a month](https://support.claude.com/en/articles/11049741-what-is-the-max-plan) | 5× Pro's usage every five hours and every week; Fable up to half the weekly limit |
| Ultra (formerly Max 20x) | [$200 a month](https://support.claude.com/en/articles/17728952)                      | 10× Pro's weekly usage, with no five-hour limit for verified accounts             |

Each tier buys the same weekly usage per dollar: Max costs five times Pro for five times the usage, and Ultra ten times Pro for ten times the weekly usage. Ultra replaced Max 20x, and [existing Max 20x subscribers moved to Ultra](https://support.claude.com/en/articles/17728952) with no price change. Day-to-day limits are covered in [How Claude Code usage limits work](/blog/claude-code-usage-limits), and [Claude Code pricing](/blog/claude-code-pricing) prices a real task on each plan.

## How does Claude API billing work?

Claude API billing is prepaid: you buy usage credits in the Claude Console, and each successful request is deducted from that balance at Anthropic's list prices ([Claude Help Center](https://support.claude.com/en/articles/8977456-how-do-i-pay-for-my-claude-api-usage), checked November 16, 2026). The same credits pay for the API, the Console's playground and Claude Code when you sign in with a Console account. Anthropic charges only for successful calls, so failed requests such as [529 overloaded errors](/blog/claude-529-overloaded-error) cost nothing, but a request that was on track to succeed is still charged if your client disconnects or times out.

![Claude API usage draws down prepaid credits. 1. Buy credits (Console Billing page); 2. Send requests (Only successful ones bill); 3. Balance drops (Auto-reload can top up); 4. Credits run out (Requests stop until you buy). Source: Claude Help Center, How do I pay for my Claude API usage?, checked November 16, 2026.](https://auto.sh/blog/images/subscription-vs-api-pricing/3-api-billing.png)

- **Buying credits.** An Admin or Billing user clicks Buy credits on the [Billing page](https://platform.claude.com/settings/billing), and the credits are available at once.
- **Auto-reload.** On the same page you set a balance that triggers a purchase and a balance to refill to, so the account doesn't hit zero mid-task.
- **Running out.** With no credits left, API calls stop until you add more. In Claude Code the message is [`Credit balance is too low`](https://code.claude.com/docs/en/errors#credit-balance-is-too-low).
- **Expiry.** Purchased credits expire one year after purchase and are non-refundable, under Anthropic's credit terms.
- **Invoicing.** Organizations with a sales arrangement are billed monthly in arrears instead, at the same pay-as-you-go prices.

Your usage tier then sets how fast and how much you can spend. Anthropic places each organization on a tier automatically from its usage history and account standing, and new organizations can start on a lower Evaluation tier ([rate limits](https://platform.claude.com/docs/en/api/rate-limits), checked November 16, 2026). Each tier has a monthly spend cap:

| Usage tier | Monthly spend cap | At the cap                                                       |
| ---------- | ----------------- | ---------------------------------------------------------------- |
| Start      | $500              | Requests return a 429 until 00:00 UTC on the first of next month |
| Build      | $1,000            | The same                                                         |
| Scale      | $200,000          | The same                                                         |
| Custom     | None              | Limits arranged with Anthropic's account team                    |

The Start tier's cap matters for heavy Claude Code use. Anthropic says [90% of users stay below $30 per active day](https://code.claude.com/docs/en/costs); a developer at $30 a day would reach the $500 cap in about 17 active days. To raise it, use Request tier increase on the Console's [Rate limits page](https://platform.claude.com/usage/limits). You can also set your own lower monthly spend limit, and requests over it return a 400 `invalid_request_error` that names the limit.

## Where can you see your Claude API bill?

Your Claude API bill lives in the Claude Console, on three pages, as of November 16, 2026. Anthropic also emails a receipt for every credit purchase, including auto-reloads, with the subject line "Your receipt from Anthropic" ([Claude Help Center](https://support.claude.com/en/articles/16608069-understanding-your-claude-api-invoices)).

| Console page                                            | What it shows                                                                                               |
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [Billing](https://platform.claude.com/settings/billing) | Credit balance, purchases, auto-reload, payment method and invoice history, including expired credit grants |
| [Cost](https://platform.claude.com/cost)                | Your organization's API spend                                                                               |
| [Usage](https://platform.claude.com/usage)              | Token usage and your prompt cache hit rate                                                                  |

The first time you sign in to Claude Code with a Console account, the Console creates a workspace called Claude Code, which [tracks all Claude Code spend](https://code.claude.com/docs/en/costs#claude-console) in the organization and can carry its own spend limit. Inside Claude Code, the Session block of `/usage` estimates the session's cost from token counts at list price; it is an estimate, and the Billing page holds the invoices. On Pro, Max or Ultra Anthropic says it [isn't relevant for billing](https://code.claude.com/docs/en/costs).

## What does the same work cost on the Claude API?

On the Claude API you pay per million tokens, and as of November 16, 2026 list prices run from $0.10 of input on Claude Haiku 5.5 to $8 of input and $40 of output on Claude Fable 5.2 ([pricing](https://platform.claude.com/docs/en/about-claude/pricing)). Claude Code [sends your full conversation with every request](https://code.claude.com/docs/en/costs), so most input tokens are cache reads, which cost a small fraction of new input.

The table prices one assumed agent request: 45,000 cached input tokens, 5,000 new input tokens and 2,000 output tokens, thinking included. With an API key, Claude Code writes the [five-minute cache](https://code.claude.com/docs/en/prompt-caching#which-ttl-each-request-gets), so the new tokens bill at the 5-minute cache-write rate.

| Model                                           | Input / 5-minute cache write / cache read / output, per million tokens | One assumed request | Requests for $20 |
| ----------------------------------------------- | ---------------------------------------------------------------------- | ------------------- | ---------------- |
| Claude Fable 5.2                                | $8 / $10 / $0.20 / $40                                                 | $0.139              | 143              |
| Claude Opus 5.5                                 | $4 / $5 / $0.20 / $20                                                  | $0.074              | 270              |
| Claude Sonnet 5.5                               | $2 / $2.50 / $0.10 / $10                                               | $0.037              | 540              |
| Claude Haiku 5.5 (prompts up to 100,000 tokens) | $0.10 / $0.125 / $0.01 / $0.50                                         | $0.0021             | 9,638            |

![$20 buys 143 Fable requests or 9,638 on Haiku. Claude Haiku 5.5 ($0.0021 a request), 9,638; Claude Sonnet 5.5 ($0.037 a request), 540; Claude Opus 5.5 ($0.074 a request), 270; Claude Fable 5.2 ($0.139 a request), 143. Source: Claude API list prices, November 16, 2026, for one request of 45,000 cached, 5,000 new and 2,000 output tokens.](https://auto.sh/blog/images/subscription-vs-api-pricing/1-requests-per-20.png)

```text
Claude Opus 5.5, one assumed request, list prices as of November 16, 2026
  45,000 cached input  x  $0.20 per million  =  $0.009
   5,000 new input     x  $5.00 per million  =  $0.025  (5-minute cache write)
   2,000 output        x $20.00 per million  =  $0.040
  Total                                         $0.074
```

## When does a Claude subscription beat the API?

A subscription beats the API when the work you do inside its limits would cost more than the plan at list prices. At Anthropic's enterprise average of $13 per active day, Pro's $20 matches about 1.5 active days of Claude Code at API prices, Max's $100 about 7.7 days and Ultra's $200 about 15.4 days. A developer at that average who codes more than about 15 days a month would spend more on the API than on any Claude plan, provided the plan's limits hold those days.

Those limits are the open question, and Anthropic [says costs vary widely](https://code.claude.com/docs/en/costs) by model, codebase size and usage pattern. To measure your own, run Claude Code with an API key for a week, or total the Session block of `/usage` across a week on your plan, and compare the sum with the plan's price. To estimate a month on the Claude API before you start, the [Claude API cost calculator](/claude-api-cost-calculator) prices each Claude model with and without prompt caching.

## When is the Claude API the better deal?

The API costs less when a month of your work at list prices comes in under the plan's price, which is common with occasional use. At the assumed request size, $20 buys about 540 Claude Sonnet 5.5 requests, and Claude Code [sends a new request each time it uses a tool](https://code.claude.com/docs/en/costs). The API also has no five-hour or weekly windows, so a long session never waits for a reset, only for your tier's rate limits.

It also suits automation. Max and Ultra include [$100 and $200 a month in Claude API credits](https://support.claude.com/en/articles/17154008-monthly-api-credits-for-max-ultra-and-team-plans) for a linked Console organization, spent before purchased credits and expiring each billing cycle. They cover the Messages API, the Agent SDK and `claude -p` runs that use an API key from that organization, but not interactive Claude Code in the terminal, IDE, desktop or web. [How to use Claude Code and Codex without a subscription](/blog/no-subscription-coding-agents) covers API-key setup.

## What happens when you go past a plan's limits?

Past the limit, you can wait for the reset, upgrade, or turn on [usage credits](https://support.claude.com/en/articles/12429409-manage-usage-credits-for-paid-claude-plans), which bill at standard API rates and stop at any monthly spend limit you set. A heavy month on a plan then costs the plan price plus the overflow. The monthly API credits on Max and Ultra [can't pay for usage credits](https://support.claude.com/en/articles/11145838-use-claude-code-with-your-pro-or-max-plan), so they don't extend Claude Code's limits. [How to cut Claude Code and Codex costs](/blog/cut-claude-code-and-codex-costs) covers what stretches a plan before you get there.

## Does the same math hold for Codex and ChatGPT plans?

Yes, the break-even works the same way for Codex: a ChatGPT plan wins once your Codex work at OpenAI's API prices would cost more than the plan. As of November 16, 2026, [ChatGPT Plus costs $20 a month and Pro starts at $100](https://learn.chatgpt.com/docs/pricing), and OpenAI recommends API-key sign-in for Codex in shared environments like CI. Codex with an API key runs in the CLI, SDK and IDE extension, without cloud features such as GitHub code review. [Codex pricing](/blog/codex-pricing) prices a real Codex task, and [Codex vs Claude Code](/blog/codex-vs-claude-code) sets both agents' plans side by side.

## Why should a router spend the plan first?

A router should spend the plan first because a request inside the plan's limits adds no cost, while the same request on the API or on usage credits costs its list price. Within the plan, hard work should come first, because quick work has a cheap substitute and hard work doesn't. At the assumed request size, a quick request moved to Claude Haiku 5.5 costs $0.0021 at list price, while a hard request that overflows to Claude Opus 5.5 at API rates costs $0.074, about 36 times as much. Anthropic doesn't publish how each model counts against plan limits, so this compares only what the work costs outside the plan.

Auto follows that order. In Codex, OpenAI models run on the ChatGPT plan, and in Claude Code, Claude models run on the Claude plan. Hard work goes to the most capable model your plans cover, and to credits only when none is strong enough. Everything else goes to the model that costs you least, which is often your plan or a low-cost open model, and every request shows its model, what it cost and why. The full order is in [How AutoRouter picks a model](/blog/how-autorouter-picks-a-model).

As of November 16, 2026, [Auto Free](/pricing) costs $0 a month, and routing across two of your subscriptions is free. [Auto Pro](/pricing) includes usage each month and adds every other model, billed at the provider's price plus 10%, first from the included usage. Auto earns the 10% on paid models and nothing on plans. It runs on macOS 14 or later and is in beta. The [savings calculator](/calculator) estimates a month of your own coding-agent work at API list prices, on one frontier model and with Auto.

## Questions

### Is Claude Max worth it over Pro?

Claude Max is worth it when you would otherwise spend more than the price difference on usage credits. As of November 16, 2026, Max costs $80 a month more than Pro, so it pays off once your overflow at API rates passes $80 a month, if its limits hold that work. Max also includes Claude Fable [up to half of its weekly limit](https://claude.com/pricing), where Pro pays for Fable with usage credits. [Claude Pro vs Max: which plan to pick for Claude Code](/blog/claude-pro-vs-max) works through the rest of the choice.

### Do Max and Ultra API credits cover Claude Code?

No, not interactive Claude Code. The [monthly API credits](https://support.claude.com/en/articles/17154008-monthly-api-credits-for-max-ultra-and-team-plans) on Max ($100) and Ultra ($200) cover the Claude API, the Agent SDK and `claude -p` with an API key from the linked Console organization. Claude Code in the terminal, IDE, desktop or web, and usage credits past your plan's limits, can't use them.

### Is Claude Code using my plan or my API key?

Claude Code uses your API key whenever the `ANTHROPIC_API_KEY` environment variable is set, [even if you are signed in to Pro, Max or Ultra](https://support.claude.com/en/articles/11145838-use-claude-code-with-your-pro-or-max-plan), and those requests bill at API rates. Run `/status` to see which credential is active, and remove the variable from your shell profile to put Claude Code back on your plan.

### What happens when my Claude API credits run out?

Requests stop until you add credits, and Claude Code shows `Credit balance is too low`. [Auto-reload](https://support.claude.com/en/articles/8977456-how-do-i-pay-for-my-claude-api-usage) on the Console's Billing page buys more automatically when the balance falls below a threshold you set.

### Can I use Claude Code without any subscription?

Yes. Claude Code accepts a Claude Console account or API key billed per token, and Codex accepts an OpenAI API key. Auto Pro also works without any AI subscription: it gives every model, with usage included each month.

## Sources

- [Plans and pricing](https://claude.com/pricing), Anthropic, checked November 16, 2026
- [What is the Max plan?](https://support.claude.com/en/articles/11049741-what-is-the-max-plan), Claude Help Center
- [What is the Ultra plan?](https://support.claude.com/en/articles/17728952), Claude Help Center
- [How do I pay for my Claude API usage?](https://support.claude.com/en/articles/8977456-how-do-i-pay-for-my-claude-api-usage), Claude Help Center, checked November 16, 2026
- [Understanding your Claude API invoices](https://support.claude.com/en/articles/16608069-understanding-your-claude-api-invoices), Claude Help Center
- [Monthly API credits for Max, Ultra, and Team plans](https://support.claude.com/en/articles/17154008-monthly-api-credits-for-max-ultra-and-team-plans), Claude Help Center
- [Use Claude Code with your Pro, Max, or Ultra plan](https://support.claude.com/en/articles/11145838-use-claude-code-with-your-pro-or-max-plan), Claude Help Center
- [Manage usage credits for paid Claude plans](https://support.claude.com/en/articles/12429409-manage-usage-credits-for-paid-claude-plans), Claude Help Center
- [Pricing](https://platform.claude.com/docs/en/about-claude/pricing), Claude Platform docs, checked November 16, 2026
- [Rate limits](https://platform.claude.com/docs/en/api/rate-limits), Claude Platform docs, checked November 16, 2026
- [Manage costs effectively](https://code.claude.com/docs/en/costs), Claude Code docs
- [Error reference](https://code.claude.com/docs/en/errors), Claude Code docs
- [Pricing](https://learn.chatgpt.com/docs/pricing), Codex, OpenAI, checked November 16, 2026

## Read next

- [How much is a Claude or ChatGPT plan worth per model?](https://auto.sh/blog/claude-max-tokens-per-model.md): Auto, the Mac app for all your coding agents, publishes what a Claude or ChatGPT plan is worth on each model as free, open data: a Claude plan holds about 57 times its fee in Claude Opus 5.5 at API prices, 59 times in Sonnet 5.5 and 11 times in Fable 5.2, while a ChatGPT plan holds about 13 times its fee in GPT-6 Sol. That puts Claude Max ($100 a month) at about $5,700 of Opus 5.5, roughly 12 billion tokens at a typical coding-agent mix. Auto connects your plans to all your coding agents, so your Claude plan runs inside Codex and your ChatGPT plan inside Claude Code.
- [How to cut Claude Code and Codex costs](https://auto.sh/blog/cut-claude-code-and-codex-costs.md): Use Auto, the Mac app for all your coding agents: it makes the model choice on every turn, uses the AI subscriptions you already pay for first, and shows each turn's model, cost and reason. Claude Code and Codex costs come down to three things: which model runs each turn, how much context each request carries, and whether you pay through a plan, credits or an API key. By hand, run routine turns on a smaller model, keep sessions short, and spend the plan you already pay for before paying per token.
- [How to use Claude Code and Codex without a subscription](https://auto.sh/blog/no-subscription-coding-agents.md): Use Auto Pro: Auto, the Mac app for all your coding agents, gives you every model with no AI subscription, with usage included each month, and bills paid models at the provider's price plus 10%. Natively, Claude Code runs on a Claude Console account and Codex on an OpenAI API key, both billed per token. On the same models, a direct API key costs less, so Pro comes out ahead only when cheaper models take enough of your turns.

Tags: [Costs](https://auto.sh/blog/tags/costs.md), [Claude Code](https://auto.sh/blog/tags/claude-code.md), [Codex](https://auto.sh/blog/tags/codex.md)

Drafted with AI from the sources linked above, then checked and edited by the Auto team.

Auto is a Mac app for AI model routing in Codex, Claude Code, Cursor and other supported coding agents. It uses eligible connected subscriptions first. See [setup](https://auto.sh/setup.md) and [pricing](https://auto.sh/pricing).
