--- type: howto title: Pi Configuration for Ornith Models description: How to add Ornith models to models.json so pi can use the local llama.cpp server as a provider. tags: - unverified - ornith - pi - models.json - configuration timestamp: 2026-07-18 verified: 2026-08-28 --- # Pi Configuration Add to `~/.pi/agent/models.json`: ```json { "providers": { "llamacpp (local-ornith)": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "EMPTY", "compat": { "supportsDeveloperRole": false, "supportsReasoningEffort": false }, "models": [ { "id": "frank-default-local", "name": "Ornith-1.0-35B-Q4_K_M (Local)", "contextWindow": 131072, "reasoning": true, "thinkingLevelMap": { "max": "xhigh" } } ] } } } ``` **Important Compatibility Settings:** - `supportsDeveloperRole: false` — The server does not support the `developer` role, uses `system` instead - `supportsReasoningEffort: false` — The server does not support the `reasoning_effort` parameter - `reasoning: true` — Model supports reasoning/thinking blocks ## Related * [Installation](/tools/ornith-llama-cpp-setup/installation.md) — Get the server running first * [API Endpoints](/tools/ornith-llama-cpp-setup/api-endpoints.md) — The endpoints this configuration targets