pi-paramhub-provider0.1.0
ParamHub provider for Pi: Kimi K3.1 Pro, GLM-5.3 and GLM-5.2 with pay-per-token pricing. /login paramhub, pick a model, go.
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.
Reports 0
No reports yet.
Readme
pi-paramhub-provider
ParamHub as a provider in Pi. ParamHub is a pay-per-token API for Kimi and GLM models: prepaid credit, no subscription.
pi install npm:pi-paramhub-provider
Then, inside Pi:
/login, choose Sign in with an API key, then ParamHub, and paste your key./model, and pick a ParamHub model.
Create a key at paramhub.com/dashboard/keys.
Instead of /login you can set PARAMHUB_API_KEY in your shell. A key saved with /login takes precedence.
Models
| Model | Context | Max output | Thinking levels in Pi |
|---|---|---|---|
kimi-k3.1-pro |
1,048,576 | 131,072 | low, high |
GLM-5.3 |
1,048,576 | 131,072 | low, high |
GLM-5.2 |
1,048,576 | 131,072 | high |
candid |
1,048,576 | 131,072 | none |
Pi shows the cost of each session from the per-token prices in this package. Current prices are on paramhub.com/pricing.
To start Pi on a ParamHub model directly:
pi --model paramhub/kimi-k3.1-pro
What it does
The package registers one provider, paramhub, that talks to https://api.paramhub.com/v1 (OpenAI-compatible Chat Completions) with Pi's standard request format. It adds no tools, commands or prompts, and it reads nothing but the key you give it.
Remove
pi remove npm:pi-paramhub-provider
A key saved with /login stays in ~/.pi/agent/auth.json until you run /logout in Pi.
Other agents
npx paramhub setup configures Claude Code, Codex CLI, OpenCode, Kilo Code CLI, oh-my-pi, Cline CLI, Hermes Agent, Qwen Code, goose and Aider. Guides: paramhub.com/guides.