Liquid AI's d1 is available on AI Gateway
Liquid d1 is now available on AI Gateway.
d1 is a decision model that evaluates shared state against typed questions for classification, routing, and scoring. It returns structured answers with probabilities without generating text tokens. d1 also has vision support: the model can answer typed questions about images for visual classification, inspection, and scoring.
Use liquid/d1 through the AI SDK decision API, the OpenAI-compatible Decisions API, or the TypeSafe-compatible API. These examples ask whether a support agent issued a refund:
Image input
This example reads a local PNG named square.png and asks which color it shows:
AI Gateway provides a unified way to access models and track usage and cost. Decision calls appear in logs and count toward budgets alongside other model requests.
See the decision documentation for Choice, Score, and Boolean questions, or browse all decision models on AI Gateway.