/context and /cost

Show how full the context window is and what the session has used.

Also called: /context, /cost, usage

Source
Claude

In plain English

When context is nearly full, Claude Code compacts automatically; checking /context helps you decide to /clear earlier.

Example

Running /context showed the conversation was 80% full, so I started a fresh one.

Learn more

Related terms

Added 2026-11-30 · Last reviewed 2026-11-30