npm.io
0.1.1 • Published yesterday

n8n-nodes-ai-cost-guard

Licence
MIT
Version
0.1.1
Deps
0
Size
31 kB
Vulns
0
Weekly
0

n8n-nodes-ai-cost-guard

AI Cost Guard is a small n8n community node for estimating LLM token costs, checking run/month budgets, and stopping risky AI workflows before they scale.

Problem

AI workflows can become expensive when prompts grow, tools retry, or a workflow runs many times per month. n8n users need a simple budget guard inside the workflow, not only a dashboard after the bill arrives.

Solution

The node reads workflow or execution JSON, detects model and token usage when available, estimates missing token usage from text length, and returns:

  • input, output, and total token estimate;
  • cost per run;
  • projected monthly cost;
  • run budget and monthly budget status;
  • guardrail recommendations;
  • optional hard failure when a run exceeds budget.

Access

Free Preview returns the core budget decision and limited recommendations.

Full Licensed Report returns the full extraction details, all recommendations, and license metadata. Recommended price: 19 EUR/month. Buy or recover a license from:

https://app.nexus-engine.fr/plugin-funnel?package=n8n-nodes-ai-cost-guard

Safety

Do not paste real secrets, API keys, private customer data, or confidential prompts.

Pricing is an estimate. Model pricing changes, provider billing rules differ, and you should override prices when accuracy matters.

This package does not guarantee lower costs, revenue, security, marketplace approval, or provider billing accuracy.

Development

npm install
npm run build
npm run lint

Keywords