outputTokensByModality

A breakdown of output token usage by modality.


public final Usage.Builder outputTokensByModality(JsonField<List<Usage.OutputTokensByModality>> outputTokensByModality)

Sets Builder.outputTokensByModality to an arbitrary JSON value.

You should usually call Builder.outputTokensByModality with a well-typed List<OutputTokensByModality> value instead. This method is primarily for setting the field to an undocumented or not yet supported value.