Claude Code pricing: plans, limits and real monthly cost
Claude Pro costs $20/month ($17 on annual billing), Max costs $100/month, Ultra costs $200/month, and Team Standard starts at $25 per seat on monthly billing. All include Claude Code with usage limits. Below are the plan limits, per-token costs, and a lower-cost way to run the same CLI.
Official Claude plans that include Claude Code
The plans below include Claude Code. Each user's allowance is shared between Claude and Claude Code. These are Anthropic list prices, not Code By AI prices.
| Plan | Monthly billing | Annual billing / month | What it is for |
|---|---|---|---|
| Pro | $20 | $17 | Light to moderate daily coding, mostly Sonnet; shared 5-hour and weekly caps. |
| Max | $100 | — | 5× the Pro allowance per 5-hour period and per week, for heavier daily sessions. |
| Ultra | $200 | — | 10× the Pro weekly allowance; verified accounts have no 5-hour limit. |
| Team | $25 / seat | $20 / seat | Standard seats with individual usage limits, admin controls and collaboration; two seats minimum. Included usage is not pooled between members. |
Official list prices as of November 2026. Limits and prices change; verify on the official pricing page. claude.com/pricing
What a working month costs
Computed on claude-sonnet-5. Tokens are shown as input / output; list price and Code By AI price use the same workload.
| Usage tier | Input / output tokens | List price | Code By AI | Saving |
|---|---|---|---|---|
| Light | 5M / 500K | $15.00 | $2.00 | 87% |
| Regular | 20M / 2M | $60.00 | $8.00 | 87% |
| Heavy | 80M / 8M | $240.00 | $32.00 | 87% |
Subscription or per-token API?
Choose a subscription for steady use
Pro, Max or Ultra is simpler when you code for hours every day and your usage fits the plan limits. You get one predictable bill.
Choose per-token for bursty use
Per-token billing fits uneven weeks, short projects and trying several models. You pay only for the tokens you actually use.
Choose official for first-party support
If you need Anthropic account limits, support and plan-level guarantees, buy from Anthropic. A third-party gateway has its own billing and support.
Three lines to switch
Set the base URL and token, then run claude as usual. The model IDs below are the ones this endpoint accepts.
export ANTHROPIC_BASE_URL="https://www.codebyai.net/api/agent" export ANTHROPIC_AUTH_TOKEN="sk-proj-xxxx" # replace with your Code By AI key claude
Need the exact variable and file format? See the environment variable reference.
Claude models on Code By AI
| Model | List price | You pay |
|---|---|---|
| claude-haiku-4-5-20251001 | $1.00 / $5.00 | $0.13 / $0.67 |
| claude-sonnet-5Default | $2.00 / $10.00 | $0.27 / $1.33 |
| claude-sonnet-5-5 | $2.00 / $10.00 | $0.27 / $1.33 |
| claude-sonnet-4-6 | $3.00 / $15.00 | $0.40 / $2.00 |
| claude-opus-5-5 | $4.00 / $20.00 | $0.53 / $2.67 |
| claude-opus-4-6 | $5.00 / $25.00 | $0.67 / $3.33 |
| claude-opus-4-7 | $5.00 / $25.00 | $0.67 / $3.33 |
| claude-opus-4-8 | $5.00 / $25.00 | $0.67 / $3.33 |
| claude-opus-5 | $5.00 / $25.00 | $0.67 / $3.33 |
| claude-fable-5 | $10.00 / $50.00 | $2.00 / $10.00 |
| claude-fable-5-1 | $10.00 / $50.00 | $2.00 / $10.00 |
per 1M tokens (input / output)
FAQ
- Does Claude Code work with a Code By AI key?
- Yes. Set ANTHROPIC_BASE_URL to https://www.codebyai.net/api/agent and use any Code By AI key as ANTHROPIC_AUTH_TOKEN; the CLI keeps working as before.
- Is per-token billing cheaper than a Claude subscription?
- On claude-sonnet-5, 20M input and 2M output tokens per month is $60.00 at list price and $8.00 through Code By AI. A flat subscription can win if your usage is steady and heavy; per-token wins when it is uneven.
- Is Code By AI an official Claude subscription?
- No. It is a separate token-billed gateway. You keep using the Claude Code CLI, but billing, support and account limits are handled by Code By AI rather than Anthropic.
- When is a subscription cheaper?
- When you use Claude Code steadily for hours every day and stay within the plan limits, a flat Pro, Max or Ultra subscription can be simpler and cheaper. Per-token usually wins for bursty usage or when you want to compare models.
- Where can I verify the official prices?
- Check claude.com/pricing before you choose. The plan prices and the cost comparison on this page use list prices from November 2026; usage limits and prices can change.