Skip to main content

AI Usage > Credits used

Written by Tom Williams

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

ai_credits_used, on per-user day total records only - GitHub publishes no credit breakdown

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

credits, per user and per client

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_username over aggregation_level = USER and breakdown = TOTAL records to find who is consuming the allowance. OpenAI Codex Enterprise repeats a user's credits on one SURFACE record 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.

Did this answer your question?