AIToday
Large Language ModelsAI Business & IndustryZenn AI/MLPublished: Oct 11, 2026, 10:00 JST

Real claude -p cost: $0.27〜0.47 before any documents

Real claude -p cost: $0.27〜0.47 before any documents

On 2026年9月25日 the company reviewed cost-tracker.json and found it only logged one morning digest using a fixed "0.02" dollar value, so the guard that warns at $160 and stops at $200 had never used actual spend.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

The company's first lesson came from content, not volume. When its CLAUDE.md passed 1,000 lines, the rules contradicted each other and the AI began acting against instructions, so the main file was kept under 200 lines and details split into .claude/agents/. Its conclusion is that fitting inside a 1M-token context and being used correctly are separate questions: if old and new decisions both sit in the context, the AI can follow either.

That is why its first job for whole-document reading is checking for contradictions, not answering questions. Concrete tasks include sweeping the decision log, rules, and department STATE files for conflicts, auditing whether descriptions of shut-down businesses still linger in other documents, and listing gaps between the quarterly roadmap and actual progress—work where you cannot know in advance which file to open. What it never delegates is the decision of which document prevails; the CEO decides, and one line goes into the decision log.

The wrapper it substitutes for bare claude -p adds --output-format json so each response carries total_cost_usd, pipes it into record-cost.py to accumulate in cost-tracker.json, and sets --max-budget-usd 3 as a per-run cap. It warns against --bare, which does not read authentication and fails unattended runs. Prompts pass file paths rather than document contents, and the most effective habit was not the new feature but measuring one call before deciding to adopt.

FAQ
Why did the budget guard never trigger?
It was not reading actual spend. The tracker recorded only one morning digest, and its value was the fixed "0.02" dollar figure written into the script.
What makes a single AI call cost $0.27〜0.47 when nothing is attached?
Most of it is Claude Code's fixed overhead: about 41,000 cache-creation tokens. The company's own files (CLAUDE.md, agent definitions, skills) were only about 5,800 tokens.
Which jobs does the company let read everything?
Only ones run monthly or weekly by hand—cross-checking the decision log, rules, and department STATE files for contradictions, and auditing retired businesses. Daily automatic jobs get file paths instead.

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleByte Transformers beat subword models as scale grows