01Choose on a measured frontier
Compare candidates on your task dataset across quality, latency, token cost, tool correctness, context, and operational limits. Route simple/low-risk work cheaply and escalate hard or high-value cases.
Compare model configurations on the actual user task. For code review, a useful result may be an accepted actionable finding, not a grammatically polished paragraph. Measure missed important defects, false alarms, time to useful output, and spend across representative languages and repository sizes. Include a deterministic baseline so you know what value the probabilistic component adds.
Cost per success changes the ranking. If configuration A costs 0.02 illustrative units per attempt and succeeds 50% of the time, its cost per successful attempt is 0.04. Configuration B at 0.03 and 90% success yields about 0.033. Include retries, tools, and human correction in the real comparison. A cheaper call can produce a more expensive workflow.
- Model families evolve; isolate provider-specific details
- Cache and shorten context before indiscriminate downgrades
- Budget cost per successful outcome