Skip to content

DocsAIContext window

PT

AI

Context window

How much of the context each part takes and the usage limits.

data-u="ai-context"Demo

Example

Context window820k / 1M (82%)
  • System52k
  • Tools118k
  • Messages310k
  • Files240k
  • Memory100k
  • Free180k

Plan usage limits

5-hour limitResets in 2 h 46 min38%
Weekly, all modelsResets in 3 d3%
Weekly, advanced modelResets in 3 d5%

Context window

Usage by category and plan limits, with the numbers counting up as they scroll in.

Installation

Context window ships in the full package, along with the skill:

curl -fsSL unslop.leallabs.dev/i | sh

The example HTML, to paste:

curl -fsSL unslop.leallabs.dev/i | sh -s add ai-context

Uses The block is just HTML. The CSS and JS come from the full package's unslop.css and unslop.js.

Classes and variants

ClassWhat it does
.u-ai-ctxBar: __bar with __seg (width in %) and __legend.
.u-ai-limitLimit: __name, __pct, __track, __fill[data-pct].

Accessibility and keyboard

State and roles

WhereAttributeWhat it says
.u-ai-card__panelrole="group" and aria-labelSays it's a demo and of what.

Keyboard

KeyDoes
Tabenters the card and pauses the animation while focus is there

Motion

Plays on its own when it enters the viewport, for up to 3 cycles, and stops in its final state. Hovering or focusing inside pauses it. With reduced motion, it shows the final state right away.

Events and API

No public events. For a real chat, copy the markup and wire up your own state, without relying on data-u for logic.

Type to search. Arrows pick, Enter opens.