@' const fs = require("fs"); const html = ` TokenGuard - AI Cost Intelligence
REAL-TIME AI COST MONITORING

Your AI bill bleeding fast?
With TokenGuard — no more.

One line of code shows you exactly what every AI feature, model, and customer costs — in real time, before the invoice arrives. Works for solo developers and teams alike.

Start monitoring free → See how it works
FREE TIER · NO CREDIT CARD · 5 MIN SETUP · SOLO DEVS & TEAMS
FEATURES

Everything you need to control AI costs

Real-time spend tracking
See exactly what you are spending on AI right now. Live dashboard updates every 30 seconds.
→ Never get a surprise bill again
🎯
Per-feature cost breakdown
Tag your AI calls and see cost breakdowns by feature, endpoint, or user flow.
→ Find the expensive features fast
👥
Per-customer attribution
See which customers are profitable and which are costing you money. Essential for usage-based pricing.
→ Know your actual margins
🔄
Model swap suggestions
TokenGuard spots when a cheaper model would work and shows you the exact code change — one click to copy.
→ Cut costs without touching logic
🔔
Budget alerts
Set a monthly budget and get alerted before you hit it via Slack, Discord, or email.
→ Alerts before it is too late
📦
One-line SDK integration
Wrap your existing OpenAI, Anthropic, or Gemini call with track(). Zero latency impact.
→ Up and running in 5 minutes
HOW IT WORKS

Three steps to full visibility

No proxy servers. No infrastructure changes. Your AI calls go straight through — we just listen.

01
Install the SDK
One npm install. Works with OpenAI, Anthropic, Gemini, and more.
$ npm install @tokenguard/sdk
02
Wrap your AI call
Just add track() around your existing call. Nothing else changes.
const res = await track(
  openai.chat(...),
  { projectKey }
)
03
Watch your dashboard
Real-time cost data appears instantly. Set budgets, get alerts, save money.
✓ email-composer: $0.0088
✓ Budget: 12% of $600
✓ Swap saves $78/mo
PRICING

Simple, honest pricing

A flat fee — not a percentage of your spend. We do not profit from your growth.

Free
$0/mo
Forever free
  • Up to $50/mo tracked spend
  • 1 project
  • 7-day history
  • Basic dashboard
Get started free
Team
$49/mo
Up to 5 seats
  • Everything in Pro
  • 5 team seats
  • Anomaly detection
  • CSV / API export
  • Priority support
Start Team trial

Start monitoring your
AI costs today

Free forever for small projects. No credit card required. Up and running in 5 minutes.

FREE TIER INCLUDES UP TO $50/MO TRACKED SPEND · NO CARD REQUIRED