TokenCounter

A token usage meter with progress bar, warning/danger thresholds, and optional breakdown by prompt/completion/system tokens. Available in default, compact, and detailed variants. Shows percentage and changes color as usage approaches the limit.

Agentic AIaitokensusagemeter

Default

Tokens: 2,048 / 4,096

Warning threshold

Tokens: 3,200 / 4,096

Danger threshold

Tokens: 3,800 / 4,096 (93%)

Compact

1,500/8,192

With breakdown

Tokens3,000 / 8,192
Prompt:1,200
Completion:1,500
System:300

Related Components