LM Studio

Free 👁 279

LM Studio lets users download and run language models on their own computers, chat offline and expose a local API to compatible applications.

Quick actions
🚀 Visit LM Studio

LM Studio is a desktop application for discovering, downloading and running compatible language models on Windows, macOS and Linux. Its interface loads a model, exposes generation settings and supports conversations on the user's machine. Supported formats and runtimes depend on the platform, including GGUF with llama.cpp and selected MLX models on compatible Apple hardware. Once model files are downloaded, local functions can operate without contacting a remote inference provider.

A local server lets developers integrate models into scripts, prototypes and applications. Documentation covers REST and OpenAI-compatible interfaces alongside Python and TypeScript SDKs. Command-line tools support model downloads, loading and server control. MCP integrations can expose local or remote tools to compatible models according to permissions and configuration.

Model size, quantization, context length and available memory determine whether inference is practical and how fast it runs. Local inference must be distinguished from connected tools: web searches, remote MCP servers and cloud inference may send data outside the machine. LM Studio now also offers paid cloud services. Check the selected mode and each model's licence before professional use. A locally hosted model can still produce incorrect answers, so evaluate its suitability on the intended tasks.

A practical trial is an internal writing assistant on a resource-constrained computer. Select two models of different sizes, prepare ten identical requests, then record time to first output, total response time and factual errors. Quantization can reduce memory requirements at the possible expense of accuracy. Keep the generation settings consistent when comparing results. When several clients use the same local server, set reasonable context and concurrency limits to avoid exhausting available memory. For a genuinely offline workflow, first download the required model files, disable remote tools and verify the application's network behavior. For applications using compatible API endpoints, also test structured outputs and streaming rather than assuming every model behaves like a hosted API.

Overview

Understanding LM Studio

How to use it?

  1. Check available RAM, supported hardware, operating system and disk space before downloading a model.
  2. Choose a compatible model file, read its license and select a quantization that fits the machine.
  3. Load the model and run a representative set of chat requests.
  4. Adjust context length and compare answer quality, response time and memory use.
  5. For integration, start the local server and choose an API interface supported by the client.
  6. Enable authentication where required and restrict network access; never expose an unprotected server directly to the internet.
  7. Review authorized MCP tools and make sure unwanted external calls are not being triggered.

Detailed analysis

LM Studio is well suited to desktop experimentation and inference without a remote model provider. Local processing is not an absolute privacy guarantee, however: model downloads, cloud services and remote tools can still exchange data over the network. Before adopting a model for a recurring task, compare model sizes and quantizations on the same evaluation examples. For a document assistant, inspect whether answers faithfully use the supplied evidence and what happens when information is missing. Compact models may suffice for straightforward generation, while long contexts and tool use can demand more resources. An HTTP server makes integration convenient, but access control, concurrency limits and hardware sizing matter. A shared-hosting website cannot automatically reach a workstation behind a private network. Model licenses must also be assessed independently of the desktop application's terms.

Official sources and documentation

Capabilities

Features, use cases & integrations

Features

  • Discovery and download of compatible models.
  • Chat with a locally loaded language model.
  • Generation settings and context management.
  • Hardware acceleration when supported.
  • Local HTTP server and documented API interfaces.
  • Python and TypeScript SDKs and command-line tooling.
  • Connections to local or remote MCP servers according to configuration.

Use cases

  • Test a model on non-sensitive documents before deployment.
  • Prototype an assistant without always relying on the cloud.
  • Assess memory usage across quantization options.
  • Integrate a local model into a text-processing script.
  • Test coding assistance on a development machine.
  • Measure model latency before deploying across several computers.

Integrations

  • Local REST server and documented OpenAI-compatible endpoints.
  • Python lmstudio-python and TypeScript lmstudio-js SDKs.
  • lms CLI for supported automation tasks.
  • Local or remote MCP servers according to configured permissions.
Preview

Visual previews

Decision

Pricing, advantages & limitations

Pricing

Local inference and selected LM Studio functions are offered for free, but users provide hardware, memory and electricity. The vendor also offers credit-based cloud inference billed by token usage, separate from local inference. Model licences are independent of the application licence. Review the current offer, connected services and applicable limits before use.

👍 Advantages

  • Local inference without a remote provider is possible.
  • Accessible interface for experimenting with models.
  • Control over hardware and generation settings.
  • API useful for prototypes.
  • Quantization choices for memory constraints.
  • Offline operation with local model files.

👎 Limitations

  • Memory and computing resources can be insufficient.
  • Quality varies with the loaded model.
  • Initial downloads normally require internet access.
  • Connected tools and cloud inference can transfer data.
  • Network server requires deliberate protection.
  • Model licences and cloud costs are separate.
Questions & alternatives

FAQ & alternatives

FAQ

Does LM Studio work without internet access?▶

Yes for local functions once models are downloaded. Web tools, remote MCP servers and cloud inference require connectivity and may transmit data.

Do I need a graphics card?▶

Not for every model. Performance depends on memory, processor, quantization and supported acceleration.

How do I select a model?▶

Check compatibility and licensing, start with a size that fits available memory and test representative tasks.

Is LM Studio free?▶

Local inference is offered free of charge, with hardware costs borne by the user. Cloud inference has separate usage pricing.

Can I use its API from PHP?▶

Yes, through HTTP requests to a reachable instance. Protect the API with tokens and controlled networking; do not expose a personal computer directly.

Does MCP give access to all my files?▶

Capabilities depend on configured servers. Enable only trusted tools with limited permissions and review their actions.

Do local models guarantee correct answers?▶

No. Running locally does not eliminate factual errors. Verify important responses and choose models based on task requirements.

What happens when a model does not fit in memory?▶

Use a smaller model or compatible quantization, reduce context length, or adjust acceleration settings. A larger context window also consumes memory, so test the longest realistic request rather than only short prompts.

User reviews

Reviews of LM Studio

No reviews have been published yet.
AI recommendations

🔍 Similar tools

Explore ListoolAI

Explore related topics

Explore topics and categories related to LM Studio.