pi-surplus
v1.0.2
Published
Surplus Intelligence gateway provider for Pi and Oh My Pi: live model catalog with live marketplace pricing
Maintainers
Readme
pi-surplus
Surplus Intelligence gateway provider for Pi and Oh My Pi (OMP).
Registers a surplus provider backed by the live Surplus Intelligence API — no bundled model list:

- Live catalog — OpenRouter-compatible
/v1/models: context length, modalities, supported parameters - Live marketplace pricing —
/api/marketscheapest seller offer per model, falling back to catalog reference price (USD) - Always current — models are fetched dynamically, never frozen at a snapshot; on OMP the host caches for 24 h (
omp models refreshforces a re-fetch), on Pi the provider refreshes through the host's model-refresh flow
Install
Requires Bun in PATH.
omp install pi-surplus # Oh My Pi
pi install npm:pi-surplus # PiSet your API key:
export SURPLUS_INTELLIGENCE_API_KEY=...Models appear as surplus/<model-id> in /model.
