Back to Templates
What it does
Captures token usage and cost from your AI Agent/LLM. Logs model, tokens, cost, tool use, and conversation I/O to Google Sheets for simple observability and billing.
Perfect for
Developers adding usage monitoring to AI agents.
Teams needing cost transparency in prototypes.
How it works
How to use
SELF-HOSTED N8N ONLY - the Langchain Code node is only available in the self-hosted version of n8n. It is not available in n8n cloud.
Requirements
Self-hosted version of n8n
If you have any questions in running the workflow, see the attached video: https://youtu.be/JSulRS128MA