"A plugin should cut the fixed cost" turned out to be wrong
In the previous measurement, a zero-context review run as a separate process cost about 15.9 wan tokens per reviewer (1 wan is a unit of ten thousand tokens; I keep the logged figures as they are). I had expected that in the real plugin form, where reviewers run as subagents inside one session, the fixed cost would be compressed. I measured it to check. Setup Installed the plugin (egm@egm v0.1.1)…
The earlier assertion that a plugin would reduce the fixed cost associated with reviewing content proved inaccurate. In an experiment, the cost of running a review as a separate process was found to be approximately 15.9 wan tokens per reviewer. However, when the plugin was implemented, allowing reviewers to function as subagents within a single session, the fixed cost remained largely unchanged at about 8.5 times the drafting cost, equating to roughly 13 wan tokens per reviewer.
This outcome suggests that even when reviewers operate as subagents, they still reload nearly the entire context, similar to the separate-process measurement. The initial expectation that the plugin would compress the fixed cost was not supported by the findings. The experiment utilized a brief of about 9 KB in length and involved six reviewers, with the parent component handling synthesis.
Despite the plugin's implementation, reviewers encountered permission issues in non-interactive mode, resulting in incomplete findings. Regular use would necessitate addressing these permission settings. It is important to note that this single measurement, performed under less-than-ideal conditions, may yield different results in a fully completed run.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to