oz0 replay reprice

Usage and flags for oz0 replay reprice.

For: Operators and developers looking up a command.

A reprice reads every model call the gateway metered in the window (the tenant's own work: comparisons, evals and other jobs the platform runs about the agents are left out) and prices its recorded tokens again, input, output, cache reads and cache writes apart, with no model call. Give exactly one change:

--prices FILE a price sheet: JSON {"<provider>/<model>" or "<model>": {"input_mtok", "output_mtok", "cache_read_mtok", "cache_write_mtok", "per_second"}} in dollars per million tokens --model P/M every call at that model's prices (the tenant's provider record, else the public price list) on the tokens it recorded: same tokens, another price; whether that model would have done the work as well is not measured --cache LAYOUT none: no prompt cache at all, what was read from it and written to it priced as input; longer and stable-prefix: the misses the gateway put down to an expired cache, or to a changed prefix (tools or instructions), read from the cache instead, where the server records why each miss happened

The figures are exact to the micro-dollar for each call, effective and at the list price, per agent, model and team (a team below the works-council threshold folded into "other teams"). Calls without a price for the change, without tokens, or without a recorded miss cause keep their recorded cost on both sides and are counted. The self-check prices each call again at its own model with today's prices: a price that changed since shows there, not as a difference.

No payload is read. Starting one needs governance.write and the content permission, as every replay does.

Usage

oz0 replay reprice (--prices FILE | --model PROVIDER/MODEL | --cache none|longer|stable-prefix) [--since 7d] [flags]

Flags

FlagTypeDefaultDescription
--agentstringonly this agent's jobs
--cachestringa cache layout: none, longer or stable-prefix
--jsonboolprint JSON instead of a table
--modelstring<provider>/<model> whose prices every call is priced at, on its own tokens
--pluginstringonly the jobs of this plugin's agents
--pollduration2swith --wait, how often to look
--pricesstringa price sheet (JSON) to price every call with
--sincestring7dhow far back to read: 7d, 36h, 90m
--tenantstringdefaulttenant
--waitboolwait for the report 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