Skip to content

mochi ai usage local ​

Show AI usage recorded on this machine

Synopsis ​

Shows the tokens every AI request from this machine used, by provider and model, including requests through your own provider keys and local models.

shell
mochi ai usage local [flags]

Options ​

FlagTypeDescription
--by-sourceAlso break usage down by feature (chat, explain, diagnose, …)
-h, --helphelp for local
-o, --outputstringOutput format: text or json (default "text")
--providerstringOnly this provider (e.g. openai, anthropic, ollama, mochi-gateway)
--sincestringOnly usage within this long ago (e.g. 24h, 7d)

Options inherited from parent commands ​

FlagTypeDescription
-L, --log-levelstringLog verbosity level (debug, info, fatal) (default "info")
--syncSync flow cache and workspaces

See also ​