Hacker News new | ask | show | jobs
by SwellJoe 37 days ago
Pretty sure they all do.

$ claude -h

Usage: claude [options] [command] [prompt]

Claude Code - starts an interactive session by default, use -p/--print for non-interactive output

$ gemini -h

Usage: gemini [options] [command]

Gemini CLI - Defaults to interactive mode. Use -p/--prompt for non-interactive (headless) mode.

$ copilot -h

Usage: copilot [options] [command]

GitHub Copilot CLI - An AI-powered coding assistant.

Start an interactive session to chat with Copilot, or use -p/--prompt for non-interactive scripting.

1 comments

Anthropic has made a recent change that Claude Code will only bill extra usage for the print / non-interactive mode:

> Starting June 15, 2026, Claude Agent SDK and claude -p usage no longer counts toward your Claude plan’s usage limits. Your subscription usage limits stay the same and stay reserved for interactive use of Claude Code, Claude Cowork, and Claude.

What does "no longer counts" mean here? Is it going to be free on automated runs? Is it going to be banned entirely on sub and will work with credits only?
Counted separately, and you get an included amount of tokens equal to the cost of your subscription.

https://support.claude.com/en/articles/15036540-use-the-clau...

Billing is a separate issue from whether automation is explicitly supported.
Not in this context, obviously "Claude" support automation as it's also available since always via API, it's obvious poster was talking about subsidized usage.