Liquid d1
Liquid AI's first decision model joins the Decisions family: send state and typed questions, get calibrated probabilities back with zero generated tokens. Free on Liquid's API with your own Liquid key.
liquid/d1 is Liquid AI's first decision model. Send state and typed questions (noul / choice / score) to POST /api/v1/decisions and get calibrated probabilities back in one call, with zero generated tokens — not chat text. It fits classification, ticket and model routing, scoring, moderation, guardrails and LLM-as-judge checks.
- Terminal —
anyr decision --model liquid/d1(Decisions app). - App code — plain
fetchto/api/v1/decisions, see the example below.
Liquid d1 is **BYOK-only**, served by Liquid's own API. Create a key at console.liquid.ai (Dashboard → API Keys) and add it under Dashboard → BYOK — AnyRouter charges nothing for a BYOK route, and Liquid serves the model as a free tier. Setup steps: Liquid BYOK.
curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr login
anyr decision --model liquid/d1const res = await fetch("https://anyrouter.dev/api/v1/decisions", {
method: "POST",
headers: {
Authorization: "Bearer " + process.env.ANYROUTER_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
state: "I have been waiting three weeks for my order and nobody answers my emails.",
model: "liquid/d1",
questions: {
is_complaint: {
type: "noul",
instructions: "Is this message a complaint from the customer?",
},
},
}),
})
console.log(await res.json())More: Decisions app · BYOK setup.