← Claude Code Hub
✦ Tip #098 Jun 10, 2026

Your claude -p scripts stop eating your Claude Code limits: they finally get their own credit

From June 15, your cron jobs and CI stop spending from the same limits you code with. They get their own budget, but there's one detail most people will miss.

Two separate pools in Claude Code: on the left interactive use (terminal, IDE, web, mobile) with your usual limits untouched; on the right the monthly Agent SDK credit for claude -p, SDK, CI and cron, with its own dollar budget, new from June 15

TL;DR Starting June 15, 2026, what claude -p and the Agent SDK spend on subscription plans comes out of a separate monthly Agent SDK credit, not your interactive limits. Your cron jobs, CI and scripts stop eating the quota you need for live coding. But it's opt-in: you claim it once from your account. It expires monthly and doesn't roll over.

You set up some automation with claude -p, drop it in a cron job or CI, and it spends all night. Until now it all came out of one pot: you'd sit down to actually code and find the limit drained by a script that ran at 3am. That split changes on June 15.

What changes on June 15

From that date, programmatic and interactive usage stop competing. Two pots:

BEFORE                         FROM JUNE 15

one shared usage pot           interactive pot        Agent SDK credit
coding + claude -p             terminal, IDE,         claude -p, SDK,
compete for the limit          web, mobile            CI, cron, scripts
                               (your usual limits,    (its own budget
                                untouched)             in dollars)

The docs put it the same way across pages: "a monthly Agent SDK credit, separate from your interactive usage limits."

How much credit your plan gives you

The credit is a dollar amount, and it varies by plan:

Plan Monthly Agent SDK credit
Pro $20
Max 5x $100
Max 20x $200
Team (Standard) $20
Team (Premium) $100
Enterprise $20 to $200 depending on structure

It's spent at standard API rates, so CI that runs on every PR or a runaway /loop drains it in days, not weeks. Cap actions and spend per call with --max-turns and --max-budget-usd.

What's covered and what isn't

Comes out of the Agent SDK credit:

  • claude -p (headless mode): scripts, cron, build hooks.
  • The Agent SDK in your own projects (Python or TypeScript).
  • GitHub Actions (the @claude PR-review action runs on the SDK).
  • Third-party apps authenticated through the Agent SDK.

Still on your normal limits (nothing changes):

  • Interactive Claude Code in the terminal or IDE.
  • Conversations on web, desktop and mobile.
  • Claude Cowork.

You have to claim it (and it expires monthly)

It's a one-time opt-in: you claim the credit from your Claude account once and it's active. It doesn't switch on by itself, so if you never claim it your programmatic usage stays exactly as it is today. The credit doesn't roll over month to month: whatever you don't spend is gone, and you start fresh next month. And it's per individual account: on a team it can't be shared or pooled across teammates.

What happens when it runs out

It comes down to one setting of yours:

  • With usage credits enabled: extra Agent SDK usage flows on at standard API rates. Cap it monthly with /usage-credits so it can't run away.
  • Without usage credits: Agent SDK requests stop until your credit refreshes next month.

So by default your automation halts instead of handing you a surprise bill. That's the safety net that was missing for leaving claude -p running unattended.

Where it fits

This is the billing model, not how you use it. The pieces around it:

Official docs: Run Claude Code programmatically · Manage costs · Use the Agent SDK with your plan

Requirements

A subscription plan (Pro, Max, Team or Enterprise). The change takes effect June 15, 2026; the credit must be claimed once from your Claude account.

Free guide

51 tips to master Claude Code.

One page per tip. Five chapters. What I actually use daily in production — no theory, no fluff.

  • I. Getting started 10 tips
  • II. Awareness 3 tips
  • III. Mastery 22 tips
  • IV. Autonomy 10 tips
  • V. Comparison 6 tips
Are you a professional Web developer?

You'll receive the guide by email · You join the Gravitas newsletter · Unsubscribe anytime

of 51
#

Wmedia · 51 Tips
Free guide · 51 tips · 5 chapters

51 tips to master Claude Code.

Are you a professional Web developer? · Unsubscribe anytime