Agnes AI Usage Analysis — User Guide
Version: v0.1.1 | Language: English / 中文 | Last Updated: 2026-06-30
1. Overview
Agnes AI Usage Analysis is a browser-side analytics tool for Agnes usage exports. Upload one Agnes usage CSV and you can immediately inspect text tokens, image counts, video seconds, requests, cost, key-level breakdowns, custom project grouping, and daily trends.
- The three core metrics always stay side by side: Total Text Tokens, Generated Images, and Video Length (s)
- Overview and Trends now use Relative Comparison charts so different units can be compared together while hover still shows real values
- Cost is shown in US dollars ($), converted from `Consumption Amount(cents)`
- By Key and By Custom Projects support sorting by text, image, video, cost, and requests, and cost values can be copied in one click
- Share cards support all four tabs and automatically follow the current locale and theme
- All CSV parsing, aggregation, and chart rendering stay in the browser and never upload your raw file
2. Quick Start
- Sign in to the Agnes AI console and open the usage or billing page.
- Export a single usage CSV file.
- Make sure the CSV includes Type, Secret Key Name, Consumption Model, Consumption Amount(cents), Consumption Quantity, Consumption Time, and Consumption Status.
- Drag the CSV into the homepage uploader, or click the uploader to choose the file manually.
- Wait for parsing to finish. The page automatically switches from the landing page into dashboard mode.
The current version supports one CSV file only, with a 50 MB limit per file. No ZIP extraction and no amount/cost file pairing are required. Only rows with `Consumption Status=success` are counted, and the dashboard stays fixed to four tabs: Overview, By Custom Projects, By Key, and Trends.
| Counting Rule | Description |
|---|---|
| Status filter | Only rows with `Consumption Status=success` are counted |
| Text quantity parsing | Input and output tokens are extracted from `input:xxx/output:yyy` |
| Multimodal quantity parsing | `images:n` and `video_seconds:n` are supported for image count and video duration |
| Cost handling | `Consumption Amount(cents)` is treated as cents and converted to US dollars ($) |
| Cache fields | Agnes CSV currently does not expose cache fields, so there is no Cache tab |
4. KPI Strip And Filtering
| Metric | Description |
|---|---|
| Total Text Tokens | Combined input + output tokens from counted text rows |
| Generated Images | Generated images from counted image rows |
| Video Length (s) | Generated duration from counted video rows |
| Total Requests | Number of counted success rows |
| Total Cost | Sum of all counted success rows in USD |
| Active Keys | Number of Secret Keys in the result |
| Tab | Description |
|---|---|
| Overview | Shows the fixed three-metric hero plus Daily Core Metrics and Core Metrics by API Key in Relative Comparison mode |
| By Custom Projects | Shows the fixed three-metric hero plus project-level multimodal aggregation and project setup entry |
| By Key | Shows the fixed three-metric hero plus the key-level multi-metric detail table |
| Trends | Shows the fixed three-metric hero plus the Core Metrics Trend Relative Comparison line chart |
When the CSV contains multiple models, a model filter appears below the tab bar. You can switch between All Models and a single model to inspect the same core metrics, tables, and comparisons from a narrower scope.
The three-metric hero now uses a more restrained centered layout: there is no eyebrow label anymore, and auxiliary notes sit on one line below the metric grid.
5. Views And Project Setup
- Overview: the hero always keeps the three core metrics visible together, and both charts below now stay in Relative Comparison mode instead of switching through one core metric at a time.
- By Key: supports sorting by text tokens, image counts, video seconds, cost, and requests; the table header, top sorting pills, and progress bars all stay linked to the same active metric.
- By Custom Projects: lets you aggregate multiple Secret Keys into business projects, while any remaining keys fall back to Uncategorized.
- Trends: keeps the hero fixed and uses one combined three-line chart to compare relative changes across units, instead of returning to the older single-metric trend flow.
- Open the By Custom Projects tab and click `Configure`.
- Add project names or remove projects you no longer need.
- Drag keys from the Unassigned Keys area into a target project, or assign them through the dropdown next to each unassigned key.
- Click `Save` to persist the project configuration into local browser storage.
The cost column in both By Key and By Custom Projects can be clicked to copy the displayed value, which is convenient for reporting and follow-up analysis.
7. CSV Schema Notes
| Column | Purpose |
|---|---|
| Type | Record type used to classify text, image, video, and related rows |
| Secret Key Name | Display name for key-level views and the basis for project grouping |
| Consumption Model | Source for model filtering and model stats |
| Consumption Amount(cents) | Cost field converted from cents into USD |
| Consumption Quantity | Parsed into text tokens, image counts, and video duration |
| Consumption Time | Normalized into daily trends |
| Consumption Status | Only success rows are counted |
- Typical text quantity value: `input:142064/output:85`
- Typical image quantity value: `images:3`
- Typical video quantity value: `video_seconds:180`
- If only part of a quantity string can be parsed, the valid part is still counted and a warning is emitted.
8. Privacy And Troubleshooting
| Area | Description |
|---|---|
| Data processing | Runs locally in the browser |
| Uploads | CSV contents are not uploaded |
| Third-party services | Only page assets and optional GA script |
| Project config | Stored in the current browser's local storage |
| Problem | Possible Cause | Suggestion |
|---|---|---|
| Nothing happens after upload | Not a CSV file | Upload an Agnes usage CSV |
| File too large | File exceeds 50 MB | Check whether you selected the wrong file |
| Missing column error | Not a standard Agnes export | Re-export from the Agnes console |
| One core metric is 0 | The current CSV, model filter, or date range has no records for that modality | Verify whether text, image, or video calls exist in the selected scope |
| Cost is 0 | The source export also shows 0 | Verify the original Agnes data |
| Missing dates in trends | No success calls happened on that day | This is normal |
| Some rows are ignored | Status is not success | Check the Consumption Status column |
This document is updated with app releases. For questions or suggestions, please reach out via GitHub Issues.