Claude Code headless mode (claude -p) now uses plan credits
Melvin Vivas · X post · 2026-06-16 · Open on X
Topics: AI Dev Tools & Productivity, LLMOps, Deployment & Monitoring · Level: intermediate
Summary
A short billing update: running Claude Code in non-interactive (print/headless) mode with claude -p now draws from your subscription plan credits. It is no longer charged as extra usage. This matters for anyone scripting or automating Claude Code.
Key points
claude -pruns Claude Code non-interactively (print/headless mode), which is useful for scripts and automation.- According to the creator,
claude -pusage now comes out of plan credits rather than additional/extra billing. - Check your plan's usage limits before running heavy automated
claude -pjobs.
Resources mentioned
- Claude Code · tool · code.claude.com · paid · recommended by both Bashiri Smith & Melvin Vivas
Build agents and pipelines from the terminal; the guide's main agentic coding tool.
Also in: Create Claude Code Plugins with /plugin-authoring (Melvin Vivas on X · notes), Claude Code mods: customize behavior and UI with plugins (Melvin Vivas on X · notes), AI Engineer Roadmap Overview: From ML Foundations to RAG, Agents & Ops (Bashiri Smith on Facebook · notes), SkillsBento: Free Plugin Marketplace for Codex and Claude Code (Melvin Vivas on X · notes) and 101 more
Try this
- If you automate with `claude -p`, keep an eye on how it uses up your plan credits.
More in AI Dev Tools & Productivity
- Grok Imagine Video 1.5: xAI's New Image-to-Video Model
- Request for Claude Code to support AGENTS.md
- Factory 2.0: From Coding Agents to Software Factories
- Creator refreshed his website quickly using Cursor
- Automated daily 'AI News Today' page built with Cursor automations
- Cursor Cloud Agents: guardrailed PR auto-approval without a human