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.

More AI tasks

Back to the full OpenAI Codex cheat sheet