spillway
developers

One key. Every model.
Cheapest seller wins.

spillway speaks the OpenAI and Anthropic APIs. Change your base URL, keep your code, and every request goes to the cheapest healthy offer, with failover built in.

Base URL
api.spillway.now/v1
Auth
Bearer sk-spill-…
Pay
USDC, per token

Quickstart

curl https://api.spillway.now/v1/chat/completions \
  -H "Authorization: Bearer $SPILL_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5-5",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Playground

API reference
POST/v1/chat/completions
POST/v1/messages
POST/v1/messages/count_tokens
POST/v1/embeddings
GET/v1/models
GET/v1/prices
GET/v1/requests/:id
GET · POST · PATCH · DELETE/v1/keys
Headers
X-Min-Discount: 70
Only route to offers at least 70% below list
x-spill-buyer-cost-micro
Exact cost of the request in micro-USD (response)
x-spill-request-id
Request id for /v1/requests/:id (response)
x-spill-discount-bps
Discount you got vs list price (response)
x-ratelimit-remaining
1,200 requests/min per key (response)
Failover

If a seller errors before streaming, the next cheapest healthy offer takes the request (up to 4 tries).

Budgets & customer keys

Cap spend per key, or mint one key per customer with a manager key to resell under your brand.

Trust controls

Trusted providers only by default; opt in to every seller per key when price matters most.