Which logs do you use for that?

I would assume those in ~/.claude/projects/**/*.jsonl. They contain full conversation history, including the tool calls that were made, how man tokens were consumed, etc

Claude has a built-in /insights feature for this, but you can replicate it with any other tool that keeps the session logs on disk.