What it is
Unsloth is a desktop app for running and training models, also available as Unsloth Studio (a web UI) and Unsloth Core (a code-based Python install). It can run and train LLMs, MLX, GGUF, diffusion, embedding and audio models, and can serve them through an OpenAI-compatible API. It supports fine-tuning methods such as LoRA, QLoRA, full fine tuning, RL, GRPO and DPO, and can export to GGUF, NVFP4, FP8 and other formats.
Who it's for
- Developers who want to run LLMs and diffusion models locally with a UI
- Practitioners fine-tuning models (LoRA, QLoRA, GRPO, DPO) with lower VRAM use
- Users who want local models behind Claude Code, Codex, MCP or an OpenAI-compatible API
- Teams wanting to serve local models over LAN or via a Cloudflare HTTPS link
Requirements
Requirements
- Windows, Linux, WSL or macOS
- Supports multi-GPU setups, NVIDIA, AMD, Intel GPUs, CPUs and the Vulkan backend
- Unsloth Core install uses uv with Python 3.13 (per the install commands)
- Docker route: NVIDIA GPU access on Linux is set up once with the provided install_nvidia_toolkit.sh script; Windows uses Docker Desktop with WSL 2
Setup
Install Unsloth Studio on macOS, Linux or WSL
Run the install script. On macOS you can alternatively install the desktop app with Homebrew.
bashcurl -fsSL https://unsloth.ai/install.sh | shInstall on Windows
Run the PowerShell installer.
powershellirm https://unsloth.ai/install.ps1 | iexLaunch Studio
Start the web UI after installation.
bashunsloth studioInstall Unsloth Core (Linux, WSL)
Code-based install using uv and a virtual environment.
bashcurl -LsSf https://astral.sh/uv/install.sh | sh uv venv unsloth_env --python 3.13 source unsloth_env/bin/activate uv pip install unsloth --torch-backend=autoRun with Docker
Run the unsloth/unsloth image with GPU access, exposing Studio on port 8000 and JupyterLab on 8888.
bashdocker run -d --name unsloth --gpus all --ipc=host \ -p 8000:8000 -p 8888:8888 \ -v "$PWD":/workspace/host \ -v "$HOME/.cache/huggingface":/workspace/.cache/huggingface \ -v unsloth-studio:/opt/unsloth-studio \ unsloth/unsloth && docker logs -f unsloth
Examples
Connect Claude Code to a local model
bashunsloth start claude --model unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_XLWhat it does: Unsloth Start connects Claude Code to a local model with one command.
Expose Studio via secure Cloudflare link
bashunsloth studio --secureWhat it does: Creates a free Cloudflare link serving Unsloth that is accessible globally. The README warns that server-side tools are on by default, so keep your password safe or use --disable-tools.
Headless start with a password
bashUNSLOTH_STUDIO_PASSWORD='your-strong-password' unsloth studio --secure # via env varWhat it does: Sets the admin password non-interactively for headless starts.
Force the Vulkan backend at install
bashexport UNSLOTH_LLAMA_CPP_BACKEND=vulkan # or cpu, cuda, rocm, auto
curl -fsSL https://unsloth.ai/install.sh | shWhat it does: Overrides the llama.cpp backend during installation; other options are cpu, cuda, rocm or auto.
Skip PyTorch (GGUF-only mode)
bashcurl -fsSL https://unsloth.ai/install.sh | UNSLOTH_NO_TORCH=1 shWhat it does: Installs without PyTorch for GGUF-only use.
Pros & cons
Pros
- Pro:Multiple install paths: native desktop app, web UI, pip-style Core and Docker
- Pro:Covers both inference and training, including LoRA, QLoRA, GRPO, DPO and FP8, with export to GGUF and other formats
- Pro:Serves an OpenAI-compatible API and integrates with agents such as Claude Code, Codex and MCP via
unsloth start - Pro:Broad hardware support: NVIDIA, AMD, Intel, CPU, Vulkan and multi-GPU
Cons
- Con:Server-side tools are on by default, so exposing it (LAN or remote) requires care with passwords or --disable-tools
- Con:Windows Core install needs a specific two-step process (torchao first) or it can silently resolve an old Unsloth version
- Con:AMD uses a separate Docker image and AMD/Intel installs follow separate guides, adding setup complexity
Images
