Case study Part 5 of 6 · the orchestrator and the limits
Opus runs the search
The pipeline in part 4 is prescriptive: the same steps for every question. What if the LLM chose its own steps instead? We gave Opus a toolbox and a page of findings, then let it decide what to run and when to stop. It tied the pipeline, on noticeably different facts, and that points at the next test.
The setup
Each of the 24 questions got a fresh Opus session with one spending cap, $0.75 of Jev. The prompt listed the tools with their costs and speed, and what testing had found about each one. It said these were findings, not rules, and asked Opus to use as few steps as would give a good answer. Answers ran through the same blind scoring as every other arm.
| Tool | Tier | What it does | Cost | Questions used on, of 24 |
|---|---|---|---|---|
| Grep | Code | Exact pattern over titles and text | Free | 24 |
| Read | Code | Prints paragraphs with neighbours | Free | 24 |
| Draft-aware reread | Jev | The second statement, with a draft in the state | $0.02 | 23 |
| BM25 | Code | Keyword search | Free | 22 |
| Full read | Jev | Any statement over every paragraph | $0.23–0.29 | 20 |
| Blend | Code | Combines saved rankings | Free | 19 |
| Facet focus | Jev | A ranking for one part of the question | Varies | 3 |
| Title routing | Jev | Judges each document by its title | $0.01 | 0 |
| Passage growth | Jev | Decides where a passage ends | $0.01 | 0 |
Opus also limited Jev by date often, and the prompt had warned that sources are full of older look-alikes. On 20 of 24 questions it read neighbouring paragraphs itself and never used growth, so it took over a job Jev does in the pipeline.
A tie, on different facts
| Arm | Facts of 148 | Median words |
|---|---|---|
| Pipeline with a second pass, Sonnet writes | 116 | 675 |
| Same evidence, Opus writes | 115 | 560 |
| Opus chooses its own search | 116 | 488 |
Against the Opus-written pipeline, the orchestrator is +0.7 points [−8.8, 9.4], better on 9 questions and worse on 7. That wide interval is the finding, because the two approaches win on different questions. Here is the orchestrator against the Sonnet-written pipeline:
Together they reach 132 of 148 (89%). We haven't written a merged answer yet, so that's a ceiling and not a result. The 16 facts neither found haven't been checked one by one. Some of this difference is ordinary noise, because repeat runs of one design flip 16 to 20% of verdicts. Still, the two differ on 32 facts, against 13 between the pipeline and its own third-pass arm. That hints that diversity is worth more than autonomy, but it doesn't prove it.
Opus's answers also stated as many facts in about 28% fewer words than Sonnet's. All writers had a limit of about 500 words, and only the orchestrator stayed near it, so a strictly enforced limit could change these totals.
What each one costs
| Approach | Cost a question | Basis | Where it goes | Time |
|---|---|---|---|---|
| First stack | $0.10 | Measured | Sonnet, Haiku, some Jev | 14 s |
| Pipeline with second pass | ~$0.40 | Estimate | Adds a $0.23 full read, a $0.02 reread and a second writer | Not timed |
| Opus orchestrator | ~$1.30 | Estimate | ~$0.41 Jev, ~$0.90 Opus with prompt caching | 73 s from first to last tool call, about 17 s of it in tools |
The orchestrator's Jev median is $0.20 of real spend, or about $0.41 with full reads served from cache priced normally. Its Opus cost comes from 22 run transcripts: a median of about 750k input tokens, mostly cache reads, and 9.4k output tokens. That assumes standard cache pricing, and without caching a run would cost about $3.60. The pipeline as scored used the $0.29 reread, so it would be nearer $0.67; the ~$0.40 assumes the $0.02 reread. Opus ran as subagents, so its time isn't API latency, and neither total has been measured end to end. The pipeline is the better default on cost, at about a third of the price. The orchestrator is a candidate for the questions that matter most.
Writing a useful orchestrator prompt
These are impressions from 24 runs, not tested comparisons.
- Give it costs and evidence, not orders. Our prompt said what each tool had been worth and left the choice to Opus. It used different mixes on different questions.
- Give it a working statement to copy. The prompt held the exact reread statement and said which versions had failed, and Opus used the reread on 23 of 24 questions, more than any other Jev step.
- Say when to stop. "Stop when another step would not change the answer" worked. It stopped on its own every time, within the cap.
- Make every call loggable. A small command-line toolbox gave each session a spend cap and a log of every step, time and cost.
- Remember what it can't discover. Opus used what the prompt recommended. This wasn't an independent rediscovery of the second pass.
What fooled us
These matter more than any single number here. All of them would have produced a confident wrong claim.
The winner that wasn't
Over 40 variants on 16 questions flatter the best one: 69 against 52 became 26 against 27 on held-out questions. With a paired SD near 24 points, 16 questions detect gains of about 15 points and 8 detect about 25.
Position beat quality
A two-way judge favored the answer shown second in 32 of 35 verdicts. Score claims one at a time, and rotate order if you must compare.
Two graders, two scales
On the same 192 paragraphs, one grader marked 72 useful and another 52. A comparison that mixed them was thrown out, and 4,128 paragraphs were regraded by one grader.
Silent gaps
One wave returned 4,624 of 4,919 answers with no error, at full billed tokens. A partial wave must be an error. Count what comes back.
A rested burst
"2 s for the corpus" was one rested pass. Sustained back-to-back passes took 7 to 12 s. Quote the rate you can hold.
A lenient measure
On the textbooks, Jev's top 40 looked complete for all 45 questions, because one paragraph from a chapter counted as reaching it. Scored fact by fact on the retailer corpus, the top 40 held 96 of 148.
What scale would change
The corpus here tests messy sources and unseen information. It doesn't test scale. A full read grows in step with the corpus:
| Paragraphs | Full read | At ~600k tokens/s | At the documented 100k tokens/s |
|---|---|---|---|
| 28,167 (measured) | $0.233 | 7–12 s (measured) | about 56 s |
| 280,000 (projected) | about $2.30 | about 90 s | about 9 minutes |
| 1,000,000 (projected) | about $8 | over 5 minutes | about 33 minutes |
The 600k rate came from short passes with hundreds of throttles and has never been held for minutes, so it's the optimistic case. A prefilter probably has to return on a very large corpus. Our evidence suggests it shouldn't be plain keyword search on the question's words. Options to test are Jev on document summaries, BM25 with Sonnet's terms plus a wide per-source reach, or paragraph-level results shared across similar questions. On a textbook corpus, summary routing kept most of what a full read found, but on this corpus title routing didn't help. Summaries haven't been tested here. Paid rate limits could change the time column a lot, and not the dollars. Hosted Nimble takes Jev's request shape at about the same price, but it hasn't been tested on this work.
What would settle it
- Fix the sources. Rebuild tables and transcripts, then rerun the baselines.
- Use fresh questions. 40 or more, frozen before any run.
- Merge the two searches. Run the pipeline and the orchestrator side by side and write one answer. This is the strongest idea we have left.
- Time it live. Measure the recipe's real latency and cost, and push the LLM-alone arm to search harder.
- Grow the corpus. Test a prefilter at ten times this size.
All the numbers and limits are in corpus-search.md. The experiments on this corpus cost about $120 in metered spend, not counting subagent work on a subscription. The corpus text and experiment code stay private, because the text is other people's copyrighted work.
Next: Successes and failures, in sequence: six episodes from this project as sequence diagrams.