Instructions to use TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning 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 TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning 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 TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning # Run inference directly in the terminal: llama cli -hf TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning # Run inference directly in the terminal: llama cli -hf TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
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 TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning # Run inference directly in the terminal: ./llama-cli -hf TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
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 TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning # Run inference directly in the terminal: ./build/bin/llama-cli -hf TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
Use Docker
docker model run hf.co/TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
- LM Studio
- Jan
- vLLM
How to use TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
- Ollama
How to use TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning with Ollama:
ollama run hf.co/TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
- Unsloth Desktop
- Pi
How to use TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
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": "TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning with Docker Model Runner:
docker model run hf.co/TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
- Lemonade
How to use TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
Run and chat with the model
lemonade run user.Qwen3.5-9b-Claude-4.8-Opus-reasoning-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
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 TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning
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 "TheCidSama/Qwen3.5-9b-Claude-4.8-Opus-reasoning" \ --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.5-9B-Claude-4.8 (GGUF) — ✨
🧠 More accuracy, 20% less rambling — a sharp local model for code, math & general tasks
Runs on modest hardware. With ~8-9 GB of VRAM or unified memory free, you get a private, offline reasoning assistant that thinks less and lands more. 🚀 This is the v1 edition — tuned to reason efficiently, cut redundant chain-of-thought, and still hit the correct final answer. All local, all yours. 💚
🎯 What it is
A focused fine-tune of Qwen3.5-9B with trace-inversed CoT from Opus4.8 (Dataset not published anywhere) specialized for coding, mathematics, and cybersecurity reasoning. The headline trait: it reaches the goal with roughly 20% shorter thinking traces than the base model while maintaining final-answer accuracy — less wandering, faster tokens-to-solution, lower latency. 🧠⚡
✨ Highlights
- 🪶 ~20% shorter reasoning vs. base model, with accuracy held — tighter CoT, faster answers.
- 💻 Improved coding — cleaner, more runnable solutions across common languages.
- 🧮 Strong math — multi-step problems with the reasoning shown, then a clear final answer.
- 🛡️ Security-aware — geared toward defensive concepts, code review, and CTF-style learning.
- 📦 One quant, well-tuned: ships as Q4_K_M — the size/quality sweet spot.
📦 Download (GGUF quant)
| Quant | Size | Vibe |
|---|---|---|
| 🔵 Q4_K_M | ~5.6 GB | the sweet spot 👌 (recommended — balanced quality & footprint) |
💡 Only Q4_K_M is published for now. Want another quant (Q5_K_M, Q8_0, f16)? Open a discussion and I'll consider it.
🧮 "Will it fit?" — context cheat-sheet
Rough estimates 🤓 (assumes q8_0 KV cache + ~1.5 GB overhead; switch to q4_0 KV cache for ≈2× more context).
| Your VRAM / unified mem | 🔵 Q4_K_M (~8-9G) |
|---|---|
| 8 GB | ~24K ctx |
| 12 GB | ~64K |
| 16 GB | ~100K |
| 24 GB | comfortable headroom |
💡 Apple Silicon / integrated GPUs with unified memory work too — same idea, just slower than a dGPU.
🚀 How to run it
Option A — llama.cpp (recommended) 🦙
- Download
…-Q4_K_M.ggufandllama-serverfrom llama.cpp.⚠️ Use a recent llama.cpp build for current Qwen3 architectures.
- Run a server:
```bash
llama-server
-m ./qwen3.5-9b-reasoner-Q4_K_M.gguf
--ctx-size 16384
--n-gpu-layers 99
-fa on
--cache-type-k q8_0 --cache-type-v q8_0
--temp 0.7 --top-p 0.8 --top-k 20
--host 0.0.0.0 --port 8080
```
- Connect to your agent and chat. 🎉
Option B — one-click apps 🖱️
Works in LM Studio, Jan, Ollama, etc. — import the GGUF, pick the quant, go. 🐾
🧠 Thinking mode
This model reasons before answering. Keep thinking enabled (the default chat template handles it).
Suggested sampling: temp 0.7, top_p 0.95, top_k 20. For deterministic code/math, try greedy (temp 0).
⚠️ Good to know
- Not safety-aligned for production. This is a specialized reasoning fine-tune — add your own guardrails, input/output filtering, and review before any production or user-facing deployment. Use responsibly. 🙏 [Not uncensored]
- Strongest in code, math, and security reasoning; double-check general-knowledge facts and figures.
- English-centric.
🙏 Acknowledgements
Special thanks to:
- The Qwen team for the strong Qwen3.5 base model.
- Unsloth for efficient fine-tuning frameworks.
📚 Base & License
- License: Apache 2.0
- Base model:
Qwen/Qwen3.5-9B
- Downloads last month
- 199
We're not able to determine the quantization variants.