Daily Costs
30 daysToday's Hourly Spend
LiveModel Breakdown
Provider Distribution
Cost Forecast
Stable| Time | Provider | Model | Input | Output | Cost | Latency | Status | Cache |
|---|
Calculate Cost
Estimated Cost
| Model | Provider | Avg Cost/Call | Avg Latency | Total Calls | Total Tokens | Success Rate |
|---|
Spending Limits
Notifications
How Alerts Work
Triggers when daily spend reaches the limit. Resets at midnight.
Triggers when monthly spend reaches the limit. Resets on the 1st.
Warning alert when spend reaches 80% of your set limit.
Auto-alerts when a single call costs 3x more than the model average.
AI-powered suggestions to reduce your LLM spending
Current pricing per 1M tokens for all supported models
Start free and upgrade when you grow. Cancel anytime.
Integrate LLM Cost Tracker into your application
1. Register & Get Token
curl -X POST http://localhost:8000/api/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "you@company.com", "password": "secret123", "full_name": "Your Name"}'
2. Login
curl -X POST http://localhost:8000/api/auth/login \ -d "username=you@company.com&password=secret123"
3. Track API Calls
curl -X POST http://localhost:8000/api/track \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"provider": "openai",
"model": "gpt-4o",
"input_tokens": 150,
"output_tokens": 50,
"latency_ms": 1200,
"status": "success",
"project": "my-app"
}'
Python SDK Example
import httpx
class LLMTracker:
def __init__(self, base_url, token):
self.base_url = base_url
self.headers = {"Authorization": f"Bearer {token}"}
def track(self, provider, model, input_tokens,
output_tokens, latency_ms, status="success"):
return httpx.post(
f"{self.base_url}/api/track",
json={
"provider": provider,
"model": model,
"input_tokens": input_tokens,
"output_tokens": output_tokens,
"latency_ms": latency_ms,
"status": status,
},
headers=self.headers,
)
# Usage
tracker = LLMTracker("http://localhost:8000", "your-token")
tracker.track("openai", "gpt-4o", 150, 50, 1200)
All Endpoints
Profile
Quick Start Guide
Register with your email to get started
Login and copy your bearer token
Send POST requests to /api/track after each LLM call
Watch your spending in real-time on the overview page