⚒️ Track LLM costs and usage across OpenAI, Anthropic, Google and more

⚡ 76 views · ⚒️ Engineering

Description

Installation Steps

  1. Go to Settings → n8n API and create an API key
  2. Add it as credential for the Get Execution Data node
  3. Review model mappings in Standardize Names node
  4. Review pricing in Model Prices node

To Monitor a Workflow

  1. Add Execute Workflow node at the end of your target workflow
  2. Select this monitoring workflow
  3. Turn OFF “Wait For Sub-Workflow Completion”
  4. Pass { "executionId": "{{ $execution.id }}" } as input

Prerequisites

Enable “Return Intermediate Steps” in your AI Agent settings for best results.

Supported Providers

OpenAI · Anthropic · Google · DeepSeek · Meta · Mistral · xAI · Cohere · Alibaba Qwen · Moonshot Kimi

120+ Model Variations Mapped

Includes all versioned variants (e.g., gpt-4o-2024-08-06 → gpt-4o)

Prices sourced from official provider pages (March 2026)

Output Data

Per LLM Call

Summary Statistics

💡 You can do anything with this data!

🔗 Nodes Used

n8n, Execute Workflow Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup