Loading...
Loading...
Token Monitor
Track every token, manage budgets, and control AI costs across all your agents and providers in real time.
Capabilities
Granular token usage tracking per agent, model, and provider. Visualize trends and identify cost drivers.
Set monthly spending limits per agent with configurable alert thresholds. Never exceed your AI budget.
Real-time alerts when agents approach budget limits. Multi-channel notifications through Slack, email, and webhooks.
Track cost trends over time. Identify anomalies, forecast future spend, and optimize model selection.
Track usage across OpenAI, Anthropic, Google, Mistral, and custom providers in a unified view.
Every API call logged with input/output tokens, cost, latency, and model version for full transparency.
Getting Started
Add your API keys and DRD automatically starts tracking token usage across all configured providers.
Define monthly spending limits per agent. Configure alert thresholds to get notified before limits are reached.
Use the dashboard to analyze costs, identify optimization opportunities, and keep spending under control.
Developer Integration
import { DRD } from '@drd/sdk';
const drd = new DRD({ token: 'drd_live_sk_...' });
// Set a budget
await drd.tokenMonitor.createBudget({
agentId: 'agent_abc123',
monthlyLimit: 500.00,
alertThreshold: 0.8,
});
// Query usage
const usage = await drd.tokenMonitor.listUsage({
agentId: 'agent_abc123',
limit: 100,
});
console.log('Total cost:', usage.reduce((s, r) => s + r.cost, 0));Set budgets, track costs in real time, and get alerted before limits are reached. Start free.