Install
Install with PiG
pig install npm:pi-keln-providerInstall with Pi
pi install npm:pi-keln-providerPackages 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": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 1.0.0 (README.md). PiG does not review it.
Keln for pi
Use Keln models in pi through Keln's OpenAI-compatible API at
https://api.keln.ai/v1.
Keln is an inference platform for open models. Keln maintains this package. It is not affiliated with pi or Earendil.
Install
pi install npm:pi-keln-provider
Configure
- Sign up at app.keln.ai. Open Keys → Create key and copy the key.
- Set
KELN_API_KEYin your environment, or run/loginin pi and choose Keln. - Run
/modeland pick a Keln model, for examplekeln/zai-org/glm-5.3.
Models
The package reads Keln's live catalog from https://api.keln.ai/v1/models at startup and on model
refresh, so the list, context windows, image input, prices and thinking levels always match Keln.
Models that don't write text, such as decision, embedding and reranker models, are left out.
- Thinking:
/thinkingoffers the levels each model publishes.offis available on models that can turn reasoning off. - Output: pi asks for up to 32,768 output tokens by default. The limit covers reasoning and the answer together, and prompt plus output must fit the model's context window.
Prices are on Models & pricing.
Security and footprint
- Network: pi sends your requests, including prompts, images and tool definitions, to
https://api.keln.aiusing your Keln key. See Privacy & zero data retention. - Code: one extension file that registers the
kelnprovider and reads the public model catalog. It has no runtime dependencies and sends no telemetry.
Remove
pi remove npm:pi-keln-provider
License
MIT