DevCleaner Download .dmg

How Much Disk Space AI Coding Tools Really Use

Claude, Cursor, Ollama, ChatGPT, Windsurf — the new toolchain caches just as greedily as the old one, plus it downloads models by the tens of gigabytes. Here's the map.

Two different problems: caches vs. models

AI tools eat disk in two ways that need different treatment:

Desktop AI apps (Electron): Claude, ChatGPT

Both keep their data under ~/Library/Application Support/. The regenerable parts:

AppSafe to cleanTypical size
ClaudeCache, Code Cache, GPUCache, crash dumps, ShipIt updater leftovers0.5–3 GB
ChatGPTCache, Code Cache, GPUCache, crash dumps0.5–2 GB

What you must not touch: Cookies, Local Storage, Session Storage, IndexedDB, Local State. That's where your login session lives. Deleting them logs you out — a classic mistake of overly enthusiastic cleanup scripts.

CLI agents: Claude Code, Gemini CLI

CLI tools keep state in dotfolders in your home directory:

AI editors: Cursor, Windsurf, Antigravity

All three are VS Code derivatives, so they inherit VS Code's storage layout under ~/Library/Application Support/<Editor>/:

FolderWhat it isRisk
Cache, CachedData, GPUCacheRenderer + extension host cachesSAFE
CachedExtensionVSIXsDownloaded extension installersSAFE
Crashpad, logsCrash dumps and logsSAFE
workspaceStoragePer-project editor stateWARNING
HistoryLocal file history (undo across sessions)WARNING

A long-lived Cursor install commonly carries 2–8 GB of the safe stuff. workspaceStorage grows unbounded too (one folder per workspace you've ever opened), but clearing it resets per-project UI state — your call.

Local LLM runtimes: Ollama, LM Studio

This is where the tens of gigabytes hide:

du -sh ~/.ollama/models
du -sh ~/.lmstudio/models   # older versions: ~/.cache/lm-studio

Manage models with the tools themselves rather than deleting files:

ollama list
ollama rm llama3:70b

In LM Studio, use the My Models tab. A handful of experiments — a 7B here, a 70B there — easily adds up to 50+ GB of weights you tried once.

DevCleaner knows all of these out of the box

Free menu bar app with dedicated scanners for Claude, Claude Code, ChatGPT, Cursor, Windsurf, Antigravity, Gemini CLI, Ollama and LM Studio — plus Xcode, npm, Homebrew and 10 more classic toolchains. Caches are rated Safe; model weights are rated Warning and never pre-selected; credential and session files are protected by a hard deny-list the cleaner cannot cross, no matter what's selected.

Download DevCleaner — free
free · no account · 4 MB · macOS 14+

FAQ

Where does Ollama store models on a Mac?
~/.ollama/models — blob files, several GB per model. Use ollama list / ollama rm instead of deleting files by hand.
Will cleaning AI app caches log me out?
Not if you stick to cache directories. Sessions live in Cookies, Local Storage and credential files — a safe cleaner treats those as untouchable.
Can I delete Claude Code's old session transcripts?
Yes — they're records of past sessions, not state the tool needs. Keep .claude.json and anything named like credentials or state.