TokenSense for n8n
TokenSense is an n8n community node for tracking AI costs per workflow, step, and execution. n8n Cloud availability depends on verification status — see install paths below.
Install matrix
| Platform | Status | Install method |
|---|---|---|
| n8n Cloud | Pending verification | Join waitlist |
| Self-hosted n8n | ✓ Available | Install via Community Nodes |
What's included
TokenSense AI
General-purpose node with 5 resource types: Chat, Image, Embedding, Audio, Model. Supports native Anthropic and Gemini APIs.
TokenSense Chat Model
AI Agent sub-node for chat completions. Drop it into any AI Agent workflow as the language model.
TokenSense AI Tool
Multi-agent orchestration node. Use it when an AI Agent needs to call another AI model as a tool.
Why TokenSense vs other AI gateways on n8n
| Feature | TokenSense | OpenRouter | Vercel AI Gateway | Cloudflare AI Gateway |
|---|---|---|---|---|
| Per-workflow attribution | ✓ Automatic | — | — | — |
| Per-step attribution | ✓ Automatic | — | — | — |
| Budget enforcement | ✓ Per-key, per-project | Account-level only | — | — |
| Native Anthropic/Gemini APIs | ✓ | Translated only | — | ✓ |
Set up TokenSense for n8n →
Install and configure the node.
View the reference →
Full operation and parameter docs.