Add Munito AI to the pi coding agent with one command, and run open models such as GLM-5.3-Flash on the global host or in the EU.
The Munito AI package for pi adds Munito AI as a model provider with one command. Create an API key, then install the package:
pi install npm:@munitoai/pi-providerIn pi, run /login, choose Munito AI, and paste the key. pi can also read the key from MUNITO_API_KEY.
Then choose a model with /model, or start pi with one:
pi --provider munito --model zai-org/glm-5.3-flashThe package adds two providers that use the same key. The EU provider processes each request in the EU, see Regions.
| Provider | Base URL | Region |
|---|---|---|
munito | https://api.munito.ai/inference/v1 | Any |
munito-eu | https://api.eu.munito.ai/inference/v1 | EU |
Each model comes with its context window, its maximum output and its price. pi then compacts the conversation before the window is full, and shows the cost of a session.
Reasoning effort
pi sends its thinking level as reasoning_effort, and Munito AI moves each level to the nearest level that the model has.
The level off turns reasoning off. A model that always reasons, such as GLM-5.3-Flash, runs its lowest level instead.
See Reasoning models.
Prompt cache
pi sends the session ID in the header x-session-affinity, and Munito AI keeps the conversation on its prompt cache.
See Prompt caching.
The package is open source, in munitoai/pi-provider.