Local CSV analyzer

Copilot Usage CSV Analyzer

Paste or upload a Copilot usage CSV and analyze it locally in the browser. Group usage by user, model, and date, estimate premium requests or AI credits, and export a team budget worksheet.

最后更新: 2026年7月1日

功能对比

CSV fieldAccepted namesUsed for
Useruser, username, login, actor, emailTeam member grouping and overage review.
Modelmodel, model_name, skuModel-level AI credit or premium request analysis.
Datedate, day, created_at, timestampDaily burn-down and migration windows.
Premium requestspremium_requests, requests, request_countLegacy request-style tracking.
AI creditsai_credits, credits, credit_usageUsage-based budget tracking.
Costcost, usd, amountFallback when exports include dollars but not credits.

Local Analyzer

Use the tool below to paste or upload CSV. Parsing happens in the browser session; the page does not send the file to a server. Last updated July 1, 2026; GitHub billing exports and field names can change.

What The Analyzer Reports

The analyzer groups rows by user, model, and date, then estimates total premium requests, AI credits, daily burn, and overage risk against a team allowance.

  • User summary: who is consuming the most premium requests or credits.
  • Model summary: which models drive the budget.
  • Date summary: burn spikes and billing-cycle risk.
  • Budget worksheet: allowance, used credits, remaining credits, projected overage risk.

Premium Requests To AI Credits

Premium requests and AI credits are not always the same billing unit. Use request counts to understand behavior and AI credits or cost fields to estimate budget impact.

If ai_credits exists: use sum(ai_credits)
Else if cost exists: estimate credits = cost_usd * 100
Else: track premium_requests as a legacy usage signal

Privacy Statement

The CSV parser is client-side React state. Avoid pasting secrets, tokens, or private customer data into any CSV audit workflow, and keep official billing exports in approved storage.

  • No upload endpoint is used by this page.
  • File input is read with the browser FileReader API.
  • Results disappear when the page is refreshed unless copied elsewhere.
  • Verify final billing numbers inside GitHub billing settings.
Rows parsed4
Premium requests94
AI credits437
Remaining allowance1,463

Projected monthly usage may exceed allowance.

Detected fields: user user, model model, date date, requests premium_requests, credits ai_credits.

Projected 30-day credits from parsed daily average: 6,555. This is a planning estimate, not an official GitHub bill.

Top users by parsed credits
UserRequestsAI creditsRows
alice402422
bob91401
carol45551
Top models by parsed credits
ModelRequestsAI creditsRows
gpt-5-codex402422
claude-sonnet-4.591401
gpt-5-mini45551

常见问题

Does this Copilot usage CSV analyzer upload my file?

No. The analyzer reads uploaded or pasted CSV text in the browser and stores results in local component state only.

What fields does the analyzer need?

It works best with user, model, date, premium request, AI credit, or cost fields. It also accepts common variants such as username, actor, timestamp, credits, or usd.

Can this replace GitHub billing?

No. Use it for audit and planning, then verify official usage, budgets, and invoices in GitHub billing.

How do I estimate overage risk?

Enter a team monthly credit allowance. The analyzer compares parsed AI credits or estimated credits against that allowance and projects risk from daily burn.