Run and train AI models on your own local hardware via an open-source UI
open sourceApache-2.0 AND AGPL-3.0-onlyself-hostablefree
Unsloth is an open source framework for fine-tuning and running LLMs and other models on your own hardware. Unsloth Core, the original Python library, trains LLMs, vision, TTS, embedding and diffusion models with LoRA, QLoRA, full fine-tuning, pretraining and reinforcement learning (GRPO, DPO, FP8), which Unsloth says runs about 2x faster with up to 70% less VRAM and no accuracy loss, and exports to GGUF, safetensors and other formats. Unsloth Studio (a web UI) and Unsloth Desktop (its app for macOS, Windows and Linux) add no-code training, Data Recipes that build datasets from PDFs, CSVs and DOCX files, and a local chat for GGUF and MLX models, built on llama.cpp, with tool calling, sandboxed code execution, web search, browser use and MCP servers. It serves loaded models through OpenAI- and Anthropic-compatible APIs, and unsloth start points Claude Code, Codex, OpenCode, OpenClaw and other coding agents at a local model. The core library is Apache-2.0 and Studio's UI is AGPL-3.0.
Ways to install
On your own server
Package managers
Problems it solves
- fine-tune Llama or Qwen on my own data with a single consumer GPU without running out of VRAM
- my LoRA fine-tuning run takes too long and keeps hitting CUDA out-of-memory errors
- train a small model to follow our company's support style from a few thousand examples
- do GRPO reinforcement learning to teach a model to reason, on a free Colab GPU
- fine-tune a model without writing a training script, from a point-and-click interface
- turn a folder of PDFs and Word documents into a training dataset for an LLM
- export my fine-tuned model to GGUF so I can run it in Ollama or LM Studio
- fine-tune an LLM on an AMD Radeon GPU or a Mac instead of NVIDIA
- train a custom text-to-speech voice model on my own recordings
- fine-tune an embedding model on our domain to improve search results
- run open-weight models like Gemma or DeepSeek locally in a desktop app with a chat window
- point Claude Code or Codex at a model running on my own machine instead of a paid API
- serve a local model behind an OpenAI-compatible API for my other apps
- let a local model run Python and shell commands but only touch the folders I allow
- compare two local models side by side on the same prompts
- reach the local model on my home PC from my phone over a secure HTTPS link
- generate images with a diffusion model locally and fine-tune it on my own pictures
- a free open source alternative to paid LLM fine-tuning services
- use a local LLM to drive Blender or Unity through MCP
- faster QLoRA training in Python that drops into Hugging Face TRL code
- run an LLM chat app offline with no telemetry for privacy
Features
- fine-tuning with LoRA, QLoRA, full fine-tuning and pretraining, about 2x faster with up to 70% less VRAM (Unsloth's figures)
- reinforcement learning: GRPO, GSPO, DPO and FP8 training
- trains text, vision, TTS, audio, embedding, decision and diffusion image and video models
- Unsloth Studio web UI and Unsloth Desktop app for macOS, Windows and Linux (beta) with no-code training
- Data Recipes: build training datasets from PDF, CSV, JSON, DOCX and TXT files
- export models to GGUF, 16-bit safetensors, NVFP4, FP8 and other formats
- local chat for GGUF, MLX and diffusion models on llama.cpp, with multi-GPU inference and automatic offloading
- self-healing tool calling, code execution in an OS sandbox (bubblewrap, Seatbelt, MXC), web search, deep research and browser use
- MCP client, including connections to Blender, Unity, Unreal Engine, Godot, Figma and Roblox Studio
- OpenAI-compatible /v1/chat/completions and /v1/responses and Anthropic-compatible /v1/messages endpoints with API keys
View 7 more
- unsloth start: connects Claude Code, Codex, VS Code, OpenCode, Hermes Agent, OpenClaw and other agents to a local model
- remote access over LAN or a free Cloudflare HTTPS tunnel, with passwords and failed-login limits
- model arena to compare models side by side
- free Colab and Kaggle notebooks for hundreds of models
- runs on NVIDIA, AMD and Intel GPUs, Apple Silicon and CPUs; AMD Ryzen AI NPU through a managed Lemonade runtime
- Docker images (unsloth/unsloth, unsloth/unsloth-rocm), Homebrew cask, WinGet and install scripts
- no usage telemetry
Limitations
- Can't train models on a CPU alone: without a GPU, Unsloth Studio runs only GGUF chat and Data Recipes; training needs an NVIDIA, AMD or Intel GPU or a Mac3
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
Alternatives
The same job
These do what Unsloth does.
- LM Studio Experiment with LLMs on your computer: chat interface and programmable API
- Ollama Start building with open models, locally or in the cloud
- Lemonade Server Refreshingly fast local AI: a local AI server for text, images and speech on your own GPU and NPU
- Colossal-AI PyTorch library for distributed training, fine-tuning and inference of large AI models
- Songe A training engine for your local model, using your idle compute
