Skip to content
Back

Agent / UsagePro

What agents cost this month: the running total against a budget line with a plain-language forecast, tasks, runs, cost per task and tokens, where it went by project or model (official marks) and what is worth a look. The work area shows the project day by day and what cost the most.

oxyn add agent-usage

Usage

November

Spent in November

€270.40 of €500 · 54%

On track for €427 by Nov 30

Tasks186
Runs1,284
Per task€1.45
Tokens48.2M
Where it went

Worth a look

  • Competitor scan cost €18.40 yesterday4× what it usually costs – it read 212 pages instead of 404×
  • Benchkit is up 102% on OctoberIts evals moved to Opus 5.5 on Nov 12+102%

The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • What agents cost this month, whether that fits the budget, and where the money went.

When not to use

  • Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
  • The app frame: use App shell instead.
  • An assistant docked beside a page: use AI side panel instead.

Installation

Agent / Usage is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

Terminal
oxyn add agent-usage

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Sample

Sample data in the Inset frame.

Usage

November

Spent in November

€270.40 of €500 · 54%

On track for €427 by Nov 30

Tasks186
Runs1,284
Per task€1.45
Tokens48.2M
Where it went

Worth a look

  • Competitor scan cost €18.40 yesterday4× what it usually costs – it read 212 pages instead of 404×
  • Benchkit is up 102% on OctoberIts evals moved to Opus 5.5 on Nov 12+102%

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Flat

The same screen in the Flat frame.

Usage

November

Spent in November

€270.40 of €500 · 54%

On track for €427 by Nov 30

Tasks186
Runs1,284
Per task€1.45
Tokens48.2M
Where it went

Worth a look

  • Competitor scan cost €18.40 yesterday4× what it usually costs – it read 212 pages instead of 404×
  • Benchkit is up 102% on OctoberIts evals moved to Opus 5.5 on Nov 12+102%

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Loading

Skeletons where the data will land.

Usage

November

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Empty

Nothing yet: the page says what will appear and how to start.

Usage

November

No spend yet this month

When agents run, what they cost lands here by project and model, against your budget.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Own

The pace runs past the budget: the forecast says when it runs out.

Usage

November

Spent in November

€392.00 of €500 · 78%

At this pace the budget runs out on Nov 25

Tasks186
Runs1,284
Per task€2.10
Tokens48.2M
Where it went

Worth a look

  • Competitor scan cost €18.40 yesterday4× what it usually costs – it read 212 pages instead of 404×
  • Benchkit is up 102% on OctoberIts evals moved to Opus 5.5 on Nov 12+102%

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

X1

Oxyn: day-by-day bars in place of the running total.

Usage

November

Spent in November

€270.40 of €500 · 54%

On track for €427 by Nov 30

Tasks186
Runs1,284
Per task€1.45
Tokens48.2M
Where it went

Worth a look

  • Competitor scan cost €18.40 yesterday4× what it usually costs – it read 212 pages instead of 404×
  • Benchkit is up 102% on OctoberIts evals moved to Opus 5.5 on Nov 12+102%

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

X2

Oxyn: an alert line at 80 % of the budget.

Usage

November

Spent in November

€270.40 of €500 · 54%

On track for €427 by Nov 30

Tasks186
Runs1,284
Per task€1.45
Tokens48.2M
Where it went

Worth a look

  • Competitor scan cost €18.40 yesterday4× what it usually costs – it read 212 pages instead of 404×
  • Benchkit is up 102% on OctoberIts evals moved to Opus 5.5 on Nov 12+102%

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

UsageScreen

PropTypeDefaultDescription
layoutString"inset"`inset` or `flat`.
stateString"sample"A state key.
heightu32640Height px.
dailyboolDefault::default()Oxyn: day-by-day bars in place of the running total.
alertboolDefault::default()Oxyn: an alert line at 80 % of the budget.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabSidebar, page, then each control in reading order
Enter on a project rowOpen it in the work area
Enter on ProjectsorModelsSwitch the breakdown
Enter on OpenOpen the item worth a look
EscapeClose an open menu or popover; clear a search

Accessibility

  • The Fieldwork sidebar is a labelled nav with aria-current on this page.
  • The chart is role=img; its label carries spend, budget and forecast. Projects / Models are pressed buttons.
  • Skeletons are hidden from screen readers; every action reports what it did in a polite live region.

Responsive behaviour

  • Authored on the 1440 × 900 canvas; the full view lays it out at the real width.
  • Under 640 px the sidebar slides in from the menu button and the work area becomes a sheet.
  • Under 560 px the totals go two by two and the share bars hide.
Edge cases (spec)

Authored on the 1440 × 900 stage (rule R1) and scaled to its column; the full view (/screens/agent-usage/full) renders at the real viewport with the state bar under it (R2). Under 640 px the sidebar slides in from a menu button and the work area becomes a sheet. Under 560 px the totals go two by two and share bars hide. Every label in a row, chip or card ellipsises in a flex child with min-width 0 (R5); scripts/ovl.py finds no text overlap at 1440, 768 and 390 in light and dark.

Notes for AI

  • Import UsageScreen from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: UsageEl in oxyn_gpui.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI