Block 1 - Get an execution
- Type / Role
- n8n-nodes-base.n8n - n8n
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
LLM Cost Monitor & Usage Tracker for n8n v2: Now it can read multiple types of LLM usages. Better dynamic approach for reading model usage. What This Workflow Does This workflow provides co...
n8n-nodes-base.n8n, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.stickynote, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.stopanderror, n8n-nodes-base.if, n8n-nodes-base.merge
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Amir Safavi-Naini.
Original n8n.io source> v2: Now it can read multiple types of LLM usages. Better dynamic approach for reading model usage.
This workflow provides comprehensive monitoring and cost tracking for all LLM/AI agent usage across your n8n workflows. It extracts detailed token usage data from any workflow execution and calculates precise costs based on current model pricing.
When running LLM nodes in n8n workflows, the token usage and intermediate data are not directly accessible within the same workflow. This monitoring workflow bridges that gap by:
If the workflow enters the error path, it means an undefined model was detected. Simply:
Note: Prices are configured per million tokens. Default includes GPT-4, GPT-3.5, Claude, and other popular models. Add custom models as needed.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | LLM usage tracker & cost monitor with node-level analytics (v2) |
|---|---|
| Complexity | advanced |
| Nodes | 18 |
| Categories | Engineering, Multimodal AI |
| Author | Amir Safavi-Naini |
| Published | 14 Aug 2025 |
Use the JSON export at /data/workflows/7398/7398.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
LLM Cost Monitor & Usage Tracker for n8n v2: Now it can read multiple types of LLM usages. Better dynamic approach for reading model usage. What This Workflow Does This workflow provides co...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, Multimodal AI use case.