API Usage and Token Consumption Dashboard
Track total API requests, estimated input and output token consumption, daily UTC activity, and approximate model spend across all eleven supported providers using existing database records and local run history.
Total API Requests
—
Server 0 · Local 0
Estimated Total Tokens
—
In 0 · Out 0
Estimated Spend (USD)
—
No priced provider runs recorded yet
Active Providers
—
Providers with at least one recorded request
Provider Request and Token Distribution
Compare total API requests and estimated input/output token consumption across all eleven supported providers.
Daily Usage Timeline
UTC day-by-day request volume aggregated from database daily usage rows and browser run timestamps.
/api/demo, /api/proxy/:provider, or direct BYOK tools, each UTC day appears automatically on this timeline.Provider Breakdown Table
Detailed request counts, estimated input and output tokens, approximate USD spend, and share of traffic for every supported provider.
| Provider | API Requests | Input Tokens | Output Tokens | Total Tokens | Est. Cost | Share |
|---|---|---|---|---|---|---|
| Anthropic | 0 | 0 | 0 | 0 | — | 0.0% |
| Cerebras | 0 | 0 | 0 | 0 | — | 0.0% |
| Cloudflare Workers AI | 0 | 0 | 0 | 0 | — | 0.0% |
| Cohere | 0 | 0 | 0 | 0 | — | 0.0% |
| DeepSeek | 0 | 0 | 0 | 0 | — | 0.0% |
| Google AI Studio (Gemini) | 0 | 0 | 0 | 0 | — | 0.0% |
| Groq | 0 | 0 | 0 | 0 | — | 0.0% |
| Mistral | 0 | 0 | 0 | 0 | — | 0.0% |
| OpenAI | 0 | 0 | 0 | 0 | — | 0.0% |
| Perplexity | 0 | 0 | 0 | 0 | — | 0.0% |
| xAI | 0 | 0 | 0 | 0 | — | 0.0% |
Database Storage and Token Estimation Methodology
How request counts and estimated token consumption are calculated without logging prompts or credentials.
Server-side aggregates read directly from the existing database tables (demo_daily_usage and provider_daily_usage) via GET /api/usage. Only anonymous UTC day totals, provider identifiers, and token estimates are recorded—never API keys, prompts, or responses.
Browser-side run history (tg_run_history_v1) captures direct CORS calls and BYOK runs executed in your browser. When a provider returns exact token usage metadata, those counts are used; otherwise, token consumption is estimated deterministically at roughly four characters per token.