Context, Output & Usage in AI
From the OpenAI Codex cheat sheet ยท Essential Slash Commands ยท verified Jul 2026
Context, Output & Usage
Manage the context window and inspect session usage.
text
/compact Summarize the chat to free context
/copy Copy the latest completed response
/raw Toggle raw scrollback mode
/raw on Enable raw scrollback
/raw off Disable raw scrollback
/status Show session configuration and tokens
/usage Open account usage actions
/usage daily Show daily token activity
/usage weekly Show weekly token activity
/usage cumulative Show cumulative token activity๐ /compact keeps key context from a long chat
โก /copy uses the latest completed response
๐ /status confirms the model, permissions, and workspace
๐ก /usage requires Codex service account authentication
commandscontextusageoutput
Continue with OpenAI Codex
Save the full cheat sheet or work through every related task.