Skip to main content
LM Studio provides a user-friendly desktop application for downloading and running local AI models. Its built-in server exposes an OpenAI-compatible API that profClaw connects to.

Overview

LM Studio is a GUI application for macOS, Windows, and Linux that:
  • Downloads models from HuggingFace with one click
  • Provides hardware-accelerated inference (Metal, CUDA, CPU)
  • Runs a local OpenAI-compatible API server
  • Works without an internet connection after model download

Setup

1

Download LM Studio

Download from lmstudio.ai and install.
2

Download a model

Open LM Studio, search for a model (e.g., lmstudio-community/Meta-Llama-3.1-8B-Instruct-GGUF), and download it.
3

Start the local server

In LM Studio: go to Local Server tab, select a model, and click Start Server.The server runs at http://localhost:1234 by default.
4

Configure profClaw

5

Verify

Environment Variables

string
LM Studio server URL. Defaults to http://localhost:1234/v1. Configure via OPENAI_BASE_URL.

Configuration Example

Usage Examples

Differences from Ollama

Notes

  • LM Studio’s API key field accepts any non-empty string - use lm-studio as a placeholder.
  • Tool calling support depends on the loaded model - check the model’s capabilities.
  • LM Studio supports Metal (Apple Silicon), CUDA, and Vulkan acceleration.
  • For headless/server deployments, Ollama is recommended over LM Studio.