N8n llm usage ledger
★ 6.6 · n8n · medium · 14 nodes
N8n llm usage ledger is an n8n automation template that tracks token consumption and cost of large language model calls, logging every entry into Google Sheets. Trigger: webhook. Integrations: Google Sheets. Reach for it when you need visibility into how many tokens and dollars your AI requests consume, when multiple projects or teammates share one API key and you want per-user or per-project breakdowns, or when you need to report LLM spending to a client or finance team without compiling rows by hand. An external service or another workflow fires the webhook with call metadata — model name, token counts, cost, project tags — and n8n writes a structured row to the connected Google Sheet. The direction is cost logging and attribution, not sending requests to models or orchestrating agents (use neighbouring catalogue templates for that). Works well for small-to-medium teams wanting budget control over AI usage; not suited for real-time billing systems or multi-currency accounting, as the template contains no calculation logic beyond basic aggregation. This is a tracking tool, not financial advice; budget decisions remain with the user.
- #Google Sheets