omp packages

pi-keln-provider1.0.0

Keln provider for pi: open models through Keln's OpenAI-compatible API, with the live model catalog.

kris-holy Published 21 days ago MIT ~366 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

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

  1. Sign up at app.keln.ai. Open Keys → Create key and copy the key.
  2. Set KELN_API_KEY in your environment, or run /login in pi and choose Keln.
  3. Run /model and pick a Keln model, for example keln/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: /thinking offers the levels each model publishes. off is 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.ai using your Keln key. See Privacy & zero data retention.
  • Code: one extension file that registers the keln provider and reads the public model catalog. It has no runtime dependencies and sends no telemetry.

Remove

pi remove npm:pi-keln-provider

License

MIT