ComponentsContext

Context

Show how much of the context window is occupied and what uses it.

Example

Context window

62.5% used
62.5%
Token breakdown
Conversation
36,000
Attachments
30,000
Tool results
14,000

Setup

Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.

Usage

UsageSet the meter maximum to the model context limit. Keep the total in text and put the breakdown in an optional disclosure.