HomeProductsLLM Usage + Billing Monitor
Live · OpenAI · Groq · Email + Telegram · Daily
DevOps & Infrastructure
🧠

LLM Usage
+ Billing
Monitor

Running AI workloads without daily cost visibility is risky. This workflow pulls OpenAI usage data and Groq token counts every day — breaking down spend by model, product and date — delivered to email and Telegram.

🧠 OpenAI API⚡ Groq API📧 Email Report✈ Telegram⏰ Daily⚙ n8n
What It Does

Built for production. Running right now.

🧠

OpenAI Cost by Model

Breaks down your OpenAI spend by model — GPT-4o, GPT-4o mini, Whisper, DALL·E — so you know exactly what's driving costs.

Groq Token Usage

Pulls Groq token consumption per model — Llama variants — giving you a complete picture of your AI infrastructure spend.

📋

20-Day Rolling Window

Reports on the last 20 days of usage — long enough to see trends and detect runaway consumption from a single workflow.

📧

HTML Email Report

Full cost breakdown emailed as a formatted HTML table — by model, by product category and total spend with credit balance.

Telegram Summary

Concise one-line summary to Telegram: total spend, tokens used, remaining credit balance — at a glance every morning.

🔒

Credit Balance Alert

Shows your remaining OpenAI credit balance in every report — so you never hit zero mid-workflow unexpectedly.

Simple input.
Automated output.

01

Scheduled Trigger Fires

Daily cron fires. Date range set to last 20 days automatically.

02

OpenAI Usage API Queried

Fetches usage data and credit grants from OpenAI dashboard API — broken down by model and product category.

03

Groq Usage Fetched

Groq API queried for token consumption per model for the same period.

04

Aggregated + Formatted

JavaScript aggregates costs by model and product. Builds HTML table for email and summary for Telegram.

05

Email + Telegram Delivered

HTML report emailed. Telegram summary sent. You have full AI cost visibility before your first workflow runs.

Tech Stack

🧠
OpenAI Usage APICost and token data by model and product category
Source
Groq APIToken consumption data per Llama model
Source
📧
Email (Gmail)Full HTML cost report with tables and balance
Output
TelegramOne-line daily summary for quick review
Output
n8nScheduled pipeline — self-hosted on AWS Mumbai
Core
20Day rolling window
BothOpenAI + Groq covered
Model-levelCost breakdown
DailyAutomated delivery
Who It's For

Built for real businesses with real problems.

🏢

AI-First Businesses

If you run AI workflows in production, daily cost visibility is essential — not a nice-to-have. This makes it automatic.

👔

DevOps & AI Platform Teams

Add LLM cost to your daily infrastructure digest — model-level breakdown lets you optimise routing and reduce costs.

👑

Founders Building AI Products

Know your AI bill trajectory every morning. Catch the workflow that's calling GPT-4o when GPT-4o mini would do the job.

Know your AI bill
every morning.

We'll connect this to your OpenAI and Groq accounts and configure daily cost reports delivered to your email and Telegram.

Book an Appointment
// AI-powered booking · No forms · Instant confirmation