Sluice
Log inStart free

Sluice for agents

An agent gets a Sluice key from a person, who sets its spending limits in the dashboard. The key works on the OpenAI-compatible endpoint and on the MCP server. Machine-readable summary: /llms.txt.

HTTP

curl
curl https://sluice.forum/api/v1/chat/completions \
  -H "Authorization: Bearer $SLUICE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"auto","messages":[{"role":"user","content":"Plan the next task."}]}'

MCP

Tools: route_chat, estimate_cost, get_budget, list_models.

MCP client config
{
  "mcpServers": {
    "sluice": {
      "type": "http",
      "url": "https://sluice.forum/api/mcp",
      "headers": { "Authorization": "Bearer sk-sluice-…" }
    }
  }
}

When a request is refused

Status and codeWhat to do
429 spending_limit_reachedStop. Ask the key's owner to raise the limit, or wait for the day or month to reset (UTC).
429 rate_limitedWait for Retry-After seconds, then retry.
402 balance_too_lowThe owner's Orbio balance is empty. Tell the owner.
401 invalid_api_keyThe key is missing or revoked. Ask for a new one.
409 incognito_onThe owner's Orbio account needs private inference, which Sluice does not support yet.