You're adding AI to your product — but do you know what each user consumes? Track per-user token usage, calculate costs, and enforce spending limits. One SDK. Every provider.
For SaaS teams and indie hackers shipping AI features. No spam.
import { UsageTracker } from "@trackusage/sdk";
const tracker = new UsageTracker({
apiKey: "tu_live_abc...",
});
// Track what each user consumes
await tracker.track({
endUserId: "user_42",
provider: "openai",
model: "gpt-4o",
inputTokens: 1024,
outputTokens: 512,
});Track your users' OpenAI, Anthropic, and Google usage from one dashboard.
See which users are driving your AI bill. Break down by user, org, or model.
Cap each user's token spend daily, weekly, or monthly. Block overages automatically.
Drop our SDK into your app, call track() after AI completions, done.
Get early access before launch and lock in founder pricing.