Browse by type
Krasis is an LLM runtime for running large MoE models on NVIDIA consumer GPUs. It is built around fast GPU prompt processing, GPU-executed decode, and HCS expert residency management so models much larger than VRAM can still run locally.
The current runtime is no longer the early Python-hot-path prototype. The serving path is Rust/CUDA focused: Python is used for launcher/setup/model loading work, while the performance-sensitive runtime path uses Rust/CUDA orchestration, CUDA kernels, cached quantized weights, and measured VRAM budgeting.
You can contact me here, but for bugs, setup problems, model requests, or feature requests please open a GitHub issue.
If you want to monitor Krasis during runs, check out ktop.

~/.krasis.k6v6 Quality and k4v4 Ultra
Compact.The current release line is a major change from v0.1.64, the previous stable
Krasis release. Highlights:
k6v6 and k4v4, with k6v6
as the quality-oriented launcher default and k4v4 for tighter VRAM budgets.k4v4 RTX 5090/5080
benchmark coverage and HQQ6/k6v6 RTX A4500 Ampere coverage.krasis update and krasis prerelease maintenance commands.k6v6, k4v4, or BF16 KV depending on the
memory/quality target.Selected current timing-disabled results. Decode is the internal engine
measurement; HTTP round trip includes local client/server HTTP overhead.
| Hardware | Model | Params | Attention | KV | Prefill | Decode | HTTP round trip |
|---|---|---|---|---|---|---|---|
| RTX 5090 32 GB | Qwen3.6-35B-A3B | 35B | HQQ4 | k4v4 | 10030.3 tok/s | 124.88 tok/s | 267.00 tok/s |
| RTX 5090 32 GB | Qwen3-Coder-Next | 80B | HQQ8 | k4v4 | 6111.2 tok/s | 88.59 tok/s | 157.00 tok/s |
| RTX 5090 32 GB | Qwen3.5-122B-A10B | 122B | HQQ6 | k4v4 | 4880.4 tok/s | 25.29 tok/s | 44.95 tok/s |
| RTX 5090 32 GB | Qwen3-235B-A22B | 235B | HQQ6 | k4v4 | 1459.1 tok/s | 3.54 tok/s | 6.17 tok/s |
| RTX A4500 20 GB | Qwen3.6-35B-A3B | 35B | HQQ6 | k6v6 | 2235.2 tok/s | 50.98 tok/s | 103.98 tok/s |
| RTX A4500 20 GB | Qwen3-Coder-Next | 80B | HQQ6 | k4v4 | 1569.5 tok/s | 34.69 tok/s | 60.47 tok/s |
| RTX 5080 16 GB | Qwen3.6-35B-A3B | 35B | HQQ4 | k4v4 | 3743.5 tok/s | 60.04 tok/s | 128.55 tok/s |
| RTX 3070 Laptop 8 GB | Qwen3.5-35B-A3B | 35B | HQQ4 | k4v4 | 222.1 tok/s | 12.48 tok/s | 22.00 tok/s |
~/.krasis.curl -sSf https://raw.githubusercontent.com/brontoguana/krasis/main/install.sh | bash
This creates a managed environment at ~/.krasis/venv, installs Krasis,
symlinks commands into ~/.local/bin, and updates PATH for the current shell.
No sudo is required for the Krasis install itself.
krasis-setup
This installs runtime CUDA/PyTorch dependencies when needed. It is usually only required once per machine.
Run:
krasis
Then use the interactive launcher to search/download supported Hugging Face
models, or put BF16 safetensors manually under ~/.krasis/models/.
Manual download example:
huggingface-cli download Qwen/Qwen3-Coder-Next \
--local-dir ~/.krasis/models/Qwen3-Coder-Next
krasis
The launcher walks through model selection, GPU selection, quantization/runtime
options, and server startup. Settings are saved under ~/.krasis/config.
# Latest stable release
krasis update
# Latest pre-release
krasis prerelease
# Uninstall Krasis, keeping model files
curl -sSf https://raw.githubusercontent.com/brontoguana/krasis/main/install.sh | bash -s -- --uninstall
Krasis works on WSL2. By default WSL often limits available memory, which is usually too small for large MoE models. Create or edit:
C:\Users\<YourUsername>\.wslconfig
Example:
[wsl2]
memory=120GB
Adjust the value to leave memory for Windows, then restart WSL from PowerShell:
wsl --shutdown
krasis
The launcher provides:
# Use saved config
krasis --non-interactive
# Use a config file
krasis --config tests/qcn-k4v4-hqq8-int4-benchmark.conf
# Override selected values
krasis --non-interactive --model-path /path/to/model --selected-gpus 0,2 --benchmark
Common options:
--attention-quant hqq6 or hqq8--kv-dtype k6v6, k4v4, or bf16--gpu-expert-bits 4 or 8--vram-safety-margin 600--dynamic-hcs / --no-dynamic-hcs--ssh-tunnel user@host--ssh-key-path ~/.ssh/id_ed25519For the full option surface, run:
krasis --help
krasis chat
krasis chat --prompt "Explain HCS in one paragraph"
krasis chat --file prompts.txt
krasis chat --port 8013
krasis chat --url http://host:8012
The standalone command also remains available:
krasis-chat
Krasis exposes an OpenAI-compatible chat endpoint:
http://localhost:8012/v1/chat/completions
Useful endpoints:
GET /healthGET /v1/modelsPOST /v1/timingUse the fixed speed-regression entry point for repeatable Qwen3-Coder-Next speed checks:
./dev speed-test
Run a standard benchmark for a config:
./dev benchmark tests/qcn-k4v4-hqq8-int4-benchmark.conf
Run a benchmark from the installed command:
krasis --config tests/qcn-k4v4-hqq8-int4-benchmark.conf --benchmark
For development builds:
git clone https://github.com/brontoguana/krasis.git
cd krasis
./dev build
./dev run qcn
The ./dev entry point handles environment setup and is preferred for local
development commands.
See ADVANCED.md for detailed config options, quantization modes, HQQ cache controls, HCS controls, benchmarking commands, and API details.
SSPL-1.0
Krasis is free to use, modify, and distribute.
If you want to support the project or offer Krasis as part of a commercial product or a hosted/managed service, please get in touch.
$ claude mcp add krasis \
-- python -m otcore.mcp_server <graph>