Skip to main content
Every request — Playground or API — is metered the moment it completes. You can break that data down in the dashboard or pull it out via API for your own BI.

Where to look

Settings → Usage has four views: All charts respect the date range picker (last 24h, 7d, 30d, custom).

Drilling into a single request

Click any row in Recent requests to see:
  • Full timing: gateway in/out, provider in/out, total
  • Token counts (prompt_tokens, completion_tokens, total_tokens)
  • Credits used
  • Whether a fallback fired and which model actually served the call
  • Request ID — paste this into a support ticket and we find the trace instantly
Prompts and outputs are not stored on API requests by default. Playground calls keep history per retention rules.

Per-request cost in the response

Every API response includes:
Streaming responses also emit a final SSE chunk:
So you can attribute cost in your own logs without polling Usage.

Exporting

CSV export (Settings → Usage → top-right): pick a date range, choose grouping, download. Columns include timestamp, model, api_key_id, prompt_tokens, completion_tokens, credits_used, request_id, latency_ms, fallback_depth. API: GET /v1/usage?start=...&end=...&group_by=model returns the same data as JSON. Useful for nightly ingestion into your warehouse.

Invoices

Settings → BillingHistory lists every invoice — subscription renewals and topups. Each row links to:
  • A PDF invoice (UK VAT applied where required)
  • The Stripe receipt
  • The exact credit pack delivered
Invoices are emailed to the billing contact on the workspace. Update it in Settings → Workspace → Billing contact.

Reconciling with Stripe

Each Infery invoice references a Stripe pi_... (payment intent) and in_... (invoice) id. If you reconcile via Stripe export, match on metadata.workspace_id and metadata.infery_invoice_id — both are set on every charge.

Anomaly alerts

Set in Settings → Workspace → Budget alerts: get an email when daily spend exceeds your normal range by more than X%. Catches runaway loops and leaked keys before the bill does. See Budget alerts.