Local Model Launch with LM Studio
Summary
LM Studio is a desktop application with a graphical interface that allows downloading, launching, and testing open-source models without a terminal.
What Sets LM Studio Apart from Ollama
Ollama operates from the command line and is convenient for automation. LM Studio provides a visual interface: models are visible in a list, can be downloaded with a couple of clicks, and you can chat immediately.
| Criteria | Ollama | LM Studio |
|---|---|---|
| Interface | Command Line | Graphical |
| Model Search | Through Command | Built-in Catalog |
| API | localhost:11434 |
localhost:1234 |
| Suitable For | Automation | First Launch |
What You Need
- Download LM Studio from the official website:
https://lmstudio.ai/
- Install it for your OS: Windows, macOS, or Linux.
- Ensure you have enough VRAM. For a 7B model, you need around 5–6 GB.
How to Launch a Model
- Open the 'Search' or 'Discover' tab.
- Find a model, for example
Qwen2.5-7B-InstructorLlama 3.2. - Download the quantized version for your GPU.
- Switch to the 'Chat' tab and select the downloaded model.
- Chat away.
Local API
LM Studio supports an OpenAI-compatible API:
http://localhost:1234/v1
This means you can connect Cherry Studio or your own program to it.
Useful Tips
- Download GGUF files — these are quantized versions of the models.
- For weak PCs, use 4-bit quantization.
- Models 7B–8B offer a good balance of quality and speed.
- Long documents won't fit in the context — use RAG.