In short.
This guide teaches Cline Desktop users to manage local coding models through Ollama or LM Studio, with computer memory and model capability as the main constraints. It explains runtime installation, model selection, downloads, loading, provider switching and storage management. Hardware-fit labels estimate whether a model can run entirely on the GPU, partly on the CPU or within memory at all. These labels do not establish coding accuracy or measured speed. Prices, minimum supported software versions and comprehensive privacy guarantees are unknown; installation success and coding performance are not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete documentation page at [https://docs.cline.bot/usage/cline-desktop-local-models.md], including setup, model and memory management, configuration details, storage controls, recommendation tables, hardware detection, model aliases and troubleshooting. The documentation-index notice and Mintlify hosting footer are included in the source but add no evidence about model performance. Linked pages, model repositories, runtime websites and image contents beyond the supplied captions are excluded. Installation, runtime behavior, coding tasks, performance estimates and privacy properties remain untested.
The overview
Identity
Local Models in Cline Desktop is a feature guide in Cline's documentation at [https://docs.cline.bot/usage/cline-desktop-local-models.md]. It explains the Local page under Settings, Provider, and how that page manages models through Ollama or LM Studio.
The resource is documentation rather than a model, runtime or separate coding application. Its scope includes runtime setup, hardware-fit estimates, model downloads, loading and unloading, configuration inspection, disk cleanup and troubleshooting.
Assessment
The guide is useful when the immediate question is how to make a local model available inside Cline Desktop and manage its memory and storage. It explains operational differences that affect everyday use, including download cancellation, automatic unloading and which context settings apply.
Its recommendations establish starting points for model selection, not comparative coding results. The Recommended for you badge follows hardware fit and list order, with additional preferences when no model fits fully on the GPU. The page supplies no measured coding success rates, latency comparisons or reproducible benchmark procedure.
Users
Beginners get a graphical route through installing a runtime, downloading a model and selecting it for chat. The explanations distinguish models stored on disk from models loaded into memory, which helps users understand why deleting and unloading solve different problems.
Experienced developers get server-address settings, optional LM Studio authentication, model aliases, context-window behavior and configuration details. Developers using machines with limited memory should pay particular attention to the CPU fallback guidance and the warning that smaller models handle complex, multi-step tasks less reliably.
Capabilities
The documented interface detects hardware, shows runtime status, recommends models, downloads them and lists their storage use. Use with Cline changes the provider and model for the current chat and new sessions, saves the recommended context window and loads the model before the next message.
A chat memory indicator exposes loading status, memory use and runtime connectivity. Model details include architecture, parameter count, quantization, capabilities and execution settings. Ollama details also expose sampling settings, the prompt template, system prompt, Modelfile and license. LM Studio load settings become visible after the model is loaded.
Using it
Requirements
Users need Cline Desktop, either Ollama or LM Studio, sufficient disk space for downloaded models and enough memory for a model plus its context window. The context window is the amount of text a model can consider at once. The page does not specify minimum Cline Desktop or runtime versions.
The table estimates Qwen3 8B at a 5.2 GB download and about 10 GB of memory with a 32K context; gpt-oss 20B at 14 GB and about 16 GB with 64K; and Qwen3-Coder-Next at 52 GB and about 56 GB with 64K. These are estimates, not guaranteed machine requirements.
For hardware labels, Cline counts about three quarters of Apple Silicon unified memory as available to the GPU and detects NVIDIA GPU memory through nvidia-smi. Other GPUs are currently treated as CPU-only for these labels, so the displayed assessment can be more cautious than the hardware warrants.
Mechanism
Cline connects to the selected runtime's server, using [http://localhost:11434] for Ollama and [http://localhost:1234] for LM Studio by default. The Base URL can be changed under the corresponding BYOK provider settings. A different address can point elsewhere, so the Local interface alone does not establish that inference stays on the user's computer.
Loading brings a model into memory; unloading frees that memory without deleting its files. According to the guide, models explicitly loaded through Cline remain resident until unloaded. Automatically loaded Ollama models otherwise unload after a few idle minutes, configurable through OLLAMA_KEEP_ALIVE. Automatically loaded LM Studio models use its configured context length and unload after an idle hour; explicit loading through Cline uses Cline's recommended context instead.
Setup
Open Settings, then Provider, then Local, and select Ollama or LM Studio. The page guides installation when the runtime is missing. Ollama installation guidance varies by operating system; once installed, Cline detects it without restarting and can start it in the background.
For LM Studio, the page offers the desktop download or a command for its background service. It instructs users to open LM Studio once after installation, then use Start LM Studio when needed. Custom addresses and an optional LM Studio API token belong in the runtime's BYOK settings.
Download a model that fits the available storage and memory, then select Use with Cline. If startup fails, the troubleshooting guidance includes starting Ollama with ollama serve or LM Studio with lms server start. Cline can start Ollama only on its own computer; remote servers require separate operation.
Example
For a simple-edit workflow, the page lists Qwen3 8B with a 5.2 GB download, approximately 10 GB of memory use and a 32K context window. Its Ollama tag is qwen3:8b; its LM Studio name is qwen/qwen3-8b.
An illustrative sequence is to check the machine's fit label, download that model, select Use with Cline and request a small edit. The memory indicator can then show whether it is loaded, and Unload and free memory releases its memory afterward. This is a proposed workflow, not a completed coding example: no generated change, execution result or completion time is established.
Assessment & evidence
Limitations
Memory-fit labels are estimates. The guide warns that CPU or mixed CPU/GPU execution is slower, and that the first message on a CPU-only machine can take minutes while the model reads Cline's instructions. It provides no timing guarantees. Smaller models may respond faster while being less reliable on complex tasks.
LM Studio downloads cannot be cancelled from Cline; cancellation must happen in LM Studio. Cline's LM Studio deletion support is limited to supported Hub downloads on the same computer. Models from other sources or with multiple downloaded variants require management through LM Studio's My Models.
The details interface is read-only. Ollama customization requires creating a model through a Modelfile and ollama create; LM Studio defaults are changed in My Models. The page does not establish comprehensive offline operation, telemetry behavior or data-handling guarantees.
Reasoning
The practical inference from the guide is to choose for both memory fit and task difficulty. A model that fits entirely on the GPU avoids the documented CPU slowdown, but the smallest fitting model may struggle with longer reasoning or multi-step edits. A fit badge therefore answers a hardware question rather than proving suitability for a particular codebase.
The page positions Devstral Small 2 for codebase exploration and multi-file edits, estimating a 15 GB download and about 21 GB of memory with 32K context. It positions Qwen3 8B for simple edits. These are the documentation's use-case recommendations; their relative coding quality is not independently established here.
Alternatives
Within this guide, the main choice is Ollama versus LM Studio. It describes Ollama as a lightweight background runtime and LM Studio as a desktop application with a model browser and chat. LM Studio also supports MLX models on Apple Silicon, which the page says are often faster; no measured comparison accompanies that claim.
For broader background, the page links to a local-model overview at [https://docs.cline.bot/running-models-locally/overview.md] and a Cline Desktop overview at [https://docs.cline.bot/usage/cline-desktop.md]. Their contents are outside the available evidence, so their coverage cannot be compared. Other coding assistants and runtimes are not assessed.
Evidence
The evidence is the complete Cline documentation page at [https://docs.cline.bot/usage/cline-desktop-local-models.md]. It contains operating instructions, interface-image references and captions, model sizing tables, provider-specific model names and troubleshooting guidance.
This is a single first-party documentation source. Its interface examples illustrate intended behavior rather than measurements of a reader's machine. Installation success, actual memory consumption, coding quality, model capabilities and security properties have not been tested or independently corroborated.
Access & freshness
Costs
The page gives download sizes and estimated memory needs but no prices, subscription requirements, per-request charges or total operating costs. Monetary costs for Cline Desktop, the runtimes, model access and any hardware changes remain unknown from this evidence.
Storage and memory are concrete resource commitments. Switching runtimes leaves the other runtime's downloaded models on disk, and models loaded through Cline can keep occupying memory until explicitly unloaded. Electricity consumption and any savings compared with hosted models are not quantified.
Rights
The guide describes Ollama as open source but does not identify its license or reproduce its terms. It also says Ollama model details include a license field. That does not establish identical permissions across the recommended models.
The evidence does not establish commercial-use or redistribution rights for Cline Desktop, LM Studio, individual model weights or the documentation itself. Consult the terms for the exact runtime and model before relying on those rights.
Freshness
The documentation snapshot was captured on 24 November 2026 at 20:49:12.632 UTC. The page does not state a publication date, last-update date or applicable Cline Desktop and runtime version numbers.
The model names, sizing estimates, recommendation order, GPU detection rules and runtime integration details describe that snapshot. Their continued availability and compatibility are unknown. The capture date does not establish when the documented features were released.
Actions
Start by comparing free disk space and available memory with the model's download and context-memory estimates. Choose the runtime that suits your existing setup, follow its installation guidance and confirm the configured server address before selecting a model.
Use a small, representative coding task to assess whether the chosen model meets your needs, then inspect the proposed changes. Monitor memory and responsiveness, unload models when finished and review the exact model's license for your intended use. If loading fails, the guide recommends freeing memory or choosing a smaller model.
