Instructions to use talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-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 talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-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 talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS # Run inference directly in the terminal: llama cli -hf talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS # Run inference directly in the terminal: llama cli -hf talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
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 talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS # Run inference directly in the terminal: ./llama-cli -hf talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
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 talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS # Run inference directly in the terminal: ./build/bin/llama-cli -hf talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
Use Docker
docker model run hf.co/talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
- LM Studio
- Jan
- vLLM
How to use talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
- Ollama
How to use talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF with Ollama:
ollama run hf.co/talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
- Unsloth Desktop
- Pi
How to use talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF with Docker Model Runner:
docker model run hf.co/talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
- Lemonade
How to use talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
Run and chat with the model
lemonade run user.Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF-UD-IQ4_XS
List all available models
lemonade list
- Hermes Agent
How to use talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-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 talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
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 talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS
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 "talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF:UD-IQ4_XS" \ --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"
Qwen3.8-Flash-Next REAP128 86B Unity OpenCode GGUF
This is an experimental, lossy, expert-pruned GGUF derivative of
Qwen/Qwen3.8-Flash-Next, built from the
UD-IQ4_XS GGUF published by
unsloth/Qwen3.8-Flash-Next-GGUF.
It was created to test local Unity/C# coding and OpenCode-style tool use on a machine that cannot keep the original model fully resident in fast memory. This is not a conventional fine-tune: no weights were trained. Instead, routed experts were selected independently for each MoE layer using activation-weighted REAP saliency collected from a small, English-only calibration set.
Important warning
This model is a research experiment, not a drop-in replacement for the original model. Removing experts causes irreversible capability loss. The calibration set is small and strongly biased toward Unity, C#, repository navigation, code review, and tool-calling workflows. General knowledge, factual reliability, multilingual ability, reasoning, and out-of-domain performance may be substantially worse. No safety evaluation or broad benchmark suite has been run.
Model summary
| Property | Value |
|---|---|
| Source architecture | Qwen3.8-Flash-Next |
| Source routed experts per MoE layer | 512 |
| Retained routed experts per MoE layer | 128 |
| Routed experts selected per token | 10 |
| MoE layers processed | 48 |
| Stored parameter values after pruning | approximately 86.3B |
| Language-model parameter values after pruning | approximately 35B |
| Activated language-model parameters per token | approximately 6B |
| Sparse n-gram embedding table | approximately 51B |
| Quantization | UD-IQ4_XS |
| GGUF file size | 48,853,994,112 bytes (45.50 GiB) |
The 86B in the repository name refers to the approximate total number of stored parameter values, including the sparse n-gram embedding table. It does not mean that 86B parameters are activated for every token. Likewise, this model should not be described as “A58B.”
Expert-selection method
The retained experts were ranked separately in every layer. For each routed expert, the observer accumulated the mean of:
router_gate_weight * L2_norm(expert_output)
The top 128 experts by this score were retained in each layer. This was not random pruning and it was not a simple “first 128 experts” selection.
Calibration details:
- 50 English prompts designed for an OpenCode-like coding-agent workload
- 30 prompts emphasizing native tool calls and repository operations
- 20 prompts emphasizing direct Unity/C# implementation, debugging, and review
- simulated file listing, text search, file reading, shell, patching, and test workflows
- 5,120 observer tokens processed
- 51,200 routed-expert observations per layer
- between 408 and 491 of the original 512 experts observed per layer
The exact retained expert indices and the complete saliency output are included in this repository.
Intended use
- Experimental local inference with
llama.cpp - Unity and C# coding assistance
- OpenCode-style repository exploration and tool use
- Studying domain-biased MoE expert pruning
Do not rely on this model for high-stakes decisions or factual answers without independent verification.
Running with llama.cpp
The following configuration was used on the test machine. It favors a 32K context and places MoE work on system RAM while offloading as much as possible to the GPU:
.\llama-server.exe `
-m ".\Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-UD-IQ4_XS.gguf" `
--alias "qwen38-reap128-unity-opencode" `
--host 0.0.0.0 `
--port 8080 `
--parallel 1 `
-ngl all `
--fit off `
--n-cpu-moe 32 `
-c 32768 `
--flash-attn on `
--cache-type-k q4_0 `
--cache-type-v q4_0 `
-t 16 `
-tb 16 `
-b 2048 `
-ub 512 `
--no-mmap `
--jinja
Hardware-dependent options such as --n-cpu-moe, batch sizes, thread counts, and GPU offload
should be tuned for your system. --no-mmap requires enough physical RAM for the CPU-resident
portion; omitting it may allow memory mapping and SSD-backed paging, but can be much slower.
The server exposes an OpenAI-compatible endpoint at http://127.0.0.1:8080/v1.
Included artifacts
Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-UD-IQ4_XS.gguf: pruned modelexperts.json: retained expert indices for every layercalibration/opencode-50-prompts.jsonl: English calibration promptscalibration/opencode-50-results.json: recorded model outputs and simulated tool callscalibration/opencode-50-transcript.txt: observer input transcriptcalibration/opencode-50-reap.json: per-layer REAP measurements and scoresstart-server.ps1: example Windows launcher
Validation notes
In limited local checks, the model produced native tool calls and completed a two-step
list_files then search_text chain, and it generated usable Unity/C# code. However, it also
showed clear general-quality degradation, including a bad factual response, and one direct
no-tools request triggered a native PEG-parser error in the tested llama.cpp build. These
observations are anecdotal and are not benchmark results.
Attribution and license
The base model is by the Qwen team. The source quantization is from Unsloth. This repository is
distributed under the qwen-community-1.0 license inherited from the base model. Review the base
model license and acceptable-use terms before downloading or redistributing this derivative.
- Downloads last month
- 499
4-bit
Model tree for talhasarac/Qwen3.8-Flash-Next-REAP128-86B-Unity-OpenCode-GGUF
Base model
Qwen/Qwen3.8-Flash-Next