Docs menu
One endpoint for every model
Sluice is an AI inference optimization platform designed to reduce the cost of running AI models without sacrificing the quality, speed, or reliability required by each application.
Instead of simply reselling discounted inference, Sluice optimizes how AI requests are processed, which models execute them, and which infrastructure providers deliver the results.
Through a single API, developers can access multiple AI models and providers while Sluice automatically optimizes costs across the entire inference process.
OpenAI SDK
picks cheapest
Everything Sluice does
A single integration gives you all of this — most of it on by default, the rest a field on the request:
One endpoint for every model and provider. Keep your OpenAI SDK — change the base URL and key.
Each request goes to the lowest-priced healthy provider that serves your model.
If a provider is down or slow, Sluice retries the next one so your call still succeeds.
Every response reports what it cost, what you were charged, and what routing saved you.
Token-by-token SSE, with usage and the cost receipt in the final chunk.
Function calling and tool_choice pass straight through to the model.
JSON mode and JSON-schema responses for models that support them.
Identical requests are served from cache with no provider fee; plus provider prompt caching.
Run up to 10,000 requests asynchronously on discounted batch capacity.
Per-key spend limits, rate limits and a prepaid balance you can't overspend.
Top up with USDC on Solana. Credit doesn't expire; a free tier gets you started.
OpenAI, Anthropic, Groq, Together, DeepInfra, Fireworks and OpenRouter — one bill.