Credits
NAME
OpenRouter::API::Result::Credits - Current credit balance
SYNOPSIS
my $c = $or.get-credits;
say "purchased: \${$c.total-credits}";
say "spent: \${$c.total-usage}";
say "remaining: \${$c.remaining}";
DESCRIPTION
Wraps GET /credits. The upstream shape is just
{ total_credits, total_usage }; the .remaining helper is a
convenience that subtracts them (clamped at zero ā OR doesn't
underflow to negative, but the wrapper is defensive).