# Usage Tracking

Source: https://staging-docs.aiand.com/billing/usage/

Usage data is available in two places: the **console dashboards** (human-friendly) and the **Analytics API** (programmatic).

## Console dashboards

At [console.aiand.com](https://console.aiand.com), the dashboard shows:

- Current credit balance.
- Spend over the last 24 hours, 7 days, and 30 days.
- Top models by request count and by cost.
- Recent requests with status, latency, and cost.

## Analytics API

For automated reporting, query the [Analytics](/analytics/metrics/) endpoints:

- `GET /analytics/metrics` — time-series of requests, tokens, and cost.
- `GET /analytics/summary` — aggregated totals over a range.
- `GET /logs` — individual request rows with cursor pagination.

All three support `range=1h|24h|7days|30days|3months`.

## Per-request cost

Send `X-Aiand-Metrics: true` with a request to receive `X-Cost` and `X-Cost-Currency` headers carrying the exact cost of that request in your billing currency. Streaming responses emit the same values in the final trailer event. See [Response Headers](/reference/response-headers/) and [Streaming Events](/reference/streaming-events/).

<Aside type="note">
  The analytics API is rate-limited and cached for 120 seconds — fine for dashboards, not suitable for sub-second polling.
</Aside>
