Dashboard Get started

TokenID captures usage via the SDK wrapper automatically. To enable billing reconciliation — comparing what your providers invoiced against what your code actually used — you also need to connect your provider accounts from the dashboard.

Go to token.audit.id/app/connections.

Anthropic

You need an Anthropic Admin API key with read access to usage data.

  1. Go to console.anthropic.comSettings → API Keys.
  2. Create a key with Usage Read scope.
  3. In TokenID, click Add connection → Anthropic and paste the key.

OpenAI

  1. Go to platform.openai.comAPI Keys.
  2. Create a key with Usage Read permissions.
  3. In TokenID, click Add connection → OpenAI and paste the key.

xAI / Grok

  1. Go to console.x.aiAPI Keys.
  2. Create a read-only usage key.
  3. In TokenID, click Add connection → xAI and paste the key.

Google Gemini

Gemini usage is captured automatically whenever you use the JournaledGemini SDK wrapper — there is no separate connection to set up. The wrapper writes every generate_content call to the events ledger with full token counts and cost.

Billing reconciliation against Google invoices is **not yet supported**. Google does not expose a programmatic usage API for the Gemini API tier, and BigQuery billing export is not yet integrated. SDK-recorded spend stands as the source of truth until that integration ships.

Azure OpenAI

Azure OpenAI billing reconciliation pulls daily cost data from the Azure Cost Management API using an Azure AD service principal.

  1. In the Azure portal, go to Microsoft Entra ID → App registrations → New registration. Note the resulting tenant_id and client_id.
  2. On the target subscription, go to Access control (IAM) → Add role assignment and grant the new app the Cost Management Reader role.
  3. In the app registration, go to Certificates & secrets → New client secret. Note the secret value — it is shown only once.
  4. In TokenID, click Add connection → Azure OpenAI and provide tenant_id, client_id, client_secret, and subscription_id.
The Azure Cost Management API returns **cost only** — token counts are not available through the billing API. Per-call token counts come from the [`JournaledAzureOpenAI`](/sdks/azure) SDK wrapper. Both data sources together enable full reconciliation.
Reconciliation runs nightly. After connecting a provider, your first reconciliation report appears within 24 hours.