keepscreenunlocked.

Grok & cloud AI tools

Will Grok keep working if you close your laptop?

Usually, yes. Grok is a cloud service, so closing the lid doesn't switch the model off. It does end your live view of a streaming reply, so you may come back to a partial answer.

Inactive

Pick a duration and hit start.

Duration

Stealth screen
— covers the page with black (or your own wallpaper) so it looks like nothing is open.
Fullscreen
— the same cover, edge to edge. Press Esc to leave.
Ambient sound

Starts only when you press Play. It fades out on its own, when you stop the tool, and when you enter stealth screen (unless you tick the box above).

Feedback

What happens when the lid closes

Grok does its work on xAI's servers. Your browser or phone app only displays the result, which is the opposite of a local coding agent that stops when your machine sleeps.

When the laptop sleeps, your connection drops. On return, reload the page and check your conversation history. If a long answer was cut off, regenerate it. Whether an interrupted reply is saved depends on xAI, so don't rely on it for something you can't redo.

SetupRuns onLaptop sleeps?
Chat on grok.com or the appxAI's serversKeeps working, you lose the live view
Local tools you run yourselfYour machinePaused while asleep

Questions

Does Grok keep running if I close my laptop?
The model keeps running on xAI's side, but you stop seeing the stream. Reload to check.
Will I lose a long Grok answer if the laptop sleeps?
You might see it cut off. Check your history, and regenerate if it isn't there.
Can this site keep Grok going while I'm away?
No. It keeps the display on while the tab is open and visible, and cannot prevent the lid or system sleep.

Related: Claude Code · ChatGPT · Gemini · Perplexity · Cursor · GitHub Copilot · OpenAI Codex · DeepSeek · Claude · Windsurf · Cline · All AI tools compared · Any local agent · Wake lock not working?. Last checked October 2026; these products change often, so confirm against the vendor's current docs.