How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf KSTRLAI/Colossus-2.1: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:9931/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "KSTRLAI/Colossus-2.1:Q4_K_M"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Colossus 2.1

A concise, direct assistant built for conversation, math, physics, engineering and code. Built on Qwen3-4B-Instruct-2507.

Files

  • Root: merged 16-bit safetensors model (use with transformers / vLLM)
  • Colossus-2.1-Q4_K_M.gguf (2.5 GB, fast) and Colossus-2.1-Q8_0.gguf (4.3 GB, higher quality): llama.cpp, LM Studio, Ollama. Both fit easily on an 8 GB GPU.

Run

llama-server -m Colossus-2.1-Q4_K_M.gguf -ngl 99 -c 8192

Ollama: create a Modelfile with FROM ./Colossus-2.1-Q4_K_M.gguf, then ollama create colossus -f Modelfile.

Transformers:

from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("KSTRLAI/Colossus-2.1"); model = AutoModelForCausalLM.from_pretrained("KSTRLAI/Colossus-2.1", torch_dtype="auto", device_map="auto")
Downloads last month
131
Safetensors
Model size
4B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for KSTRLAI/Colossus-2.1

Quantized
(406)
this model
Quantizations
2 models