Selling tokens
Lifeboat Router is free for non-commercial use. Selling access to tokens — charging anyone for inference — is commercial use. There are two ways to do it.
Sell directly (your own storefront)
Section titled “Sell directly (your own storefront)”Buyers sign up on your router, buy credit packs through your Stripe account, create API keys and are charged per token at the prices you set.
- On the Sell page, activate a commercial license key (issued by Iterate.ai from the hub).
- In Settings → Payments, add your Stripe keys. You keep sandbox (test) and live keys side by side and switch with one control; a key entered in the wrong slot is rejected.
- Set prices per model on the Sell page.
Without a valid commercial license the gateway refuses paid traffic and the UI shows the router as free for non-commercial use.
Sell on Lifeboat Cloud
Section titled “Sell on Lifeboat Cloud”The marketplace hub operated by Iterate.ai bills buyers and credits you, minus a platform fee. No local license or Stripe setup is needed.
- On Sell → Sell on Lifeboat Cloud, sign in to the hub and name your node.
- Your node dials out to the hub over a WebSocket (or an HTTPS long-poll when a proxy blocks WebSocket upgrades) — no inbound port to open.
- Your models appear in the hub’s catalog; buyers pay the hub; your Earnings page tracks each sale.
Prices
Section titled “Prices”On the Sell page, set input and output price per 1M tokens for each model, or take a model off
sale. Settings sets the default for new models. A new price applies to the next request. Buyers
see prices on the Models page and in /v1/models.
Taking payment (Stripe)
Section titled “Taking payment (Stripe)”Credits land either by the checkout.session.completed webhook (register
https://<your-host>/api/stripe/webhook) or, when Stripe cannot reach your router, when the buyer
returns from checkout. Both paths credit a payment exactly once. Sandbox and live payments are
tracked separately, so a payment started in sandbox is always confirmed with the sandbox key.