Connect a provider
Add your AI provider credentials so TokenID can pull billing data for reconciliation.
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.
- Go to console.anthropic.com → Settings → API Keys.
- Create a key with Usage Read scope.
- In TokenID, click Add connection → Anthropic and paste the key.
OpenAI
- Go to platform.openai.com → API Keys.
- Create a key with Usage Read permissions.
- In TokenID, click Add connection → OpenAI and paste the key.
xAI / Grok
- Go to console.x.ai → API Keys.
- Create a read-only usage key.
- In TokenID, click Add connection → xAI and paste the key.
Google Gemini
Gemini billing is pulled via a Google Cloud service account with billing export access.
- In Google Cloud Console, create a service account with Billing Account Viewer role.
- Export billing data to BigQuery (Google Cloud → Billing → Billing export).
- In TokenID, click Add connection → Gemini, upload the service account JSON, and enter your BigQuery dataset details.
Reconciliation runs nightly. After connecting a provider, your first reconciliation report appears within 24 hours.