# SenseNova Loop-9B

Compact 9B model that reads long documents and images up to 4 megapixels.

[Canonical HTML page](https://lasse-ai.com/recipes/sensenova-loop-9b/)

## Origin and credits

Quantized and packaged by Lasse AI.

- [Maxrio](https://huggingface.co/Maxrio/SenseNova-Loop-9B-exl3)
- [Maxrio9](https://github.com/Maxrio9/sensenova-loop-9b-exl3-recipes)
- [SenseNova](https://huggingface.co/sensenova/SenseNova-Loop-9B)
- [TabbyAPI (theroyallab)](https://github.com/theroyallab/tabbyAPI)
- [ExLlamaV3 (turboderp)](https://github.com/turboderp-org/exllamav3)
- [ExLlamaV3 SenseNova MTP fork](https://github.com/Maxrio9/exllamav3/tree/sensenova-loop-mtp)
- [TabbyAPI profiles](https://github.com/Maxrio9/sensenova-loop-9b-exl3-recipes/tree/1cc0a42916011699f31516dbe1ef9ad2a486de18/configs)

## Hardware and prerequisites

NVIDIA GPU, Python 3.12 and the CUDA Toolkit. Run the commands in order. Stop the initial TabbyAPI startup once dependencies finish, and apply the matching configuration before the final startup.

| Preset | Engine | Quantization | Context | Vision | Speculative decoding | Port |
| --- | --- | --- | --- | --- | --- | --- |
| 12 GB · dedicated GPU | TabbyAPI / ExLlamaV3 | EXL3 4.0bpw | 139264 | Yes | MTP | 5000 |
| 12 GB · desktop GPU | TabbyAPI / ExLlamaV3 | EXL3 4.0bpw | 106496 | Yes | MTP | 5000 |
| 16 GB · dedicated GPU | TabbyAPI / ExLlamaV3 | EXL3 5.0bpw | 237568 | Yes | MTP | 5000 |
| 16 GB · desktop GPU | TabbyAPI / ExLlamaV3 | EXL3 5.0bpw | 208896 | Yes | MTP | 5000 |
| 24 GB · dedicated GPU | TabbyAPI / ExLlamaV3 | EXL3 6.0bpw | 466944 | Yes | MTP | 5000 |
| 24 GB · desktop GPU | TabbyAPI / ExLlamaV3 | EXL3 6.0bpw | 434176 | Yes | MTP | 5000 |
| 32 GB · dedicated GPU | TabbyAPI / ExLlamaV3 | EXL3 8.0bpw | 524288 | Yes | MTP | 5000 |
| 32 GB · desktop GPU | TabbyAPI / ExLlamaV3 | EXL3 8.0bpw | 524288 | Yes | MTP | 5000 |

### 12 GB · dedicated GPU (`12gb-dedicated`)

API: `http://127.0.0.1:5000/v1`

Parallel slots: 1

Maximum image resolution: 4 MP

```sh
git clone https://github.com/theroyallab/tabbyAPI.git
cd tabbyAPI
./start.sh  # Stop after the initial dependency installation
source venv/bin/activate
pip install ninja wheel
pip install --no-deps --no-build-isolation --force-reinstall "git+https://github.com/Maxrio9/exllamav3.git@sensenova-loop-mtp"
hf download Maxrio/SenseNova-Loop-9B-exl3 --revision 4.0bpw --local-dir models/SenseNova-Loop-9B-exl3-4.0bpw
git clone https://github.com/Maxrio9/sensenova-loop-9b-exl3-recipes.git
profile=tabby-12gb.yml
# For four concurrent requests sharing 122880 tokens, use profile=tabby-12gb-4x.yml
./start.sh --config "sensenova-loop-9b-exl3-recipes/configs/$profile" --model-dir models --port 5000
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:5000/v1/models
```

### 12 GB · desktop GPU (`12gb-desktop`)

API: `http://127.0.0.1:5000/v1`

Parallel slots: 1

Maximum image resolution: 4 MP

```sh
git clone https://github.com/theroyallab/tabbyAPI.git
cd tabbyAPI
./start.sh  # Stop after the initial dependency installation
source venv/bin/activate
pip install ninja wheel
pip install --no-deps --no-build-isolation --force-reinstall "git+https://github.com/Maxrio9/exllamav3.git@sensenova-loop-mtp"
hf download Maxrio/SenseNova-Loop-9B-exl3 --revision 4.0bpw --local-dir models/SenseNova-Loop-9B-exl3-4.0bpw
git clone https://github.com/Maxrio9/sensenova-loop-9b-exl3-recipes.git
profile=tabby-12gb-desktop.yml
# For four concurrent requests sharing 90112 tokens, use profile=tabby-12gb-desktop-4x.yml
./start.sh --config "sensenova-loop-9b-exl3-recipes/configs/$profile" --model-dir models --port 5000
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:5000/v1/models
```

### 16 GB · dedicated GPU (`16gb-dedicated`)

API: `http://127.0.0.1:5000/v1`

Parallel slots: 1

Maximum image resolution: 4 MP

```sh
git clone https://github.com/theroyallab/tabbyAPI.git
cd tabbyAPI
./start.sh  # Stop after the initial dependency installation
source venv/bin/activate
pip install ninja wheel
pip install --no-deps --no-build-isolation --force-reinstall "git+https://github.com/Maxrio9/exllamav3.git@sensenova-loop-mtp"
hf download Maxrio/SenseNova-Loop-9B-exl3 --revision 5.0bpw --local-dir models/SenseNova-Loop-9B-exl3-5.0bpw
git clone https://github.com/Maxrio9/sensenova-loop-9b-exl3-recipes.git
profile=tabby-16gb.yml
# For four concurrent requests sharing 225280 tokens, use profile=tabby-16gb-4x.yml
./start.sh --config "sensenova-loop-9b-exl3-recipes/configs/$profile" --model-dir models --port 5000
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:5000/v1/models
```

### 16 GB · desktop GPU (`16gb-desktop`)

API: `http://127.0.0.1:5000/v1`

Parallel slots: 1

Maximum image resolution: 4 MP

```sh
git clone https://github.com/theroyallab/tabbyAPI.git
cd tabbyAPI
./start.sh  # Stop after the initial dependency installation
source venv/bin/activate
pip install ninja wheel
pip install --no-deps --no-build-isolation --force-reinstall "git+https://github.com/Maxrio9/exllamav3.git@sensenova-loop-mtp"
hf download Maxrio/SenseNova-Loop-9B-exl3 --revision 5.0bpw --local-dir models/SenseNova-Loop-9B-exl3-5.0bpw
git clone https://github.com/Maxrio9/sensenova-loop-9b-exl3-recipes.git
profile=tabby-16gb-desktop.yml
# For four concurrent requests sharing 192512 tokens, use profile=tabby-16gb-desktop-4x.yml
./start.sh --config "sensenova-loop-9b-exl3-recipes/configs/$profile" --model-dir models --port 5000
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:5000/v1/models
```

### 24 GB · dedicated GPU (`24gb-dedicated`)

API: `http://127.0.0.1:5000/v1`

Parallel slots: 1

Maximum image resolution: 4 MP

```sh
git clone https://github.com/theroyallab/tabbyAPI.git
cd tabbyAPI
./start.sh  # Stop after the initial dependency installation
source venv/bin/activate
pip install ninja wheel
pip install --no-deps --no-build-isolation --force-reinstall "git+https://github.com/Maxrio9/exllamav3.git@sensenova-loop-mtp"
hf download Maxrio/SenseNova-Loop-9B-exl3 --revision 6.0bpw --local-dir models/SenseNova-Loop-9B-exl3-6.0bpw
git clone https://github.com/Maxrio9/sensenova-loop-9b-exl3-recipes.git
profile=tabby-24gb.yml
# For four concurrent requests sharing 450560 tokens, use profile=tabby-24gb-4x.yml
./start.sh --config "sensenova-loop-9b-exl3-recipes/configs/$profile" --model-dir models --port 5000
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:5000/v1/models
```

### 24 GB · desktop GPU (`24gb-desktop`)

API: `http://127.0.0.1:5000/v1`

Parallel slots: 1

Maximum image resolution: 4 MP

```sh
git clone https://github.com/theroyallab/tabbyAPI.git
cd tabbyAPI
./start.sh  # Stop after the initial dependency installation
source venv/bin/activate
pip install ninja wheel
pip install --no-deps --no-build-isolation --force-reinstall "git+https://github.com/Maxrio9/exllamav3.git@sensenova-loop-mtp"
hf download Maxrio/SenseNova-Loop-9B-exl3 --revision 6.0bpw --local-dir models/SenseNova-Loop-9B-exl3-6.0bpw
git clone https://github.com/Maxrio9/sensenova-loop-9b-exl3-recipes.git
profile=tabby-24gb-desktop.yml
# For four concurrent requests sharing 417792 tokens, use profile=tabby-24gb-desktop-4x.yml
./start.sh --config "sensenova-loop-9b-exl3-recipes/configs/$profile" --model-dir models --port 5000
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:5000/v1/models
```

### 32 GB · dedicated GPU (`32gb-dedicated`)

API: `http://127.0.0.1:5000/v1`

Parallel slots: 1

Maximum image resolution: 4 MP

```sh
git clone https://github.com/theroyallab/tabbyAPI.git
cd tabbyAPI
./start.sh  # Stop after the initial dependency installation
source venv/bin/activate
pip install ninja wheel
pip install --no-deps --no-build-isolation --force-reinstall "git+https://github.com/Maxrio9/exllamav3.git@sensenova-loop-mtp"
hf download Maxrio/SenseNova-Loop-9B-exl3 --revision 8.0bpw --local-dir models/SenseNova-Loop-9B-exl3-8.0bpw
git clone https://github.com/Maxrio9/sensenova-loop-9b-exl3-recipes.git
profile=tabby-32gb.yml
# For four concurrent requests sharing 618496 tokens, use profile=tabby-32gb-4x.yml
./start.sh --config "sensenova-loop-9b-exl3-recipes/configs/$profile" --model-dir models --port 5000
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:5000/v1/models
```

### 32 GB · desktop GPU (`32gb-desktop`)

API: `http://127.0.0.1:5000/v1`

Parallel slots: 1

Maximum image resolution: 4 MP

```sh
git clone https://github.com/theroyallab/tabbyAPI.git
cd tabbyAPI
./start.sh  # Stop after the initial dependency installation
source venv/bin/activate
pip install ninja wheel
pip install --no-deps --no-build-isolation --force-reinstall "git+https://github.com/Maxrio9/exllamav3.git@sensenova-loop-mtp"
hf download Maxrio/SenseNova-Loop-9B-exl3 --revision 8.0bpw --local-dir models/SenseNova-Loop-9B-exl3-8.0bpw
git clone https://github.com/Maxrio9/sensenova-loop-9b-exl3-recipes.git
profile=tabby-32gb-desktop.yml
# For four concurrent requests sharing 585728 tokens, use profile=tabby-32gb-desktop-4x.yml
./start.sh --config "sensenova-loop-9b-exl3-recipes/configs/$profile" --model-dir models --port 5000
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:5000/v1/models
```

## Connect clients

Use the API URL from the selected preset. Confirm the model ID with `/v1/models`. The recipe's example model ID is `SenseNova-Loop-9B-exl3`.

- **Open WebUI** — Enter the OpenAI API URL under Settings → Connections.
- **Coding agent** — Select an OpenAI-compatible provider and enter the API URL and model ID.
- **Python SDK** — Use the port of the selected preset.

```python
from openai import OpenAI

client = OpenAI(base_url="http://127.0.0.1:5000/v1", api_key="local")
```

`local` is a placeholder. If the server requires authentication, use the key configured on the server.

## Caveats

- The first few thousand tokens warm up the MTP draft head (~1.7× initially, ~2.4× after warm-up). Its cache is in ~/.cache/exllamav3.
- Thinking is off by default. Enable it with `"chat_template_kwargs": {"enable_thinking": true}`.
- If using a uv environment, use uv pip. If your CUDA toolkit needs an older GCC, prefix the install with CC=gcc-15 CXX=g++-15.
- Maxrio provides the EXL3 quants, recipes and MTP engine fork for SenseNova’s model. TabbyAPI (theroyallab) serves it with ExLlamaV3 (turboderp). Each -4x configuration shares its cache across four concurrent requests.

## Measurements

- **Decode speed (32 GB, 8.0 bpw + Q8 KV)** — 41 tok/s plain → 114 tok/s writing code with MTP (2.5× average across tasks). [1](https://lasse-ai.com/tests/2026-11-20-sensenova-loop-9b-8-bit-version-speed-on-a-32-gb-card/)
- **Memory & long context** — 520K text + image tested in 30.4 / 31.8 GB VRAM. [1](https://lasse-ai.com/tests/2026-11-20-sensenova-loop-9b-8-bit-version-speed-on-a-32-gb-card/)
- **Quality & quantization fidelity** — 99.7% top-1 agreement vs uncompressed BF16 (KL 0.00016) at 8 bpw; 96.0% GSM8K and 86.0% HumanEval. [1](https://lasse-ai.com/tests/2026-11-20-sensenova-loop-9b-exl3-fidelity-against-bf16/) [2](https://lasse-ai.com/tests/2026-11-17-sensenova-loop-9b-maths-coding-tools-and-long-documents/)

## Test records

- [SenseNova Loop-9B, 8-bit version: speed on a 32 GB card](https://lasse-ai.com/tests/2026-11-20-sensenova-loop-9b-8-bit-version-speed-on-a-32-gb-card/)
- [SenseNova Loop-9B EXL3: fidelity against BF16](https://lasse-ai.com/tests/2026-11-20-sensenova-loop-9b-exl3-fidelity-against-bf16/)
- [SenseNova-Loop-9B: maths, coding, tools and long documents](https://lasse-ai.com/tests/2026-11-17-sensenova-loop-9b-maths-coding-tools-and-long-documents/)
