Is there an easier way to track token usage in N8N?

It’s surprising to me that while you can see the token usage in logs, there’s no straightforward way to track it, no built-in node or simple option, without resorting to complex setups and calling other workflows. I have a client who wants a token tracker, and I’m genuinely surprised by how difficult it is to build one.

Did anyone here find a easy solution or is there any community node that I can add to solve this issue?

1 Like

I spent a lot of time on Discord asking about this and it turns out there is no easy way. It’s interesting because the API calls always list token usage if the API you are calling supports it (which tends to be true), but getting that data is hard, especially if it’s a toll node attached to an AI agent.

hopefully someone here has a solution, but I suggest you make a feature request here: