pi.dev
HARNESSES / RESPONSES API

pi.dev

Use dheeX as a custom Responses provider in Pi.

Export DHEEX_API_KEY in your shell. Merge this provider into ~/.pi/agent/models.json:

~/.pi/agent/models.json
{
  "providers": {
    "dheeX": {
      "baseUrl": "https://api.dheex.com/v1",
      "api": "openai-responses",
      "apiKey": "$DHEEX_API_KEY",
      "authHeader": true,
      "models": [{ "id": "deepseek-ai/DeepSeek-V4.1-Flash-1017" }]
    }
  }
}

Launch pi, open /model, and select the dheeX model. Send a short message and check your dheeX usage.

Pi models configuration ↗