Sansa for OpenClaw — Installer

One-line installer that configures OpenClaw to route through Sansa

A one-line installer that configures OpenClaw to route through Sansa, giving you access to frontier models at a fraction of the cost. View the installer on GitHub.

Quick Start

curl -fsSL https://app.sansaml.com/openclaw/install.sh | sh -s -- YOUR_API_KEY

Then restart the gateway:

openclaw gateway restart

What It Does

  • Configures the Sansa provider — merges a sansa-ai provider entry and default model into ~/.openclaw/openclaw.json
  • Installs a startup hook — logs a Sansa banner on every gateway start so you can confirm routing is active
  • Creates a savings config — writes ~/.openclaw/sansa.json with baseline vs. Sansa pricing for cost tracking
  • Drops a savings tracker — a standalone Node script at ~/.openclaw/sansa/savings-tracker.mjs that scans session logs and reports how much you've saved
  • Optionally updates HEARTBEAT.md — so your agent reports savings at the start of each session