Documentation
Getting Started
Install RevenueTrack and send your first LLM usage events in minutes.
Getting Started
RevenueTrack captures LLM usage metadata (tokens, latency, cost) across providers so your team can see spending in one dashboard.
1) Create a project
Sign in to the dashboard and create a project to generate an API key.
2) Set your API key
export REVENUETRACK_API_KEY="rt_your_key_here"
3) Track your first request
Use the SDK or call the tracking API directly. For example, with the TypeScript SDK:
import { init } from "@revenuetrack/core";
import { track } from "@revenuetrack/ai";
import { openai } from "@ai-sdk/openai";
init();
const model = track(openai("gpt-4o"));
4) View usage analytics
Open the RevenueTrack dashboard to see token usage, cost breakdowns, and latency charts by model, user, or feature.