If LM Studio is taking up too much disk space, behaving unexpectedly, or still using memory after a chat, you may be wondering how to clear its cache. The right fix depends on what you mean by “cache”: downloaded model files, temporary app data, saved conversations, or memory held by a model that is currently loaded. These are different things, and deleting the wrong one can remove models or data you meant to keep.
This guide explains how to clear LM Studio cache safely on Windows, macOS, and Linux. It covers how to remove downloaded models, release memory, reset a chat, and troubleshoot storage or performance problems—without unnecessarily deleting your entire LM Studio setup.
What Does “LM Studio Cache” Mean?
LM Studio may store or use several types of data, but they do not all work like a browser cache. Before deleting anything, identify what you want to clear:
- Downloaded model files: Large files for models you have installed. These occupy disk space and are usually the biggest item people want to remove.
- Loaded-model memory: RAM or graphics memory used while a model is running. This is released by unloading the model or closing LM Studio; deleting files is not the solution.
- Chat history and app settings: Saved conversations and preferences. Removing these may affect your records or configuration.
- Temporary or operational data: Data LM Studio may use while running. Its location and management can vary by version and operating system.
In many cases, there is no single universal “Clear Cache” button that safely removes all of these at once. The best approach is to use LM Studio’s own controls for models and chats, then close and reopen the app if you need to release temporary memory.
How to Remove Downloaded Models in LM Studio
If your goal is to free up disk space, remove models you no longer need from LM Studio rather than deleting random folders. Model files can be several gigabytes each, so removing one or two unused downloads may make a substantial difference.
- Open LM Studio.
- Go to the area of the app that lists your installed or downloaded models. Depending on your version, this may be labeled My Models or appear in the model management interface.
- Find the model you want to remove and use its delete or remove control.
- Confirm the deletion if prompted.
- Check the model list again to verify that the download is no longer installed.
Removing a model deletes its local files, not just temporary cache data. You will need to download it again before using it in the future. If you are uncertain whether you will need it, note the model name and version before removing it.
Some LM Studio versions let you choose or change where model files are stored. If you cannot find a model in the expected location, check the app’s settings or model-management screen for the configured model directory. Models may be stored on a different drive from the LM Studio application itself.
Find the LM Studio Model Folder Manually
If the in-app removal option is unavailable or does not work, you can inspect the model directory yourself. The default location can vary by LM Studio version, installation, and user settings. A common location is a folder named .lmstudio/models inside your home directory, but do not assume that this is where your files are stored.
-
Windows: Check your user profile folder, such as
C:\Users\YourName\.lmstudio\models. -
macOS: Check your home folder for
~/.lmstudio/models. -
Linux: Check your home folder for
~/.lmstudio/models.
These are examples, not guaranteed paths. The actual directory may be different if you changed the storage location, used a custom installation, or upgraded from an earlier release. Look in LM Studio’s settings for the active model path before making changes.
Close LM Studio before deleting model files manually. Then remove only the specific model folder you intend to delete. Avoid deleting the entire .lmstudio directory: it may contain settings, other app data, and files unrelated to the model you want to remove. If you are not sure which folder matches a model, use the in-app model list instead.
Clear Memory Used by a Loaded Model
If LM Studio is using a lot of RAM or GPU memory, the model may still be loaded. This is different from disk cache. Deleting a model file will not reliably release memory that is already in use by the running application.
- Use LM Studio’s unload or eject control for the active model, if available in your version.
- End the current generation and close the chat or model session.
- Quit LM Studio completely, then reopen it if memory remains occupied.
- If the app is unresponsive, close it through your operating system’s normal application controls.
After unloading or quitting, check your system’s memory monitor to see whether usage has dropped. Keep in mind that an operating system may retain some recently used data in memory for performance. That does not necessarily mean LM Studio is still actively using it.
If high memory usage returns as soon as you load a model, consider using a smaller model, reducing the context length, or adjusting model-loading options. The memory requirement depends on the model, its quantization, the context size, and the settings you choose—not simply on how much cache LM Studio has accumulated.
Reset a Chat Without Deleting Models
If the problem is a long conversation, an incorrect answer, or a chat that is consuming more context, start a new conversation or clear the current chat using the controls in the chat interface. This can give you a fresh interaction without removing the model from your computer.
Be aware that clearing or deleting a conversation may remove its saved history. If you want to keep the discussion, copy or export any important text before using a delete or reset option. Chat controls and labels can differ between LM Studio releases, so check the interface before confirming.
A new chat may help when the model has been given a large amount of prior conversation, but it does not delete downloaded model files. Conversely, removing a model does not necessarily delete your saved chats. Treat chats and model downloads as separate kinds of data.
Should You Delete LM Studio App Data?
Deleting an application’s data folder is sometimes suggested as a way to “clear the cache,” but it is a broad and potentially destructive step. Depending on your version and setup, app data may include preferences, local configuration, or saved information—not just disposable temporary files.
Do not remove hidden folders or application-support directories just because their names contain “LM Studio.” First check whether LM Studio provides an in-app option for the specific item you want to clear. If you are considering a full reset, back up conversations or settings you care about, quit the application, and consult current LM Studio documentation for your version and operating system.
Also distinguish LM Studio’s own data from files belonging to other tools. If you use a separate frontend, API client, or integration with LM Studio, that program may store its own chat history or cache. Clearing LM Studio’s model directory will not necessarily clear those external files.
What to Do If Clearing the Cache Does Not Help
If LM Studio still has a storage, loading, or performance problem after you remove an unused model or restart the app, try these checks:
- Confirm the model directory: Check LM Studio settings to see where downloads are saved. A second drive or custom folder may contain the files you are looking for.
- Check available disk space: Your operating system’s storage tool can show whether model downloads or other files are using the space.
- Restart LM Studio: A full quit and relaunch can resolve temporary app issues and release resources held by the process.
- Update the application: If a particular control is missing or malfunctioning, check for a newer LM Studio release and review its release information.
- Verify the model download: If a model will not load, removing and downloading that specific model again may help. This uses bandwidth and should be a later troubleshooting step.
- Check system permissions: If you cannot remove a file, make sure LM Studio is closed and that your account has permission to modify the folder.
When troubleshooting, change one thing at a time. For example, unload the model and restart before deleting files. That makes it easier to identify whether the issue came from memory use, a specific model, or the application itself.
How to Keep LM Studio Storage Under Control
To avoid repeatedly searching for a cache to clear, review your downloaded models every so often. Remove versions you no longer use, and choose a model storage location with enough free space. If you keep several large models, a dedicated drive can make storage easier to manage, provided LM Studio is configured to use it.
Keep a simple record of models you rely on, including their names and any settings needed to reproduce a setup. Before deleting a model, make sure you can download it again and that you have a copy of any custom files you need. Avoid manually cleaning folders while LM Studio is open, since the app may be reading or writing files at the same time.
Conclusion
To clear LM Studio cache, first decide what you actually want to remove. Use the model-management interface to delete downloaded models and free disk space. Unload the active model or quit LM Studio to release memory. Start a new chat only if you want to reset conversation context, and be cautious about deleting app data because it may include settings or saved information.
There is no need to erase the entire LM Studio folder for routine cleanup. Check the configured model directory, remove only what you recognize, and back up anything important before making changes. These steps let you clear unwanted files or free resources while keeping the models, chats, and settings you still need.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.