With the release of the new Google-GenAI library, it would be great if we could capture thinkingTokens in the Usage Interface.
Its supported in the gen-ai java library here
specifically here:
/** Output only. Number of tokens present in thoughts output. */
@JsonProperty("thoughtsTokenCount")
public abstract Optional<Integer> thoughtsTokenCount();