In this categoryLocal AI · 24
- How to Install Ollama on macOSStart
- How to Install Ollama on Windows
- How to Run Llama 3 Locally with Ollama
- How to Pick the Right Local AI Model for Your Hardware
- Best GGUF Models to Run by VRAM Tier (8GB, 12GB, 16GB, 24GB, 48GB)
- Run LLMs in Your Browser With WebGPU: No Install, No Server (WebLLM)
- How to Use Ollama as a Drop-In OpenAI API
- GGUF vs MLX vs NVFP4: Local AI Quantization Formats Explained
How to Set Up LM Studio for Local AI
Download LM Studio, grab a model from the built-in hub, start the local server, and have a working private AI chat running on your own hardware in about ten minutes.
LM Studio is a free desktop app that lets you download and run large language models entirely on your own machine. Nothing leaves your computer, there is no API key to manage, and it works offline. This guide takes you from a fresh download to a working chat session.
What you need
- A Mac (Apple Silicon or Intel), Windows PC, or Linux machine
- At least 8 GB of RAM (16 GB recommended for 7B models)
- 4 GB of free disk space for a small model, 8 GB for a 7B model
- LM Studio downloaded from lmstudio.ai
Step 1: Download and install LM Studio
Go to lmstudio.ai and click the download button for your operating system. On macOS, drag the app to Applications. On Windows, run the installer. On Linux, download the AppImage, make it executable, and run it.
Step 2: Browse and download a model
Open LM Studio and click the Discover tab (the magnifying glass icon on the left). This connects to Hugging Face and shows popular models filtered by your hardware. For a first run, search for phi-3.5-mini and download the Q4_K_M variant — it weighs about 2.2 GB and runs on any modern laptop.
Step 3: Chat with the model
Click the Chat tab (the speech bubble icon). Select your downloaded model from the model picker at the top, then type a message. The first response takes a few seconds to load the model into memory; subsequent replies are much faster.
Step 4: Start the local server
Click the Local Server tab and press Start Server. LM Studio exposes an OpenAI-compatible API at http://localhost:1234. Any app that works with the OpenAI SDK (Python, Node, curl) can point at this URL instead, with no API key required.
Result
You now have a local AI chat running on your own machine, a server that any OpenAI-compatible client can call at localhost:1234, and a model library you can browse and swap without a subscription.
Local models run better with more VRAM. CompareRTX GPUs on Amazonbefore you upgrade.(affiliate link. We may earn a commission at no extra cost. Disclosure)
Watch related tutorials
19:05
12:40
11:15
15:50
18:30
17:00Weekly local AI drops
New models, what runs on your hardware, and the guides to set them up. One email a week, unsubscribe any time.