Claude Agent SDK Billing Split Guide: How claude -p Costs Change After June 15
If you subscribe to Claude Pro or Max and use claude -p or the Agent SDK in scripts, CI/CD, or automated workflows, this is required reading before June 15.
Anthropic announced that starting June 15, 2026, all programmatic usage will be "split out" from subscription quotas into a separate monthly credit pool. This isn't a minor update — it directly restructures your billing, and claiming your credits is not automatic. Not acting is the same as choosing to pay full API rates. This guide is based on official documentation and multiple verified sources, helping you clarify in three days: what's affected, how much it matters, and what to do now.
TL;DR
Important: The following summary is based on Anthropic's official Help Center and Claude Code documentation. Always refer to the latest official announcements.
claude -p, Agent SDK (Python/TypeScript), GitHub Actions and other programmatic usage starts drawing from a separate monthly credit pool on June 15: Pro $20 / Max 5x $100 / Max 20x $200- When credits are exhausted, requests hard stop (not throttle) by default; overflow billing must be manually enabled to continue at API rates
- Three required steps before 6/15: claim your credit, estimate monthly spend, decide on plan or overflow settings
- Interactive-only Claude Code users: completely unaffected, no action needed
- Credits do not accumulate or roll over; they reset monthly
What's Actually Changing? The Interactive vs. Programmatic Split
Until now, Claude Pro or Max subscription quotas were a single pool — browser chat, terminal sessions, and scripts all drawing from the same budget. Starting June 15, Anthropic is splitting this pool in half: interactive usage continues on the original subscription; programmatic usage moves to a separate monthly credit hard limit.
The cognitive trap here is that many people see "separate credit pool" and assume Anthropic is giving them extra resources. It's actually the opposite — this layers a new hard ceiling on top of the existing subscription, giving programmatic usage its own ceiling.
Usage NOT affected by the new rules:
| Tool / Scenario | Impact |
|---|---|
| Interactive Claude Code terminal | Unaffected |
| claude.ai web / desktop / mobile app | Unaffected |
| Claude Cowork | Unaffected |
Usage affected by new rules starting June 15:
| Tool / Scenario | Impact |
|---|---|
claude -p (or --print) CLI | Draws from separate credit pool |
| Agent SDK (Python / TypeScript) | Draws from separate credit pool |
| Claude Code GitHub Actions | Draws from separate credit pool |
| Third-party tools authenticated via Agent SDK | Draws from separate credit pool |
The above data comes from Anthropic's official Help Center (T1-1) and Claude Code official documentation (T1-2).
Notably, Anthropic's official framing positions this as a "resource allocation adjustment," emphasizing that subscription users still get discounts. However, community analysts (including the widely-cited MagnaCapax GitHub Gist — Tier 2 community analysis, not official figures) calculate that for heavy Sonnet users, effective cost increases could reach 150 to 175 times. This perception gap is real and worth addressing honestly.
Which Tools Are Affected? Building Your Programmatic Usage Inventory
To determine if you're affected, the fastest diagnostic is a single question: Is your tool authenticated with a subscription account or a dedicated API Key?
- Subscription account authentication (logged in via
claude login) → affected - Dedicated API Key authentication (
ANTHROPIC_API_KEYenvironment variable) → completely unaffected, remains pay-as-you-go
Confirmed affected tools (based on official documentation and vendor statements):
claude -porclaude --printCLI command- Claude Agent SDK (Python:
claude-code-sdk, TypeScript:@anthropic-ai/claude-code-sdk) - Claude Code GitHub Actions (via
anthropics/claude-code-action) - Zed editor (integrated via ACP protocol)
- OpenClaw, Conductor (authenticated via Agent SDK)
- Jean (authenticated via Agent SDK)
Self-audit checklist:
- Is
ANTHROPIC_API_KEYset in~/.bashrcor CI environment? (If only using this, you're not affected) - Have I used
claude -porclaude --printin any scripts? - Do my GitHub Actions workflows use
anthropics/claude-code-action? - Are my third-party tools (IDE plugins, automation platforms) authenticated via my Claude subscription, or do they require a separate API Key?
Regarding Cursor: As of this writing, Cursor has not issued an official statement on this billing split, and its integration architecture differs from ACP. Whether Cursor falls within the affected scope requires checking Cursor's official documentation directly (marked as UNVERIFIED here).
How Far Does $200/$100/$20 Go? Three Cost Scenarios
Many users see the Max 20x plan "providing $200 in Agent SDK credits" and assume that's plenty. After reviewing API rates and community cost analysis, that assumption needs recalibration.
Basic estimation formula (based on Sonnet 4.6 rates cited by FindSkill.ai):
Monthly cost = input tokens × $3/M + output tokens × $15/M
For a typical PR code review (30,000 input tokens + 5,000 output tokens):
- Cost = 30K × $3/M + 5K × $15/M = $0.09 + $0.075 = $0.165 per review
This means $200 in credits covers roughly 1,200 PR reviews of this size. Sounds generous — but translate it to heavy debug sessions and the picture shifts. According to CoderSera's estimates (Tier 2 source, not official), one heavy debug session consumes roughly 500K to 1M tokens; at Sonnet 4.6 rates, $200 covers approximately 22 to 44 such sessions.
Decision table by scenario:
| Scenario | Estimated Monthly Spend | Recommended Plan |
|---|---|---|
| Light script developer (~100 PR reviews or occasional agent calls/month) | ~$15 | Stay on Pro ($20) |
| Medium CI/CD (~400 PR reviews/month) | ~$66 | Max 5x ($100) |
| Heavy agent workflow (over $200/month) | $200+ | Switch to direct API Key |
Three-rule decision framework (source: FindSkill.ai decision table, Tier 2):
- Monthly spend < $20 → Pro
- Monthly spend $20–$200 → Max
- Monthly spend > $200 → Direct API Key, skip subscription
A real-world data point from a developer in the Brickverse community (a first-hand upgrade account, not company self-reported): after gradually upgrading from Pro ($20) through Max 5x to Max 20x ($200/month), their conclusion was that the true value of Max 20x isn't double the quota — it's uninterrupted all-day sprints. Max 5x tends to hit usage window limits by mid-afternoon; Max 20x is the plan that actually sustains a full working day without interruption.
For programmatic workloads, this means the plan choice isn't just about whether monthly credits are sufficient, but also about the ceiling on any single day's burst usage.
Should You Enable Overflow Billing? CI/CD Interruption Risk Assessment
Here's a critical cognitive trap: when credits run out, Anthropic's default behavior is a hard stop, not a speed reduction.
Official documentation (T1-1) explicitly states: if usage credits (overflow billing) are not enabled, once monthly credits are exhausted, all subsequent programmatic requests immediately pause until the next monthly cycle. This is fundamentally different from the "degraded service after overage" that many services use.
Comparing the two options:
| Setting | Behavior When Credits Exhausted | Risk |
|---|---|---|
| Overflow OFF (default) | Requests hard-stop until next cycle | CI/CD pipeline may interrupt mid-month without warning |
| Overflow ON | Continues at standard API full rates, no cap | Uncapped billing; invoice could spike unexpectedly |
VantagePoint's analysis (T2-3) specifically calls this out: "An automated script that runs out of credits mid-month may stop without warning." For business-critical production CI/CD, this risk is real.
Decision framework:
- Business-critical production CI/CD (checks required before PR merges, tests that block releases): enable overflow billing, or switch to API Key authentication to remove the subscription pool constraint entirely
- Non-critical scripts or dev environments (local dev helpers, non-blocking code analysis): keeping overflow off is acceptable; mid-month pauses don't affect your main workflow
- Spend control when overflow is enabled: use the
/usage-creditscommand to set a monthly spending cap as a safety net (available on Pro and Max plans)
This "on or off" decision is fundamentally a tradeoff between service reliability and cost predictability. The right answer depends on your workflow's tolerance for interruption.
3-Step Action Checklist Before June 15
Here's a critical detail many users are missing: claiming credits is not automatic. Anthropic sent an explanatory email to subscribers on June 8, but receiving the email and completing the claim are two separate things. You must actively go to account settings to complete the claim.
Taking no action means silently accepting "programmatic usage billed at full API rates with no subscription discount."
Step 1: Confirm Credit Claim (Under 15 minutes)
Go to claude.ai → Settings → find the Agent SDK credit claim option. If you're subscribed to Pro or Max and qualify, you should see the corresponding credit plan awaiting confirmation. After claiming once, credits auto-renew monthly — no need to repeat the process.
Note: Standard seat Enterprise members cannot claim this credit per official documentation. Enterprise users should contact their account administrator to confirm plan coverage.
Step 2: Audit Programmatic Usage and Estimate Monthly Spend (30-60 minutes)
Run through the checklist from the previous section, listing every programmatic tool using subscription account authentication. Apply the estimation formula:
Monthly cost ≈ input tokens × $3/M + output tokens × $15/M
If you're unsure of your token usage, estimate from:
- Past month's API usage logs (if available)
- (Average call input/output length) × (monthly call count)
Step 3: Make Your Decision (based on your estimate)
| Estimated Monthly Spend | Recommended Action |
|---|---|
| < $20 | Stay on Pro, no upgrade needed |
| $20–$100 | Consider upgrading to Max 5x ($100/month) |
| $100–$200 | Consider upgrading to Max 20x ($200/month) |
| > $200 | Switch to API Key authentication, downgrade or cancel subscription |
Also decide whether to enable overflow billing, and if needed, set a monthly spending cap in account settings.
Note: How usage before June 15 is calculated during the transition period has no Tier 1 official explanation from Anthropic. This point is marked UNVERIFIED. Monitor Anthropic's official announcements closely during the transition.
Enterprise and Team User Special Cases
If you're on Enterprise or Team plans, there are some easy-to-miss edge cases.
Critical Limitation for Enterprise Standard Seats:
Anthropic's official Help Center explicitly states that Standard seat Enterprise members cannot claim Agent SDK credit. For developers running programmatic workflows under an Enterprise account, this is a significant signal — you need to check with your Enterprise account administrator to confirm your plan coverage rather than assuming credits are available.
Team Plan Per-User Architecture:
Team plan credits are calculated per user and not shared:
- Team Standard: $20/person/month
- Team Premium: $100/person/month
This means with a 5-person team, the credit pool is 5 independent $20 or $100 budgets, not a shared $100 or $500. One member using up their credits doesn't affect others, but conversely, you can't transfer unused credits from a low-usage member to a high-usage one.
Action checklist for Team administrators:
- Confirm each member has completed their credit claim
- Assess whether high-usage members (engineers running extensive CI/CD) need plan upgrades
- Confirm production CI/CD authentication method (subscription vs. API Key), decide on overflow settings
- Document fallback procedures for workflows that might pause when credits are exhausted
Risk Disclosure
This article is an analysis based on official documentation and multiple verified sources. Several points require explicit disclosure:
Policy Stability Concerns
Based on developer community observations (Tier 2 sources), this change is the third billing policy adjustment by Anthropic in approximately six weeks. Frequent policy changes mean the estimates and recommendations in this article may need revisiting in coming months. When making long-term toolchain or infrastructure decisions, maintain sufficient flexibility.
Source Attribution for "Effective Cost Multiplier" Figures
The effective cost increase figures cited in this article (approximately 12x for Pro users, approximately 150–175x for Max 20x heavy Sonnet users) come from community analysis (MagnaCapax GitHub Gist, Tier 2 source), not Anthropic's official numbers. These estimates are based on specific usage scenario assumptions; your actual impact depends on your own usage distribution.
API Rate Timeliness
The Sonnet 4.6 rates cited in this article (Input $3/M, Output $15/M), as well as Haiku 4.5 reference rates (from Tier 2 sources only, UNVERIFIED), may change as Anthropic's pricing policies evolve. For actual rates charged when overflow billing is enabled, always refer to Anthropic's official API pricing page.
Limitations of Competitor Comparisons
This article references Cursor Ultra ($200/month) as a comparative data point. Any competitor comparison has timeliness and contextual limitations — readers should evaluate based on their own requirements. This article does not constitute a recommendation or endorsement.
Conclusion
The impact of this billing change varies enormously. Two developers both using Claude daily could land in completely different situations — one unaffected, the other seeing bills multiply several times over.
If you only use interactive Claude Code: you are unaffected, nothing to do here.
If you have programmatic usage: go to claude.ai Settings now to confirm your credit claim. The entire operation takes under three minutes, but the cost of skipping it is: starting June 15, every claude -p and Agent SDK call bills at full API rates with zero subscription discount.
After claiming, spend half an hour estimating your monthly spend, compare against the decision table to choose the right plan, then decide on overflow billing. With these three steps done, the June 15 billing split won't catch you off guard.
FAQ
I only use interactive Claude Code. Do I need to do anything?
You are completely unaffected and don't need to make any changes. Anthropic's official documentation explicitly states that interactive Claude Code terminal, claude.ai web/desktop/mobile conversations, and Claude Cowork are all outside the scope of the new billing rules.
What happens if I don't claim my credit?
Your programmatic quota drops to zero, and all claude -p and Agent SDK usage is billed at standard API full rates — equivalent to having no subscription discount. Claiming requires manual action; Anthropic will not automatically claim credit on your behalf.
Is there a spending cap once overflow billing is enabled?
There is no cap — billing continues at standard API rates indefinitely until you manually set a monthly spending limit. You can use the /usage-credits command to set budget alerts (available on Pro/Max plans).
Are API Key users affected?
Not at all. API Key users are already on pay-as-you-go billing and don't draw from the subscription pool. The new rules only affect programmatic usage authenticated via subscription accounts.
Do unused credits roll over to the next month?
No, credits reset monthly with no accumulation or rollover. Pro users get $20/month, Max 5x gets $100/month, Max 20x gets $200/month — unused credits are not refunded or carried forward.
Was this article helpful?



