Usage a provider reported for an attempt after the caller's signal ended it.
The attempt ends at once, and a provider stream that had started is read in
the background until it ends (for a bounded number of chunks), where a
provider that bills the request may still report the bill: OpenRouter ends
its stream with an abort chunk carrying the usage line it was reading (the
one a held content-filter decline or a held error was waiting for, or the
one that follows a normal finish). Neither the attempt's outcome nor its
chunks carry this usage.
Usage a provider reported for an attempt after the caller's signal ended it. The attempt ends at once, and a provider stream that had started is read in the background until it ends (for a bounded number of chunks), where a provider that bills the request may still report the bill: OpenRouter ends its stream with an abort chunk carrying the usage line it was reading (the one a held content-filter decline or a held error was waiting for, or the one that follows a normal finish). Neither the attempt's
outcomenor its chunks carry this usage.