LiquidAI logo

D1

liquid/d1
Decisions

D1 (liquid/d1) is a decision model from LiquidAI with a 65,536-token context window, priced at $0.04/1M input and $0.00/1M output tokens. Returns predicate, choice, or score answers via the haimaker.ai decision API.

Context Window
66K
tokens
Input Price
$0.04
/1M tokens
Output Price
Free
/1M tokens
Cached Input
$0.040
/1M tokens

Overview

D1 is a decision model by LiquidAI. It returns structured predicate, choice, or score answers through the non-streaming decision API. It supports a 66K token context window.

Features & Capabilities

ModeDecisions
Context Window65,536 tokens
Function CallingNot supported
VisionNot supported
ReasoningNot supported
Web SearchNot supported
Url ContextNot supported

API Usage

Send text or structured JSON with 1–128 questions to /v1/decisions. Questions request predicate, choice, or score answers. Responses are non-streaming. For state-based requests, use /v1/systemone with state and a named questions object.

import requests

response = requests.post(
    "https://api.haimaker.ai/v1/decisions",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "model": "liquid/d1",
        "input": "Please refund my duplicate payment.",
        "questions": [{
            "type": "predicate",
            "name": "needs_refund",
            "instructions": "Is the customer requesting a refund?"
        }],
    },
    timeout=30,
)
response.raise_for_status()
print(response.json()["answers"])

Frequently Asked Questions

What is the context window of D1?

D1 (liquid/d1) has a 65,536-token context window.

How much does D1 cost?

D1 is priced at $0.04 per 1M input tokens and $0.00 per 1M output tokens when accessed via the haimaker.ai decision API.

How do I use D1 via API?

Send a non-streaming POST to https://api.haimaker.ai/v1/decisions with model "liquid/d1", input (text or structured JSON), and a questions array. Questions can request predicate, choice, or score answers; read the answers field in the response. Alternatively, POST to https://api.haimaker.ai/v1/systemone with state and a named questions object for noul, choice, or score answers. Authentication uses a Bearer API key from https://app.haimaker.ai.

What does D1 return?

Decision models return structured predicate, choice, or score answers instead of chat messages. The decision API accepts 1–128 questions per request and supports text and structured JSON inputs. Responses are non-streaming.

Use D1 with the haimaker API

Returns predicate, choice, or score answers via the haimaker.ai decision API.

Get API Access

haimaker.ai 2026 - All Rights Reserved