Context

A token-usage and context-window meter with a hover breakdown of input, output and cost.

$bunx shadcn@latest add @nx-ui/ai-context
Registry item
Installs withai-typesbuttonhover-cardprogressutils

Usage meter

The trigger shows how much of the context window is used, as a percentage and a ring. Hover to break it down by input, output, reasoning and cache — with the running cost.

Approaching the limit

As the window fills, the ring closes and the percentage climbs — a cue to summarise or trim the conversation.