Dataset: AI Usage
Entity: AI Usage Measurement
Field ID: credits_used
Type: Number
Description: The number of metered AI credits consumed. This is a consumption unit, not a currency amount, and only providers that meter in credits report it.
Source: App
Transformation logic: N/A
App Mapping
GitHub Copilot |
|
Claude Platform | N/A |
Claude Code Telemetry | N/A |
Cursor (coming soon) | N/A |
OpenAI Platform | N/A - OpenAI Platform meters in tokens |
OpenAI Codex Enterprise |
|
Reporting Use Cases
The Credits used field is the metering unit of the providers that meter in credits: GitHub Copilot and OpenAI Codex Enterprise.
Consumption against allowance: Credits are what a Copilot or Codex plan is actually consumed against, so this is the field to chart against an entitlement.
Heaviest consumers: Group by
actor_usernameoveraggregation_level = USERandbreakdown = TOTALrecords to find who is consuming the allowance. OpenAI Codex Enterprise repeats a user's credits on oneSURFACErecord per client, so summing every user record counts them twice.Not money: Credits are a consumption unit. No currency amount is carried in this dataset.
Credits will understate Copilot billing: Copilot web chat and GitHub Mobile consume credits but are excluded from usage metrics, so this figure is a floor rather than a total.
Never compare credits across providers: A Copilot credit and a Codex Enterprise credit are unrelated units. Do not sum or compare them.
Tokens for everyone else: Claude Code and API usage report tokens, not credits. The AI Usage dashboard shows AI Tokens Consumed and AI Token Consumption beside the credit insights, and the AI Developer Leaderboard a Tokens column next to Credits, each adding up the four token counts.
