ActivityRow
NAME
OpenRouter::API::Result::ActivityRow - One daily activity / spending row
SYNOPSIS
# Requires a management key ā see OpenRouter::API::Client.
my @rows = $or.get-activity;
for @rows -> $r {
printf "%s %-32s %6d reqs \$%7.4f %d in / %d out\n",
$r.date, $r.model, $r.requests, $r.cost,
$r.prompt-tokens, $r.completion-tokens;
}
DESCRIPTION
Wraps one entry from GET /activity. Each row aggregates a single
UTC date Ć model Ć endpoint Ć provider. Use
cost-per-1k-tokens when comparing across rows ā raw cost is hard
to reason about without dividing by volume.