Tutorial 20 min Updated July 28, 2026

LM Studio Beginner Guide: From Zero to Your First LLM

Installation, GPU configuration, GGUF model download, and first steps with the local chat interface. Step-by-step tutorial to master LM Studio in 2026.

Prerequisites

  • Windows 10/11, macOS 12+, or Linux Ubuntu 20.04+
  • 8GB RAM minimum (16GB recommended)
  • NVIDIA GPU (optional but recommended) or Apple Silicon
  • 10GB disk space for models

Current version note: this guide has been refreshed for LM Studio 0.4.x. Recent releases include stable Multi-Token Prediction for compatible models and continued local API improvements. Labels can move between releases, so use the model-load panel as the source of truth.

1

Installing LM Studio

LM Studio is available for free for Windows, macOS and Linux. Here's how to install it:

  1. Go to lmstudio.ai
  2. Click "Download" and choose your system
  3. Launch the downloaded installer
  4. Follow the installation wizard (accept default settings)
  5. On first launch, LM Studio will automatically download its components

Tip: On macOS, you may need to authorize the application in System Preferences > Security & Privacy after first launch.

2

Load Settings and GPU Acceleration

For optimal performance, configure GPU acceleration. This step is crucial for generation speed.

  1. Install the runtime offered by LM Studio for your platform and keep graphics drivers current.
  2. Choose the model, then open its load settings.
  3. Start with the automatic GPU-offload recommendation.
  4. If loading fails, reduce context length or GPU offload before changing the model file.
  5. After loading, confirm memory use and generation speed in the runtime status panel.

Apple Silicon normally uses the Metal/MLX-compatible path selected by LM Studio. NVIDIA systems use the compatible CUDA runtime. Avoid forcing a backend from an older tutorial unless the current app exposes that exact option.

Warning: CPU-only inference remains possible, but the slowdown varies widely by model, quantization and processor. Benchmark your exact configuration instead of relying on a fixed multiplier.

3

Download your first model

LM Studio integrates a model browser. Here's how to find and download an LLM:

  1. Click on the Search tab on the left
  2. In the search bar, type a model name (for example "Gemma 4 12B", "Qwen 3.6 27B" or "Nanbeige4.2 3B")
  3. Filter by recommended size according to your RAM:
    • 8GB RAM → 3-7B models
    • 16GB RAM → 7-13B models
    • 32GB+ RAM → 30B+ models
  4. Click on a model (ex: "Qwen3-8B-Q5_K_M.gguf")
  5. Click Download — the model will be saved automatically

Quick alternative: Use LocalClaw to get a personalized recommendation with direct download link!

4

Launch chat and configure the model

Once the model is downloaded, it's time to chat with your local AI:

  1. Click on the Chat tab on the left
  2. At the top right, click Select a model to load
  3. Choose the downloaded model from the list
  4. Wait for loading (progress bar)
  5. Once loaded, the chat window becomes active

Important parameters to know

  • Temperature (0-2): Model creativity. 0.7 = balanced, 1.2+ = more creative/risky
  • Context Length: Conversation memory length (default: 4096 tokens)
  • Max Tokens: Maximum length of responses
5

Your first prompts

Test these prompts to evaluate your installation:

Conversation test:

Explain the theory of relativity to me like I'm 10 years old

Code test:

Write a Python function that calculates the Fibonacci sequence up to n

Reasoning test:

A train leaves Paris at 100km/h, another leaves Lyon at 120km/h...

Performance indicator: Look at the "tokens/s" counter at the bottom of the screen. Above 20 tok/s is fluid, 50+ tok/s is very responsive.

6

Advanced features

Once comfortable, explore these powerful features:

Server Mode (local API)

LM Studio can serve your model as an OpenAI-compatible API:

  1. Go to the Developer tab
  2. Click Start Server
  3. Your model is now accessible on http://localhost:1234
  4. Use this URL in any OpenAI-compatible application

RAG — Chat with your documents

LM Studio 0.3+ allows you to "converse" with your files:

  1. In the Chat tab, click the attachment icon
  2. Select a PDF or text file
  3. The model will respond based on the document content

System Prompt

Customize model behavior with a "system prompt":

  1. In chat settings, find "System Prompt"
  2. Example: You are a Python programming expert. Respond concisely and technically.
  3. This will influence the entire conversation

Troubleshooting common issues

"Out of memory" / Crashes

The model is too large for your RAM. Switch to a smaller version (7B instead of 13B) or a stronger quantization (Q4 instead of Q8).

Very slow generation

Verify that the GPU is properly configured in Settings > Hardware. If you don't have a compatible GPU, it's normal to be slow on CPU.

📥 Model won't download

Check your internet connection and available disk space. Try another model to isolate the problem.

Conclusion

Congratulations! You now have a completely local, private, and functional generative AI. No subscription, no data sent to the cloud, just you and your machine.

To go further:

And don't forget: LocalClaw is here to help you choose the perfect model every time you want to explore a new LLM!