totalUsage property

  1. @JsonKey.new(name: 'total_usage')
Usage totalUsage
final

Total token usage across all steps. In single-step mode (aimux's default), equals usage. Provided for AI SDK parity.

Implementation

@JsonKey(name: 'total_usage')
final Usage totalUsage;