Skip to main content
Display a cost summary from the gateway’s request log.

Usage

Options

If both --week and --month are omitted, the period is today. If both are passed, --month wins.

Prerequisites

Cost tracking must be enabled in voicegw.yaml:
If it isn’t, the command prints a warning and exits 0.

Output

  • A header with the period and, if passed, the project filter.
  • Total in USD.
  • A By Provider table (cost, request count).
  • A By Model table (cost, request count).
  • A footer line naming the pricing source in effect for each modality (e.g. LLM: voice-prices@0.1.0), and a reminder to run voicegw reconcile to verify against a provider invoice.
If nothing has been recorded, it prints “No requests recorded yet.”

Examples

Exit codes

voicegw reconcile | voicegw logs | voicegw export-costs | Projects