spillway
Using the API

Costs and billing

Per-token billing in micro-USD, cost headers, balances and key budgets.

You pay per token at the price of the offer that served the request. No subscription, no minimum.

Per token, to the micro-dollar.

What you pay

Amounts are integer micro-USD (1 USD = 1,000,000). The request record is authoritative.

Cost of a request

  • Non-streamed responses carry x-spill-buyer-cost-micro and usage.buyer_cost_micro, plus x-spill-discount-bps, your discount vs list.
  • For streams, read x-spill-request-id and call GET /v1/requests/:id after the stream ends.
  • Export your usage as CSV from the dashboard's request log.

Balances

Deposit native USDC on Base, Ethereum, Arbitrum, Optimism, Polygon or Elysium from an EVM wallet, or on Solana from a Solana wallet. Pick the network in the dashboard; deposits are credited after a few confirmations (Polygon: 30, Solana: finalized). Send only from the wallet you signed in with.

Deposited USDC can be spent, or withdrawn to your EVM wallet as USDC on Elysium. Solana accounts can't withdraw from the dashboard yet. Card credits, when enabled, can be spent but not withdrawn.

Key budgets

Give any key a budget. Requests are refused with 402 key_budget_exceeded once the next one would go over it.