Skip to content

Usage Tracking

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

At 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.

For automated reporting, query the Analytics 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.

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 and Streaming Events.