π₯ Token Estim8r -sub workflow to track AI model token usage and cost with JinaAI
 Save Your Tokens from Evil King Browser > Image Generated with [ideoGener8r](https://ideogener8r.com?utmsource=n8n&utmmedium=te...
Template notes
 Save Your Tokens from Evil King Browser > Image Generated with [ideoGener8r](https://ideogener8r.com?utmsource=n8n&utmmedium=template&utmcampaign=tokenestim8r) n8n workflow template ---
π Estimate token usage and AI model cost from any workflow in n8n
πββοΈ Who is this for? This workflow is ideal for AI engineers, automation specialists, and business analysts who use OpenAI, Anthropic, or other token-based large language models (LLMs) in their n8n workflows and want to track their usage and accuratley estimate associated costs.
Whether you're prototyping workflows or deploying in production, this tool gives you insight into how many tokens you're using and what that translates to in actual dollars.
π What problem is this workflow solving? n8n users running AI-based workflows often struggle to track how many tokens were used per execution and how much those tokens cost. Without visibility into usage, itβs easy to lose track of API spending.
This workflow solves that problem by: - Logging token counts and costs to Google Sheets - Supporting prompt and completion token counts - Providing live pricing (optional, via Jina AI API)
βοΈ What this workflow does This template allows you to analyze the token usage and cost of any workflow in n8n. It uses an Execute Workflow node to call the Token Estim8r utility, which: - Estimates prompt and completion tokens - Retrieves model pricing (either statically or live via Jina API) - Calculates the total cost - Logs the data to a connected Google Sheet with timestamp and model info
π οΈ Setup Instructions 1. Create Google Sheet: Copy and paste the CSV template below into a .csv file and upload to Google Sheets: