LiquidAI: d1: AI model
D1 is a structured decision model from Liquid AI: it returns typed, scored answers instead of prose. Reachable from inside Iran through Hormouz.
- Context window:
- 65,536 tokens
- Input:
- $0.02/1M tokens
- Output:
- $0/1M tokens
- Type:
- decisions
- Structured decisions
D1 is Liquid AI's structured decision model. You send a state and typed questions, and for each question it returns a choice, a score or a yes/no answer with a probability taken directly from the model rather than written out as text. It uses the same request shape as the other decision models, so you can switch between them without rewriting code. It reads up to 66K tokens of state per request.
Through Hormouz it is reached at POST /v1/alpha/decisions with your ordinary API key. The request carries a state and the questions, and the reply comes back typed, so your code branches on the numbers instead of parsing a sentence. You pay only for input, at $0.04 per million tokens; the answer itself is free. There is no fixed monthly fee.
Hormouz provides stable access to the model from inside Iran, with no foreign credit card or circumvention tooling required.
d1 is Liquid AI's structured decision model, served as a System One endpoint. Send a state along with typed questions, and it returns a choice, a score, or a yes/no...
Quickstart
curl https://api.hormouz.net/v1/alpha/decisions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "liquid/d1", "state": { "ticket": "My checkout page shows a blank screen after I click Pay." }, "questions": { "is_bug": { "type": "noul", "instructions": "Is the customer reporting a defect?" }, "team": { "type": "choice", "instructions": "Which team owns this?", "criteria": { "frontend": "Rendering or layout.", "payments": "Checkout or billing." } }, "urgency": { "type": "score", "instructions": "How urgent?", "criteria": ["Next release", "This week", "Blocking revenue"] } } }'Specs
| Vendor | Liquid AI |
|---|---|
| Type | Scoring & decisions |
| Context window | 65,536 tokens |
| Pricing | $0.02/M in · $0.00/M out |
| API | decisions |
Code example
curl https://api.hormouz.net/v1/alpha/decisions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "liquid/d1", "state": { "ticket": "My checkout page shows a blank screen after I click Pay." }, "questions": { "is_bug": { "type": "noul", "instructions": "Is the customer reporting a defect?" }, "team": { "type": "choice", "instructions": "Which team owns this?", "criteria": { "frontend": "Rendering or layout.", "payments": "Checkout or billing." } }, "urgency": { "type": "score", "instructions": "How urgent?", "criteria": ["Next release", "This week", "Blocking revenue"] } } }'import requests
resp = requests.post(
"https://api.hormouz.net/v1/alpha/decisions",
headers={"Authorization": "Bearer ng-YOUR_API_KEY"},
json={
"model": "liquid/d1",
"state": { "ticket": "My checkout page shows a blank screen after I click Pay." },
"questions": {
"is_bug": { "type": "noul", "instructions": "Is the customer reporting a defect?" },
"team": { "type": "choice", "instructions": "Which team owns this?",
"criteria": { "frontend": "Rendering or layout.", "payments": "Checkout or billing." } },
"urgency": { "type": "score", "instructions": "How urgent?",
"criteria": ["Next release", "This week", "Blocking revenue"] }
}
},
)
answers = resp.json()["answers"]
print(answers["team"]["choice"], answers["is_bug"]["noul"])const resp = await fetch("https://api.hormouz.net/v1/alpha/decisions", {
method: "POST",
headers: {
Authorization: "Bearer ng-YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "liquid/d1",
"state": { "ticket": "My checkout page shows a blank screen after I click Pay." },
"questions": {
"is_bug": { "type": "noul", "instructions": "Is the customer reporting a defect?" },
"team": { "type": "choice", "instructions": "Which team owns this?",
"criteria": { "frontend": "Rendering or layout.", "payments": "Checkout or billing." } },
"urgency": { "type": "score", "instructions": "How urgent?",
"criteria": ["Next release", "This week", "Blocking revenue"] }
}
}),
});
const { answers } = await resp.json();
console.log(answers.team.choice, answers.is_bug.noul);Buy the LiquidAI: d1 API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches LiquidAI: d1 and 600+ other models, and you pay only for what you use.
- No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Use via Hormouz
Connect to this model and 600+ others with one API key, then see usage down to each request.
Request company accessFAQ
- What is D1 good for?
- Typical uses are routing, classification, policy checks and any decision that needs a fast, scored answer.
- How do I call D1?
- Send POST /v1/alpha/decisions to Hormouz with your API key, a state and a set of typed questions. The response shape is the same as the upstream decisions API, so existing code works by changing the base URL.
- How much does D1 cost?
- You pay only for input, at $0.04 per million tokens; the answer itself is free. There is no fixed monthly fee.
- How do I access D1 from inside Iran?
- Create an account on Hormouz and generate an API key. Hormouz provides a stable path to the model from inside Iran, with no foreign credit card or circumvention tooling required.
Updated 2026-10-13