Instructions to use mudler/Qwen3.8-27B-APEX-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mudler/Qwen3.8-27B-APEX-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf mudler/Qwen3.8-27B-APEX-GGUF:F16 # Run inference directly in the terminal: llama cli -hf mudler/Qwen3.8-27B-APEX-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mudler/Qwen3.8-27B-APEX-GGUF:F16 # Run inference directly in the terminal: llama cli -hf mudler/Qwen3.8-27B-APEX-GGUF:F16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf mudler/Qwen3.8-27B-APEX-GGUF:F16 # Run inference directly in the terminal: ./llama-cli -hf mudler/Qwen3.8-27B-APEX-GGUF:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf mudler/Qwen3.8-27B-APEX-GGUF:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf mudler/Qwen3.8-27B-APEX-GGUF:F16
Use Docker
docker model run hf.co/mudler/Qwen3.8-27B-APEX-GGUF:F16
- LM Studio
- Jan
- Ollama
How to use mudler/Qwen3.8-27B-APEX-GGUF with Ollama:
ollama run hf.co/mudler/Qwen3.8-27B-APEX-GGUF:F16
- Unsloth Studio
How to use mudler/Qwen3.8-27B-APEX-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mudler/Qwen3.8-27B-APEX-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mudler/Qwen3.8-27B-APEX-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mudler/Qwen3.8-27B-APEX-GGUF to start chatting
- Pi
How to use mudler/Qwen3.8-27B-APEX-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mudler/Qwen3.8-27B-APEX-GGUF:F16
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mudler/Qwen3.8-27B-APEX-GGUF:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use mudler/Qwen3.8-27B-APEX-GGUF with Docker Model Runner:
docker model run hf.co/mudler/Qwen3.8-27B-APEX-GGUF:F16
- Lemonade
How to use mudler/Qwen3.8-27B-APEX-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mudler/Qwen3.8-27B-APEX-GGUF:F16
Run and chat with the model
lemonade run user.Qwen3.8-27B-APEX-GGUF-F16
List all available models
lemonade list
- Hermes Agent
How to use mudler/Qwen3.8-27B-APEX-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mudler/Qwen3.8-27B-APEX-GGUF:F16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default mudler/Qwen3.8-27B-APEX-GGUF:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use mudler/Qwen3.8-27B-APEX-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mudler/Qwen3.8-27B-APEX-GGUF:F16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "mudler/Qwen3.8-27B-APEX-GGUF:F16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
⚡ Each donation = another big model quantized
I host 30+ free APEX quantizations as independent research. My only local hardware is an NVIDIA DGX Spark (122 GB unified memory), enough for ~30-50B-class models, but bigger ones (200B+) require rented compute on H100/H200/Blackwell, typically $20-100 per quant.
If APEX quants are useful to you, your support directly funds those bigger runs.
Qwen3.8-27B APEX GGUF
Two quantizations of Qwen/Qwen3.8-27B, plus the vision projector.
Brought to you by the LocalAI team | APEX Project
| File | Size | Pick this if |
|---|---|---|
| Qwen3.8-27B-APEX-I-Mini.gguf | 13.94 GB | you have 16 GB of VRAM |
| Qwen3.8-27B-APEX-I-Nano.gguf | 11.24 GB | you have 12 GB |
| mmproj-Qwen3.8-27B-F16.gguf | 0.93 GB | you want vision, pair with either |
Both include the MTP / NextN head as blk.64, so speculative decoding runs against the file itself. The head is kept at Q8_0: a drafter that mispredicts the target wastes the speculation, so it does not get compressed with the rest.
# text
llama-cli -m Qwen3.8-27B-APEX-I-Mini.gguf -p "Your prompt" -ngl 99
# vision
llama-mtmd-cli -m Qwen3.8-27B-APEX-I-Mini.gguf \
--mmproj mmproj-Qwen3.8-27B-F16.gguf -ngl 99
# speculative decoding
llama-cli -m Qwen3.8-27B-APEX-I-Mini.gguf --spec-type draft-mtp -ngl 99
Needs a recent llama.cpp with qwen3_5 support. The architecture landed after the model shipped on 2026-08-13, and older builds segfault on load.
Why only two sizes
The bit allocation in these files comes from a measurement rather than a hand-picked recipe, and the measurement said the approach only helps below about 15.2 GB.
The same allocation was built at four sizes and compared against a flat per-role allocation, the kind unsloth, bartowski and ggml-org ship. Each of ours came out slightly smaller than its control, so the comparison interpolates the flat curve to each file's exact size:
| band | size | KL vs BF16 | flat, same size | difference |
|---|---|---|---|---|
| Balanced | 17.65 GB | 0.011211 | 0.009832 | 14.0% worse |
| Compact | 15.17 GB | 0.030468 | 0.030705 | tie |
| Mini | 13.49 GB | 0.049020 | 0.065369 | 25.0% better |
| Nano | 10.79 GB | 0.121640 | 0.156226 | 22.1% better |
It depends on how much damage there is to move around. A flat allocation's KL against BF16 runs 0.0021 at Q6_K, 0.0099 at 17.6 GB, 0.0617 at 13.7 GB, and 0.1448 at 11.0 GB. At Q4 and above the model is already close to lossless, so there is little for a smarter allocation to redistribute. By Mini there is roughly six times as much.
A Quality or Balanced tier from us would be the same flat recipe you can already download elsewhere, so it is not here.
(Those sizes are the trunk-only files used for the comparison. The published ones are about 0.45 GB larger because they carry the MTP head.)
What the measurement found
Qwen3.8-27B has no experts, so the usual APEX trick does not apply: its FFN is 62.6% of the parameters and every weight runs for every token. It also interleaves three linear-attention layers per full-attention layer (64 layers, full attention at i%4==3), which splits attention into two groups that behave differently.
Dropping one tensor group at a time from Q6_K to Q3_K and dividing the KL increase by the gigabytes saved gives:
| group | dKL per GB |
|---|---|
| token_embd | 0.00231 |
| FFN middle layers | 0.00565 |
| ffn_gate | 0.00596 |
| ffn_up | 0.00806 |
| linattn_gate | 0.00880 |
| ffn_down | 0.00920 |
| linattn_qkv | 0.01077 |
| linattn_out | 0.01474 |
| FFN edge layers | 0.01483 |
| full-attention | 0.01583 |
| output | 0.03526 |
A 15.3x spread. Three things stand out. output and token_embd have identical shape, 5120 x 248320, yet output is 15.3x more sensitive, where most recipes place them one step apart. FFN edge layers cost 2.63x more per byte than middle layers. And the three linear-attention tensors range from 0.00880 to 0.01474, so compressing them uniformly loses to a flat baseline.
Limitations
Throughput was not measured. Different quant types select different kernels, so speed is a separate question. The +35-52% tok/s figure quoted for draft-mtp on this model comes from a third-party report.
These numbers are specific to this architecture. The linear and full attention split is unusual, so they should not be assumed to carry over to other dense models.
token_embd has a floor. It is an embedding lookup rather than a matmul, so llama-imatrix collects nothing for it, and very-low-bit types that need imatrix data fail at quantize time. IQ2_S works, IQ2_XXS does not.
Method
Imatrix from diverse calibration data (chat, code, reasoning, tool-calling, agentic traces, Wikipedia), 200 chunks. KL measured against BF16 reference logits on wikitext-2-raw, n_ctx 512, 200 chunks. Every arm shares one imatrix and one set of reference logits, so the numbers above are directly comparable. 19 arms in total.
Perplexity is not quoted per file because it does not separate them: all four land within about 0.07 of each other, well inside the error bars.
- Downloads last month
- 2,734
We're not able to determine the quantization variants.
Model tree for mudler/Qwen3.8-27B-APEX-GGUF
Base model
Qwen/Qwen3.8-27B