TutorialModels & inference
How to run Qwen locally: Qwen3.8-27B on Windows and Mac, with download sizes
How to run Qwen locally: check which Qwen3.8 download fits your Windows PC or Mac, then start it with Ollama, LM Studio or llama.cpp.

Illustration generated with ChatGPT
The answer to how to run Qwen locally starts with one checkpoint: Qwen3.8-27B is the only Qwen3.8 open-weight model small enough for a desktop or laptop. Ollama's default build, qwen3.8:27b, is an 18GB download, and ollama run qwen3.8 starts it on Windows or macOS. The other two Qwen3.8 releases take 360 GB and 4.89 TB of storage on Hugging Face.
Every figure below comes from the Qwen repository and model cards, the Ollama library, Hugging Face file listings and each runner's documentation, all read on 2026-11-12. Nothing was run or benchmarked for this article, so it contains no speed figures.
How to run Qwen locally: what Qwen3.8 needs
Qwen3.8-27B needs a runner (Ollama, LM Studio or llama.cpp) and a quantized copy of the weights. Qwen's own repositories hold the weights in Transformers format: 55.6 GB at full precision and 30.9 GB as FP8. The 4-bit builds most people download are much smaller.
- Disk: 18GB for the default Ollama tag. A 4-bit GGUF file on Hugging Face is 16.6 to 19.4 GB, depending on who converted it.
- Memory: LM Studio's catalog page for
qwen/qwen3.8-27blists a minimum system memory of 16 GB. Ollama publishes no memory minimum for the model. - Operating system: Ollama needs Windows 10 22H2 or newer, or macOS 14 or newer. LM Studio also needs macOS 14 or newer on a Mac.
Treat the file size as the starting point for memory. The runners load the model into memory, and Ollama's docs say a larger context length increases the memory a model needs.
This decision table maps common machines to a first step. Each row rests on a documented fact covered later in this guide.
| Your machine | Start with | Why |
|---|---|---|
| Windows PC with an NVIDIA or AMD Radeon GPU | ollama run qwen3.8 | Ollama for Windows supports both GPU brands; the default tag is 18GB |
| Mac with Apple silicon | ollama run qwen3.8, or an MLX build in LM Studio | Ollama uses the M series CPU and GPU; LM Studio requires Apple silicon |
| Intel Mac | Ollama or llama.cpp | Ollama runs CPU only on x86 Macs; LM Studio does not support Intel Macs |
| Windows on ARM (Snapdragon X Elite) | LM Studio | LM Studio's requirements page lists ARM; Ollama's Windows page does not mention it |
| You want a specific quantization level | llama.cpp with a GGUF file | Third-party GGUF files range from 6.2 GB to 31.5 GB |
| The 18GB build is too large for the machine | ollama run qwen3.5:9b or a smaller tag | Ollama lists qwen3.5:9b at 6.6GB to 7.6GB |
Which Qwen3.8 checkpoints are open weights?
The Hugging Face API lists six Qwen3.8 repositories under the Qwen organization: three models, each with an FP8 copy. Qwen's Qwen3.8 repository on GitHub (opens in a new tab) dates the 27B release to 2026-08-14 and the 2.4T release to 2026-08-12.
| Repository | Parameters | Stored on Hugging Face | License |
|---|---|---|---|
Qwen/Qwen3.8-27B | 27B, dense | 55.6 GB | Apache-2.0 |
Qwen/Qwen3.8-27B-FP8 | 27B, FP8 | 30.9 GB | Apache-2.0 |
Qwen/Qwen3.8-Flash-Next | 125B with 6B activated, plus 51B n-gram embedding and 4B MTP | 360 GB | Qwen Community License 1.0 |
Qwen/Qwen3.8-2.4T-A95B | 2.4T in total, 95B activated | 4.89 TB | Qwen3.8-Max License |
Qwen/Qwen3.8-Flash-Next-FP8 and Qwen/Qwen3.8-2.4T-A95B-FP8 also exist. Their sizes were not read for this guide.
The Qwen3.8-27B model card (opens in a new tab) describes a vision-language model that takes images and video, with a native context length of 262,144 tokens. Thinking mode is on by default. The Flash-Next model card calls that model an experimental preview of the architecture planned for Qwen4.
Qwen does not publish a GGUF version of Qwen3.8. A search of the Qwen organization through the Hugging Face API on 2026-11-12 returned no Qwen3.8 GGUF repository, and the GitHub README tells llama.cpp users to look for models ending in GGUF on the Hub. The GGUF and MLX files in the next section are conversions by other publishers.
Qwen3.8-27B download sizes by quantization
Sizes for Hugging Face files are converted from the byte counts in each repository's file listing, with 1 GB as 1,000,000,000 bytes. Ollama sizes appear as the qwen3.8 tags page (opens in a new tab) shows them. All rows were read on 2026-11-12.
| Source | Build | Download size |
|---|---|---|
| Ollama library | qwen3.8:27b (same ID as qwen3.8:latest) | 18GB |
| Ollama library | qwen3.8:27b-q4_K_M | 18GB |
| Ollama library | qwen3.8:27b-q8_0 | 30GB |
| Ollama library | qwen3.8:27b-bf16 | 56GB |
| Ollama library, labeled MLX | qwen3.8:27b-mlx | 18GB |
| Ollama library, labeled MLX | qwen3.8:27b-mxfp8 | 30GB |
ggml-org/Qwen3.8-27B-GGUF | Qwen3.8-27B-Q4_K_M.gguf | 19.4 GB |
ggml-org/Qwen3.8-27B-GGUF | Qwen3.8-27B-Q8_0.gguf | 28.6 GB |
lmstudio-community/Qwen3.8-27B-GGUF | Qwen3.8-27B-Q4_K_M.gguf | 16.8 GB |
lmstudio-community/Qwen3.8-27B-GGUF | Qwen3.8-27B-Q6_K.gguf | 22.4 GB |
lmstudio-community/Qwen3.8-27B-MLX-4bit | three safetensors files | 16.1 GB |
unsloth/Qwen3.8-27B-GGUF | Qwen3.8-27B-UD-IQ1_S.gguf | 6.2 GB |
unsloth/Qwen3.8-27B-GGUF | Qwen3.8-27B-UD-Q2_K_XL.gguf | 9.9 GB |
unsloth/Qwen3.8-27B-GGUF | Qwen3.8-27B-UD-Q3_K_XL.gguf | 13.1 GB |
unsloth/Qwen3.8-27B-GGUF | Qwen3.8-27B-UD-Q4_K_M.gguf | 16.6 GB |
unsloth/Qwen3.8-27B-GGUF | Qwen3.8-27B-UD-Q5_K_M.gguf | 19.9 GB |
unsloth/Qwen3.8-27B-GGUF | Qwen3.8-27B-Q8_0.gguf | 29.0 GB |
unsloth/Qwen3.8-27B-GGUF | Qwen3.8-27B-UD-Q8_K_XL.gguf | 31.5 GB |
Qwen/Qwen3.8-27B-FP8 (official) | safetensors, FP8 | 30.9 GB |
Qwen/Qwen3.8-27B (official) | safetensors, BF16 | 55.6 GB |
The Ollama tags page lists 13 tags in total, including mtp variants at the same three sizes. All three GGUF sources (ggml-org, lmstudio-community and unsloth) are third-party conversions that name Qwen/Qwen3.8-27B as their base model. Image input with a GGUF file also needs a projector file. Each of those repositories carries one, at 0.6 to 0.9 GB.
Three publishers ship a Q4_K_M file, and the sizes differ by up to 2.8 GB. Check the file listing of the exact repository before you plan disk space.
What Ollama, LM Studio and llama.cpp say they need
None of the three runners publishes a memory figure for Qwen3.8-27B in its documentation. These are their stated platform requirements.
| Runner | Windows | macOS | Memory guidance in the docs |
|---|---|---|---|
| Ollama | Windows 10 22H2 or newer; NVIDIA drivers 551.61 or newer; AMD Radeon through ROCm v7 or Vulkan | macOS Sonoma (v14) or newer; Apple M series (CPU and GPU) or x86 (CPU only) | At least 4GB of disk for the Windows install, plus tens to hundreds of GB for models |
| LM Studio | x64 with AVX2, or ARM (Snapdragon X Elite) | Apple silicon, macOS 14.0 or newer; Intel Macs are not supported | 16GB of RAM or more recommended; on Windows, at least 4GB of dedicated VRAM recommended |
| llama.cpp | Installs through Winget or conda-forge | Installs through Homebrew, MacPorts, Nix or conda-forge | No minimum stated; the README describes CPU and GPU hybrid inference for models larger than total VRAM |
The LM Studio system requirements page (opens in a new tab) adds that 8GB Macs may still work with smaller models and modest context sizes. Every 4-bit Qwen3.8-27B build in the size table is 16 GB or larger.
Run Qwen3.8 with Ollama on Windows and Mac
Ollama is the shortest path, because the library already holds a quantized Qwen3.8-27B with vision, tools and thinking support.
Install Ollama
On Windows, download OllamaSetup.exe from ollama.com or use the PowerShell command from the Ollama README. The installer does not need Administrator rights.
irm https://ollama.com/install.ps1 | iex
On macOS, mount ollama.dmg and drag the app to Applications, or use the README's shell command.
curl -fsSL https://ollama.com/install.sh | sh
Both commands run a remote script. Read the script first if your policy requires it.
Pull and run the model
ollama pull qwen3.8:27b
ollama run qwen3.8
The tags page shows qwen3.8:latest and qwen3.8:27b with the same ID, so both names load the same 18GB build. To pick another build, add its tag, for example ollama run qwen3.8:27b-q8_0.
Check memory use and context length
ollama ps
ollama ps lists each loaded model with its size, the CPU and GPU split and the allocated context. Ollama sets the default context by VRAM: 4k below 24 GiB, 32k from 24 to 48 GiB and 256k at 48 GiB or more. The Ollama context length page (opens in a new tab) documents the OLLAMA_CONTEXT_LENGTH variable for changing that default.
For API calls and client code, see the HuiaHub guide to running a local LLM with Ollama and calling it from your code.
Run Qwen3.8 with LM Studio
LM Studio's model catalog has an entry named qwen/qwen3.8-27b. The entry's page lists its sources as lmstudio-community/Qwen3.8-27B-GGUF plus MLX builds at 4, 5, 6 and 8 bits.
Download in the app
- Open the Discover tab with Cmd + 2 on a Mac or Ctrl + 2 on Windows.
- Search for
qwen/qwen3.8-27b. - Pick a download option. LM Studio's docs advise a 4-bit option or higher if the machine can run it.
- Load the model and start a chat.
Use the lms command line
The lms tool ships with LM Studio. Run the app once before using it.
lms get <model name>
lms ls
lms load --estimate-only <model_key>
lms chat
lms get searches for a model and downloads it. The docs' own example is lms get llama-3.1-8b, and LM Studio's catalog lists this model as qwen/qwen3.8-27b.
lms load --estimate-only prints a memory estimate without loading the model, and it honors --context-length and --gpu. Take the model key from lms ls. For a GGUF file downloaded elsewhere, LM Studio documents lms import <path/to/model.gguf> and marks it experimental.
Run Qwen3.8 with llama.cpp from a GGUF file
llama.cpp runs GGUF files directly, so you choose the exact file and the context size. Its install page lists one command per platform.
# Windows
winget install llama.cpp
# macOS
brew install llama.cpp
Let llama.cpp fetch the file
llama-server -hf ggml-org/Qwen3.8-27B-GGUF
The -hf option takes a Hugging Face repository with an optional quantization suffix such as :Q8_0. It defaults to Q4_K_M and downloads the projector file automatically when the repository has one. llama-server exposes an OpenAI-compatible API, and llama-cli opens a chat in the terminal. The README's quick start writes the same two tools as llama serve and llama cli.
Point llama.cpp at a local file
llama-server -m Qwen3.8-27B-Q4_K_M.gguf --mmproj mmproj-Qwen3.8-27B-Q8_0.gguf
Those file names come from ggml-org/Qwen3.8-27B-GGUF. Use the names of the files you downloaded. The --mmproj file enables image input. HuiaHub's guide to running a vision language model locally covers that setup.
The -c option sets the context size. Its default of 0 reads the value from the model file, and the ggml-org GGUF metadata reports 262,144 tokens. To cap the context, pass a number, for example -c 8192.
Qwen's own documentation lags here. On 2026-11-12 the llama.cpp page at qwen.readthedocs.io used Qwen3 examples, and the Ollama page still covered Qwen2.5 under a notice saying it is "to be updated for Qwen3". For help choosing a runner, read llama.cpp vs Ollama vs LM Studio.
If 27B is too large: smaller Qwen models in the Ollama library
The Ollama library has no Qwen3.8 tag below 27B. A smaller option from the same family is qwen3.5, which the Qwen3.8 model card names as the architecture Qwen3.8 builds on. Ollama's qwen3.5 page lists 72 tags with text and image input and a 256K context window.
| Tag | Size on the Ollama qwen3.5 page (2026-11-12) |
|---|---|
qwen3.5:0.8b | 1.2GB to 1.3GB |
qwen3.5:2b | 2.7GB to 3.1GB |
qwen3.5:4b | 3.3GB to 4.0GB |
qwen3.5:9b (also latest) | 6.6GB to 7.6GB |
qwen3.5:27b | 17GB to 20GB |
qwen3.5:35b | 22GB |
qwen3.5:122b | 81GB |
The page shows a range for most sizes and does not explain it.
ollama run qwen3.5:9b
Another route is a lower-bit Qwen3.8-27B file, such as the 9.9 GB or 13.1 GB unsloth GGUF. Neither Qwen nor the runners' docs quantify how much quality those files lose.
License
Qwen3.8-27B and its FP8 copy are Apache-2.0 in their model card metadata, and the LICENSE file in Qwen/Qwen3.8-27B is the Apache License 2.0 text. The Hugging Face API also tags the Qwen3.5 models, from 0.8B to 122B-A10B, as Apache-2.0.
Custom licenses cover the two larger Qwen3.8 models. Both require the model name on the interface of commercial products above 100,000,000 monthly active users or US$20,000,000 in monthly revenue. The Qwen3.8-Max License on Qwen/Qwen3.8-2.4T-A95B requires a separate license for commercial use by model-as-a-service or AI work assistant businesses above US$50,000,000 in revenue over twelve consecutive months.
On Qwen/Qwen3.8-Flash-Next, the Qwen Community License 1.0 sets that requirement without a revenue threshold. Each license exempts internal use that gives no third party access to the model.
The ggml-org, lmstudio-community and unsloth conversions of Qwen3.8-27B are tagged Apache-2.0 on Hugging Face. GitHub's API reports Apache-2.0 for the QwenLM/Qwen3.8 repository, whose README points to the license file shipped with each set of weights.
Frequently asked questions
Can Qwen3.8-27B read images when it runs in Ollama?
The Ollama library page tags qwen3.8 with vision and lists text and image as inputs. The Qwen model card also describes video understanding, which the Ollama page does not list. With llama.cpp, image input needs the separate mmproj file from the GGUF repository.
How do I turn off thinking in Qwen3.8?
The model card says thinking mode is on by default and can be disabled per request. In Ollama's API, set the `think` field to `false` on a chat or generate request. LM Studio's catalog entry for the model has an Enable Thinking field that defaults to true.
Where does Ollama store the Qwen3.8 download, and can I move it?
Ollama's FAQ gives `~/.ollama/models` on macOS and `C:\Users\%username%\.ollama\models` on Windows. Set the `OLLAMA_MODELS` environment variable to store models in another directory, then restart Ollama.
Which sampling settings does Qwen recommend for Qwen3.8-27B?
The model card suggests temperature 1.0, top_p 0.95 and top_k 20 in thinking mode. For non-thinking mode it suggests temperature 0.7, top_p 0.80, top_k 20 and a presence penalty of 1.5.
Sources
- 1.GitHub - QwenLM/Qwen3.8: Qwen3.8 is the large language model series developed by Qwen team, Alibaba Group. · GitHubRepositoryPrimarygithub.com
- 2.Qwen/Qwen3.8-27B · Hugging FaceOfficial docsPrimaryhuggingface.co
- 3.unsloth/Qwen3.8-27B-GGUF · Hugging FaceOfficial docsPrimaryhuggingface.co
- 4.qwen3.8Official docsPrimaryollama.com
- 5.Tags · qwen3.8Official docsPrimaryollama.com
- 6.qwen3.5Official docsPrimaryollama.com
- 7.Ollama - QwenOfficial docsPrimaryqwen.readthedocs.io
- 8.llama.cpp - QwenOfficial docsPrimaryqwen.readthedocs.io
- 9.Windows - OllamaOfficial docsPrimarydocs.ollama.com
- 10.macOS - OllamaOfficial docsPrimarydocs.ollama.com
- 11.System Requirements | LM StudioWeblmstudio.ai
- 12.huggingface.co/api/modelsRepositoryPrimary
- 13.huggingface.co/Qwen/Qwen3.8-27B/raw/main/LICENSERepositoryPrimary
- 14.huggingface.co/api/models/Qwen/Qwen3.8-27B/tree/mainRepositoryPrimary
- 15.huggingface.co/api/models/Qwen/Qwen3.8-Flash-NextRepositoryPrimary
- 16.huggingface.co/Qwen/Qwen3.8-Flash-Next/raw/main/LICENSERepositoryPrimary
- 17.huggingface.co/api/models/Qwen/Qwen3.8-2.4T-A95BRepositoryPrimary
- 18.huggingface.co/Qwen/Qwen3.8-2.4T-A95B/raw/main/LICENSERepositoryPrimary
- 19.huggingface.co/api/modelsRepositoryPrimary
- 20.huggingface.co/api/models/ggml-org/Qwen3.8-27B-GGUF/tree/mainRepositoryPrimary
- 21.huggingface.co/api/models/ggml-org/Qwen3.8-27B-GGUFRepositoryPrimary
- 22.huggingface.co/api/models/lmstudio-community/Qwen3.8-27B-MLX-4bit/tree/mainRepositoryPrimary
- 23.GitHub - ollama/ollama: Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models. · GitHubRepositoryPrimarygithub.com
- 24.docs.ollama.com/cliOfficial docsPrimary
- 25.docs.ollama.com/context-lengthOfficial docsPrimary
- 26.FAQ - OllamaOfficial docsPrimarydocs.ollama.com
- 27.docs.ollama.com/capabilities/thinkingOfficial docsPrimary
- 28.lmstudio.ai/models/qwen/qwen3.8-27bWeb
- 29.lmstudio.ai/docs/app/basics/download-modelWeb
- 30.lmstudio.ai/docs/cli/local-models/getWeb
Spotted an error? See our corrections policy.
Enjoyed this? Get the weekly brief.
New guides, Project & Tool of the Week and the AI developments that matter. One email, no spam.
Read next
TutorialModels & inferenceHow to run Gemma 4 locally on Windows and Mac: sizes, downloads and commands
Pick a Gemma 4 size that fits your PC or Mac, check the published download sizes, and see how to run Gemma 4 locally with Ollama, LM Studio or llama.cpp.
9 min read
- ComparisonModels & inference
Ollama vs vLLM: which one to run your open models with
Ollama vs vLLM compared on model formats, hardware, OpenAI-compatible APIs, batching, install and licenses, so you can pick the right one.
7 min read
NewsModels & inferenceIs Gemini 4 Carbon really the top model? What independent tests show
Google calls Gemini 4 Carbon its strongest model. Independent benchmarks and first reviews show where it leads, where it trails and what it costs.
4 min read



