Liquid AI's d1 decision model is now available on Vercel's AI Gateway, where it answers typed questions about a situation and returns structured results. Vercel says d1 handles classification, routing, and scoring.
A decision model works differently from a chatbot. Vercel says d1 evaluates a shared state, such as a description of what happened, against questions with set answer types. It returns structured answers with probabilities and does not generate text tokens.
The model also accepts images. Vercel says d1 can answer typed questions about a picture for visual classification, inspection, and scoring. Its example asks which color a square shows and offers red, blue, or green as choices. Another example asks whether a support agent issued a refund, with a yes-or-no answer.
Developers can call the model through Vercel's AI SDK decision API, an HTTP API, an OpenAI-compatible Decisions API, or a TypeSafe-compatible API. AI Gateway tracks usage and cost for model access. Decision calls appear in its logs and count toward budgets alongside other model requests. Question types include Choice, Score, and Boolean.