oz0 compare-savings start

Plan a comparison of AGENT as defined against a variant and start it.

For: Operators and developers looking up a command.

Plan a comparison of AGENT as defined against a variant and start it. The plan says how many runs it makes, what they are expected to cost (the agent's median billed cost per job over 30 days, or --cost-per-run when it has none), and the power to show an equal pass rate. A start whose estimate does not fit --budget, or what is left of the tenant's monthly budget, is refused before anything runs.

Cases are the agent's eval cases (--cases evals, graded by each case's expect) or the inputs of its recent top-level jobs (--cases recent, passed when the job completes; a data subject's job is never a case).

Usage

oz0 compare-savings start AGENT --budget USD [--variant-model M | --variant-tool-loading lazy|eager | --variant-tools F,... | --variant-cache off | --variant-offload on|off|N] [flags]

Flags

FlagTypeDefaultDescription
--baseline-cachestringoff: the baseline's model calls go without the gateway's prompt-cache management
--baseline-modelstringas definedthe baseline runs on this model alone
--baseline-offloadstringthe baseline's large tool results: off (all inline), on, or a threshold in tokens
--baseline-tool-loadingstringas definedthe baseline's tool loading
--baseline-toolsstringsallthe baseline offers only these plugin functions
--budgetfloatwhat the comparison may spend, in dollars (required)
--casesstringevalsevals (the agent's eval cases) or recent (inputs of its jobs that completed in the last 7 days)
--confidencefloat0.95the intervals' confidence
--cost-per-runfloatthe estimate's cost of one run, when the agent has no recent jobs to estimate from
--dry-runboolonly show the plan: the estimate and the power
--jsonboolprint JSON instead of a table
--marginfloat5the non-inferiority margin, in points of pass rate
--max-casesint3210, at most 50with --cases recent, at most this many inputs
--output (-o)stringwith --wait, write the result's JSON export to this file
--pollduration2swith --wait, how often to look
--runsint323, at most 10runs per arm and case
--tenantstringdefaulttenant
--variant-cachestringoff: the variant's model calls go without the gateway's prompt-cache management
--variant-modelstringthe variant runs on this model alone: an alias or <provider>/<model>
--variant-offloadstringthe variant's large tool results: off (all inline), on, or a threshold in tokens; measured on read-only results
--variant-tool-loadingstringthe variant loads its tools eagerly or lazily: eager or lazy
--variant-toolsstringsthe variant offers only these of the agent's plugin functions
--waitboolwait for the result and print it

Inherited flags

FlagTypeDefaultDescription
--contextstring$OZ0_CONTEXT or <config dir>/orchestrator-zero/context.jsonCLI context file written by server init
--log-levelstringinfolog level: debug, info, warn or error

See all oz0 commands and the global flags.

On this page
Copyright © 2026