Session & Model Commands in OpenClaw

From the OpenClaw cheat sheet ยท Slash Commands ยท verified Jul 2026

Session & Model Commands

Control sessions, switch models, and manage context.

bash
/new                  Start a new session
/new gpt-4o            New session with specific model
/compact               Compact the session context
/stop                  Abort the current run
/model                 Show current model
/model sonnet          Switch model
/models                List available providers/models
/context               Show how context is assembled
/context detail        Per-file size breakdown
/status                Show runtime status
/help                  Show help summary
๐Ÿ’ก /compact frees up context space without starting a new session โ€” great for long conversations
โšก /think medium through xhigh enables extended thinking โ€” costs more tokens but better reasoning
๐Ÿ“Œ /context detail shows exactly what's eating your context window โ€” check MEMORY.md size
๐ŸŸข /model switches instantly mid-conversation โ€” no need to restart the session
slash-commandssessionmodelcontext
Back to the full OpenClaw cheat sheet