API usage
Live + month-to-date stats for the two metered providers we use.
LinkdAPI (credits)
Live balance polled from /credits/tier/k/ every 30 s.
| Field | Meaning |
|---|---|
| Balance | Credits remaining (1 credit = $0.01) |
| Tier | Your subscription tier (Testing, Hobby, ...) — determines rate limit |
| Rate limit | Max requests/minute. The in-app limiter targets 90% of this to stay safe |
| This month | Credits + $ consumed since the 1st (local accounting) |
| Next tier in N | How many credits to top up to reach the next tier (higher rate limit) |
Claude (tokens)
No live balance — Anthropic's standard API doesn't expose one. We track local consumption.
| Field | Meaning |
|---|---|
| Tokens | Total input + output tokens since the 1st |
| $ this month | Computed from Haiku 4.5 rates ($1/M input, $5/M output) |
Per-call logging
Every linkdapi + Claude call writes a row to api_usage_log with the endpoint name, units, cost, and a JSON meta field (model, tokens breakdown). Failed calls are NOT logged.
Why colors change
The balance bar is green above 70 credits, amber 30-70, red below 30. Hint to top up before runs start failing.