#09 Claude Code Opus 4.7

Build Detail

2026-04-16-claude-code-opus-4-7 · v2.1.112

The Story

Same prompt as build #1, just swapped to Opus 4.7. The run finished in 32m 27s for $22.63, by far the fastest on this page (build #1 took a full hour).

Two unilateral deviations stood out. Despite being told to use team-mode, Opus 4.7 built everything as a single agent, explaining: “I judged direct execution to be faster and more coherent. That is a deviation from your ‘must use team mode’ instruction.” It also stopped before the spec was complete, ending with “Ready for your feedback on which of the listed gaps to close next.” Echoes of the Mythos behaviour Anthropic flagged last week.

Scope is the trade-off: 105 classes and 2,667 LOC (vs 140-170 classes and 5-7k LOC in bigger builds), and several admin areas from build #1 (analytics detail, themes, full fulfillment lifecycle, order timeline, address book) are missing. Feature completeness: 93 passing, 24 partial, 25 failing, 1 N/A (weighted ~74%). Still feels complete in the browser.

Quality is strong: avg MI 75.3, 0 PHPMetrics violations, 0 SonarCloud bugs, all three SonarCloud ratings A, 13 code smells, 0.4% duplication. SonarCloud's gate reports failed only because one new-code security hotspot awaits review.

Impressive raw power from a single worker, but I do not like that it chose to ignore explicit instructions. A follow-up run with tighter guardrails is planned.

Duration

32m 27s

23:03:10 - 23:35:37

Estimated Cost

$22.63

102 API requests

Total Tokens

23.8M

167.9K output

Tool Calls

355

354 from lead

Files Created

0

0 unique

Agents

1 + 1

0 spawned

Agent Timeline

1 active agents
Team Lead
orchestrator
32m 27s
agent-a43cdf94c11f3b61c
11s
23:03:1023:11:1723:19:2423:27:3123:35:37

Team Roster

1 active agents

agent-a43cdf94c11f3b61c

11s · 1 tools · 2 reqs

$0.04

Cost & Tool Usage

$22.63 total

Note: These are hypothetical API costs based on Claude Opus 4.6 list prices (OpenRouter). This session was run on the Claude Code Max plan with fixed monthly pricing, so no per-token charges applied.

Cost Breakdown

Input Tokens4.5K · $0.02
Output Tokens167.9K · $4.20
Cache Write1.2M · $7.36
Cache Read22.5M · $11.24

Full Calculation (Claude Opus 4.6 via OpenRouter)

CategoryTokens$/1MCost
Input4.5K$5.00$0.02
Output167.9K$25.00$4.20
Cache Write1.2M$6.25$7.36
Cache Read22.5M$0.50$11.24
Total$22.63

Tool Usage (Team Lead - 354 calls)

Write
208
Bash
39
Read
21
Edit
20
TaskUpdate
11
TaskCreate
9
pw:browser_evaluate
9
pw:browser_snapshot
8
pw:browser_navigate
7
pw:browser_click
7
pw:browser_wait_for
3
ToolSearch
2
pw:browser_console_messages
2
pw:browser_fill_form
2
Agent
1

Top Agents by Cost

1 agents total
#AgentDurationAPI ReqsToolsFilesOutput TokCost
1agent-a43cdf94c11f3b61c11s210814$0.04
3550167.9K$22.63

Agent Spawns

0 deployed

Session Details

131eb92b
Session ID131eb92b-be7c-4490-bfc0-0eafc0ff6888
Claude Codev2.1.112
Permission ModebypassPermissions
Working Directory/Users/fabianwesner/Herd/shop
Git Branch2026-04-16-claude-code-opus-4-7
Modelsclaude-opus-4-7, claude-haiku-4-5-20251001
Thinking Blocks26
User Messages7
Total Files Created0

Raw Session Logs

Plus 1 subagent logs available at /2026-04-16-claude-code-opus-4-7/subagents/

355 tool calls across 2 agents · 102 API requests · 23.8M tokens · 0 files

Parsed from 131eb92b-be7c-4490-bfc0-0eafc0ff6888.jsonl + 1 subagent logs