Instructions to use sizzlebop/OxCoder-9B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sizzlebop/OxCoder-9B-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="sizzlebop/OxCoder-9B-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sizzlebop/OxCoder-9B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use sizzlebop/OxCoder-9B-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 sizzlebop/OxCoder-9B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf sizzlebop/OxCoder-9B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf sizzlebop/OxCoder-9B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf sizzlebop/OxCoder-9B-GGUF:Q4_K_M
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 sizzlebop/OxCoder-9B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf sizzlebop/OxCoder-9B-GGUF:Q4_K_M
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 sizzlebop/OxCoder-9B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf sizzlebop/OxCoder-9B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/sizzlebop/OxCoder-9B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use sizzlebop/OxCoder-9B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sizzlebop/OxCoder-9B-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": "sizzlebop/OxCoder-9B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/sizzlebop/OxCoder-9B-GGUF:Q4_K_M
- SGLang
How to use sizzlebop/OxCoder-9B-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "sizzlebop/OxCoder-9B-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sizzlebop/OxCoder-9B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "sizzlebop/OxCoder-9B-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sizzlebop/OxCoder-9B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use sizzlebop/OxCoder-9B-GGUF with Ollama:
ollama run hf.co/sizzlebop/OxCoder-9B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use sizzlebop/OxCoder-9B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf sizzlebop/OxCoder-9B-GGUF:Q4_K_M
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": "sizzlebop/OxCoder-9B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use sizzlebop/OxCoder-9B-GGUF with Docker Model Runner:
docker model run hf.co/sizzlebop/OxCoder-9B-GGUF:Q4_K_M
- Lemonade
How to use sizzlebop/OxCoder-9B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull sizzlebop/OxCoder-9B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.OxCoder-9B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use sizzlebop/OxCoder-9B-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 sizzlebop/OxCoder-9B-GGUF:Q4_K_M
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 sizzlebop/OxCoder-9B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use sizzlebop/OxCoder-9B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf sizzlebop/OxCoder-9B-GGUF:Q4_K_M
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 "sizzlebop/OxCoder-9B-GGUF:Q4_K_M" \ --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"
OxCoder-9B GGUF
This repository provides GGUF quantizations for OxCoder-9B, a 9-billion parameter coding model optimized for long-horizon agentic software engineering and terminal tasks.
OxCoder-9B is built on the Qwen 3.5 9B foundation and trained on agentic trajectories from frontier coding agents (including Fable-5.1 and GLM-5.3 traces across Claude Code, OpenCode, and Codex). It incorporates read-before-write inspection, tool call error recovery, and minimal edit diff generation.
All GGUF files were converted from the original safetensors weights using llama.cpp at native BF16 precision, then quantized into standard k-quant variants.
Available Files and Quantizations
| File | Quant Type | Size | Description / Recommendation |
|---|---|---|---|
OxCoder-9B-BF16.gguf |
BF16 | 16.69 GB | Full precision base conversion. Highest fidelity reference weights. |
OxCoder-9B-Q8_0.gguf |
Q8_0 | 8.87 GB | Near-lossless 8-bit quantization. Recommended for production coding when RAM permits. |
OxCoder-9B-Q6_K.gguf |
Q6_K | 6.85 GB | High quality retention with minimal degradation. Excellent accuracy-to-size balance. |
OxCoder-9B-Q5_K_M.gguf |
Q5_K_M | 6.02 GB | Balanced quantization. Strong coding reasoning with moderate memory usage. |
OxCoder-9B-Q4_K_M.gguf |
Q4_K_M | 5.24 GB | Recommended default. Fast, responsive, and fits easily into typical consumer GPUs. |
OxCoder-9B-Q3_K_M.gguf |
Q3_K_M | 4.31 GB | Compact footprint when memory headroom is strictly limited. |
OxCoder-9B-Q2_K.gguf |
Q2_K | 3.56 GB | Maximum compression. Noticeable quality loss, intended for memory-constrained testing. |
Architecture Requirements
OxCoder-9B uses the Qwen 3.5 architecture (Qwen3_5ForConditionalGeneration / qwen35 in llama.cpp), which incorporates hybrid linear attention layers interspersed with full self-attention and interleaved MRoPE rotary position embeddings.
Ensure your llama.cpp build or downstream runtime (such as Ollama, LM Studio, or Jan) includes Qwen 3.5 support.
Quickstart
1. Terminal Inference with llama.cpp
Run the model interactively using llama-cli:
llama-cli -m ./OxCoder-9B-Q4_K_M.gguf \
-p "<|im_start|>user\nWrite a Python script to parse git commit history and summarize author stats.<|im_end|>\n<|im_start|>assistant\n" \
-n 1024 \
-c 8192 \
--temp 0.6
To run a local OpenAI-compatible API server:
llama-server -m ./OxCoder-9B-Q4_K_M.gguf \
--host 127.0.0.1 \
--port 8080 \
-c 16384
2. Ollama
Create a file named Modelfile in the same directory:
FROM ./OxCoder-9B-Q4_K_M.gguf
TEMPLATE """<|im_start|>system
{{ .System }}<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|endoftext|>"
PARAMETER temperature 0.6
Then register and start the model:
ollama create oxcoder-9b -f Modelfile
ollama run oxcoder-9b
3. LM Studio
- Place any
.gguffile from this folder into your LM Studio models directory. - Search for
OxCoder-9Bin your local models tab. - Select ChatML as the prompt format preset.
Benchmark Highlights
| Benchmark | OxCoder-9B | Qwen3.5-9B | SWE-bench Verified / Task |
|---|---|---|---|
| Terminal-Bench 2.1 (Claude Code) | 50.8 | 18.9 | Agentic terminal coding |
| Terminal-Bench 2.1 (Terminus-2) | 49.6 | 21.3 | Agentic terminal coding |
| SWE-bench Verified | 73.5 | 53.2 | Agentic issue resolution |
| SWE-bench Pro | 49.1 | 31.3 | Real-world software engineering |
| NL2Repo | 36.2 | 16.2 | Repo-level code generation |
| GPQA Diamond | 86.9 | 82.5 | Scientific and logic reasoning |
Model Details
- Base model: Qwen/Qwen3.5-9B
- Architecture: Qwen 3.5 (
Qwen3_5ForConditionalGeneration) - Parameters: ~9 Billion
- Native context length: 262,144 tokens
- Vocabulary size: 248,320 tokens
- License: Apache 2.0
Attribution & Credits
Base model architecture by Qwen. Training trajectories distilled from frontier coding agent traces.
GGUF conversions produced by Pink Pixel.
Made with 💖 by Pink Pixel
- Downloads last month
- 845
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit