← Catalog

pi-ollama-cloud-models

pi extension that auto-discovers Ollama Cloud models from ollama.com and registers them as an `ollama-cloud` provider.

Extension

Install

Install with PiG

pig install npm:pi-ollama-cloud-models

Install with Pi

pi install npm:pi-ollama-cloud-models
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"
  ]
}

README

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

pi-ollama-cloud-models

A pi extension that keeps your Ollama Cloud model list up to date automatically. It fetches the models available on ollama.com and registers them under a dedicated ollama-cloud provider, so they show up in /model without manually editing ~/.pi/agent/models.json.

Cloud models are reached through your local Ollama daemon (http://127.0.0.1:11434/v1) using the :cloud / -cloud name suffix, so this extension is non-destructive: it does not touch any existing ollama provider you have configured.

Install

pi install npm:pi-ollama-cloud-models

Or try it without installing:

pi -e npm:pi-ollama-cloud-models

What it does

  • On startup, registers an ollama-cloud provider populated from https://ollama.com/v1/models, enriched with per-model capabilities and context length from https://ollama.com/api/show.
  • Caches the list for 1 hour at ~/.pi/agent/extensions/.ollama-cloud-cache.json; falls back to a stale cache if the network is down.
  • Adds a /ollama-cloud-refresh command to force-refresh the list and re-register the provider immediately (no /reload needed).

Requirements

  • A running local Ollama daemon (ollama serve) at http://127.0.0.1:11434.
  • An Ollama account signed in (ollama sign in) so cloud models can be offloaded from your machine.

Model metadata

FieldSource
id<base>:cloud (untagged) or <base>-cloud (tagged)
reasoningtrue when /api/show reports the thinking capability
input["text", "image"] when vision is reported
contextWindow<arch>.context_length from model_info

License

MIT