omp packages

pi-surplus1.0.3

Surplus Intelligence gateway provider for Pi and Oh My Pi: live model catalog with live marketplace pricing

noorlatif Published 17 days ago MIT ~713 downloads/mo

Built for omp

The author tagged this package oh-my-pi.

Did it work for you?

Result

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

Reports 0

No reports yet.

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:

Model picker showing 408 surplus models with live pricing

  • Live catalog — OpenRouter-compatible /v1/models: context length, modalities, supported parameters
  • Live marketplace pricing — /api/markets cheapest 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 refresh forces 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        # Pi

Set your API key:

export SURPLUS_INTELLIGENCE_API_KEY=...

Models appear as surplus/<model-id> in /model.

License

MIT