← Catalog

pi-incoai

Inco AI (inco.ai) model provider extension for the Pi coding agent

ExtensionProvider

Install

Install with PiG

pig install npm:pi-incoai

Install with Pi

pi install npm:pi-incoai
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./extensions/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.3 (README.md). PiG does not review it.

pi-incoai

Inco AI (inco.ai) model provider extension for the Pi coding agent.

Inco serves open-weight models (Kimi K3, GLM 5.3, MiniMax M3, DeepSeek V4.1, …) over an OpenAI-compatible API at https://api.inco.ai/v1. This package registers the incoai provider, adds the public model catalog, and refreshes it from GET /v1/models so workspace/private models show up too.

Install

pi install npm:pi-incoai          # from npm
pi install git:github.com/serggiu/pi-incoai   # from git
pi install /path/to/pi-incoai     # from a local checkout

or try it for one run without installing:

pi -e /path/to/pi-incoai

Authenticate

  1. Create an API key at https://platform.inco.ai/keys (it looks like sk-inco-…).

  2. Either set the environment variable in the shell that starts Pi:

    export INCO_API_KEY=sk-inco-...
    

    or sign in interactively:

    /login
    

    Pick incoai → Sign in with an API key → paste the key. Pi verifies the key against GET /v1/models before saving it, then refreshes the model catalog. Credentials are stored in ~/.pi/agent/auth.json.

Use

/model            # search for "incoai"
pi --model incoai/kimi-k3 "…"
pi --model incoai/glm-5.3:fast "…"

Model IDs keep their :fast suffix; Pi resolves the full id before treating a trailing :level as a thinking level.

Models

The bundled baseline catalog makes the public models available immediately and offline. Refreshing from GET /v1/models overrides the bundled metadata for the same model ids and adds any models the API returns that are not bundled — newly released public models and workspace/private models. Pricing, context length, and reasoning support come from GET /v1/models.

Models that are not part of the bundled snapshot are listed first (new public releases and workspace/private models), followed by the bundled public catalog; each group is alphabetical.

ModelContextMax outputImage input
kimi-k31.0M131Kyes
kimi-k3:fast1.0M131Kyes
deepseek-v4.1-flash1.0M384Kyes
deepseek-v4.1-flash:fast1.0M384Kyes
glm-5.31.0M131Kno
glm-5.3:fast1.0M131Kno
glm-5.3-flash1.0M131Kyes
glm-5.3-flash:fast1.0M131Kyes
minimax-m31.0M512Kyes
minimax-m3:fast1.0M512Kyes

Notes

  • Inco is prepaid: requests return 402 when the balance is empty.
  • Inco exposes both OpenAI Chat Completions and Anthropic Messages. This extension uses Chat Completions, the surface its catalog metadata (reasoning_effort, reasoning_content) is documented for.
  • Models that advertise capabilities.reasoning_effort receive reasoning_effort. On the others Pi still surfaces streamed reasoning_content but sends no effort.
  • --list-models and pi auth check do not load extensions, so they show the bundled baseline catalog only. Opening /model triggers the live refresh.

Development

extensions/index.ts   # the provider extension

Pi loads extensions from the extensions/ directory of a package. Edit the file and run /reload in an active session, or restart Pi. To exercise the catalog mapping without a key, GET https://api.inco.ai/v1/models is public.

License

MIT