How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama-server -hf dcostenco/prism-coder-4b:Q4_K_M
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "dcostenco/prism-coder-4b:Q4_K_M"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Prism Coder 4B โ€” Tool-Routing Model

Lightweight tool-routing classifier. Routes user requests to the correct Prism Memory tool. NOT a code generation or general-purpose model.

Performance

Metric Score
eval_300 strict 300/300 (100%)
5-seed validation 300/300 x 5

Training

Trained on routing examples only (prompt โ†’ tool name). Not trained on source code, clinical data, or general instructions.

ollama pull dcostenco/prism-coder:4b

Apache 2.0 โ€” Synalux

Downloads last month
72
GGUF
Model size
4B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for dcostenco/prism-coder-4b

Finetuned
Qwen/Qwen3-4B
Quantized
(221)
this model