How to get insight in usage within a task/session?

Is there a way to see how much token a task or the whole session has used up? A task is 1 chat message and session is the whole history? Right now it’s very vague how the usage is. More transparency is needed.