Setting up LM Studio
Last updated: August 10, 2026
LM Studio is a popular desktop application for discovering, downloading, and running local LLMs. Eviory OS can seamlessly connect to its built-in local server.
1. Configuring LM Studio CORS
By default, the LM Studio server rejects requests coming from an external domain (https://eviory.com). You must explicitly enable CORS.
- Open LM Studio.
- Go to the Local Server tab (
<->icon on the left). - Check the CORS checkbox (Cross-Origin Resource Sharing).
- (Optional but recommended) In the advanced settings, set the allowed origin to
https://eviory.cominstead of*. - Click Start Server.
2. Configuring Eviory OS Settings
Once your LM Studio server is running:
- Open Settings in Eviory OS.
- Go to the AI Integrations tab.
- Scroll down to Custom Local AI / Proxy.
- Fill in the fields exactly as follows:
- Base URL:
http://127.0.0.1:1234/v1(Ensure the port matches what LM Studio shows) - API Key: Leave blank or put
sk-1234if it complains. - Model ID: Enter the model name exactly as it appears in LM Studio.
- Click Save Changes.
(Note: If the connection fails, see the Troubleshooting CORS guide).