← Blog

How-to5 min read

Claude Code pricing: what each plan costs, what the API costs, and paying only for what you use

Claude Code comes with Claude Pro, Max, Ultra, Team and Enterprise, or runs on an API key per token. What each costs, what developers spend, and how to spend less.

Mirasim's agent and model picker in a session, where you choose who pays for Claude CodeMirasim's agent and model picker in a session, where you choose who pays for Claude Code

The short answer

Claude Code isn't on the free Claude plan. You get it with a paid plan, Pro and up, where it shares your plan's usage limits, or you sign in with an API key and pay for every token at the API price. On a plan, the price is fixed and the limit is what you hit; on the API, there's no limit but the bill grows with use.

Prices from claude.com/pricing as of November 27, 2026, before tax.
PlanPriceClaude Code usage
Pro$20 a month, or $17 a month billed yearlyMore than Free, reset every 5 hours and every week; Fable is paid with usage credits
Max$100 a month5× Pro; Fable included up to half your weekly limit
Ultra$200 a month10× Pro each week; no 5-hour limit for verified accounts
Team$20 per seat a month yearly ($25 monthly); premium seats $100 ($125)For 2–150 people; a premium seat has 5× a standard one
Enterprise$20 per seat a month yearly, at least 20 seats, plus usage at API ratesAdmins set spend limits per user and organization
API keyPer token; Opus 5.5 and Sonnet 5.5 belowNo plan limit; you pay for what you use

What it costs on the API

ModelPer million tokens, input / output
Claude Opus 5.5$4 / $20
Claude Sonnet 5.5$2 / $10

Anthropic's own figure for enterprise deployments: about $13 per developer per active day and $150–250 per developer per month, with 90% of users under $30 per active day. Your number depends on the model, the size of the codebase, and whether you run several sessions at once or in automation.

See where your usage goes

Run /usage. On an API key, the Session block shows the session's estimated cost and tokens by model. On a plan, it shows your usage bars and a breakdown of what counts against them: skills, subagents, plugins and each MCP server, with recommendations. When the footer says something like “f to fix 2 of 3”, press f and Claude Code applies the ones it can (v2.1.305 or later).

Spend less

  • Use /clear between unrelated tasks; old context is re-sent with every message.
  • Let Sonnet do most coding and save Opus for hard reasoning; switch with /model.
  • Lower /effort on simple tasks; thinking tokens are billed as output.
  • Turn off MCP servers you aren't using in /mcp, and prefer CLI tools such as gh when they exist.
  • Send noisy work, such as test runs and log reading, to a subagent on a smaller model.
  • Agent teams use roughly 7× the tokens of a normal session when teammates plan; keep their tasks small.
  • Be specific, and use plan mode (Shift+Tab) before big changes so a wrong direction doesn't get built.

Paying per token in Mirasim

Mirasim runs the Claude Code CLI itself, so everything above works the same. What you choose is who pays, per session: your own Claude plan, or Mirasim credit, which charges only for what the session uses, at the discount listed for each model.

Paying withWhat runsWhat it costs
Agent/Model accountYour own Claude sign-in or API keyYour plan's usage, or your API bill
Personal credit or space creditClaude models provided by MirasimOff the official API price: Opus 5.5 50% off, Sonnet 5.5 50% off

1 credit is $1 at the official API price; every model's price and discount is on mirasim.ai/models, and credit packs are on mirasim.ai/pricing. When your Claude plan runs out mid-task, switch the same session to Mirasim credit or to another agent and keep the conversation. A personal Claude subscription is for its owner only, so a session your team steers together runs on space credit or a shared key. Mirasim is not an Anthropic product.

Questions

Is Claude Code free?
Not on Anthropic's side: the free Claude plan doesn't include it. You need Pro or a higher plan, or an API key with pay-as-you-go billing.
Pro or Max for Claude Code?
If you hit Pro's 5-hour limit most days, Max gives 5× the usage; Ultra gives 10× each week and, for verified accounts, drops the 5-hour limit.
Does Opus cost more of my plan than Sonnet?
Yes. How fast you reach a limit depends on the model, how long the conversation is and how big the files are, and Opus uses more than Sonnet for the same work.

Sources

Checked on November 27, 2026 against claude.com/pricing and Anthropic's Claude Code documentation (code.claude.com/docs, Manage costs effectively). API prices are read from the same table as mirasim.ai/models. Anthropic changes plans and prices, so check claude.com/pricing before you buy.

Keep reading