Gap Explorer
Find unmatched usage buckets and invoice misalignments between what your code recorded and what your providers billed.
Gap Explorer compares your TokenID-recorded usage against provider billing data to surface reconciliation gaps — calls that appear in one source but not the other, or where costs don't align within the expected time window.
Go to token.audit.id/app/gap-explorer.
How it works
Gap Explorer runs a matching algorithm against your reconciliation data using a ±5 minute time window. Each usage bucket (grouped by provider, model, and time) is assigned one of three statuses:
| Status | Meaning |
|---|---|
| Matched | TokenID usage aligns with provider billing within the time window |
| Partial | A match was found but confidence is below threshold — review recommended |
| Unmatched | No corresponding provider billing record found — flagged for investigation |
Buckets marked flagged are highlighted and counted separately. These are the records most likely to represent billing discrepancies.
Running a match
On first load, Gap Explorer shows an empty state. Click Run matching to generate your first report. Matching typically completes in a few seconds.
After the first run, the page auto-loads on visit. Use Run matching again to refresh with the latest provider billing data.
Filters
| Filter | Options |
|---|---|
| Period | Last 7 days, 30 days, 90 days |
| Provider | All, Anthropic, OpenAI, Grok, Gemini |
| Flagged only | Toggle to show only unmatched/flagged buckets |
Reading the results
The results table shows one row per usage bucket:
- Date — the time bucket (hourly grouping)
- Provider / Model — which provider and model the usage belongs to
- Status — Matched, Partial, or Unmatched
- Confidence — match confidence score (0–1); lower scores warrant review
- Gap (min) — time delta between your recorded call and the provider billing timestamp; values above 5 minutes are highlighted
- Provider cost / Our cost — what the provider billed vs what TokenID recorded; large deltas indicate pricing drift
- Invoice align — whether the bucket falls within an expected invoice period
Rows highlighted in red are flagged gaps — start your investigation here.
Prerequisites
Gap Explorer requires at least one connected provider. Reconciliation data is pulled nightly after you connect a provider, so your first results appear within 24 hours of connecting.