Skip to content

gerald stats

gerald stats [--port <PORT>] [--json]
Option Default
--port <PORT> 8080 Port of the model
--json Print one snapshot as JSON and exit
  • Now polls the running model each second: tokens per second, requests by mode, busy and failed requests, and request and first-token times. These reset when serve restarts.
  • Fills reads Gerald’s usage ledger: methods written and left, time, test time and tokens, for each fill from an agent tool, the hook or a terminal.
Key
t Switch between the last 24 hours, 7 days and all time
p Pause
q, Esc, Ctrl-C Quit

These are estimates, at about four bytes per token:

  • Saved: the size of the methods Gerald wrote and kept, which the agent did not have to write.
  • Reply: what the agent read back from Gerald.
  • Net: the difference. It can be negative, and the screen shows it when it is.

Gerald cannot see your agent’s bill, so the screen shows no prices.

usage.jsonl in the state directory holds counts, times and file names, never source. Past 5 MB it moves aside to usage.jsonl.1.