# Liquid AI d1 API: hosted or local?

> Liquid AI d1 API review: $0.04 per million input tokens, d1-3B vs d1-omni-600M, license limits, hardware needs and local deployment costs.

- Canonical HTML: https://omniakey.com/blog/liquid-ai-d1-open-models-api-local-deployment
- Markdown: https://omniakey.com/blog/liquid-ai-d1-open-models-api-local-deployment.md
- Published: 2026-10-08 (updated 2026-10-08)
- Author: Kiki, COO at OmniaKey
- Language: en
- Category: Guide
- Reading time: 9 min
- All posts: https://omniakey.com/blog/llms.txt

---

**Liquid AI d1 is worth evaluating when your application needs a category, a yes/no decision or a score.** Liquid's announcement, checked October 8, 2026, prices the hosted `d1` API at **US$0.04 per million input tokens**, with no generated output tokens. For local deployment, **d1-3B** handles text and images, while the smaller, experimental **d1-omni-600M** also handles speech. These are distinct deployment options.

Start with the hosted API if you want to evaluate a workflow without operating a model server. Evaluate the open weights when offline execution, control over data movement or device latency matters. The lower token bill alone is a weak reason to self-host at this hosted rate.

## What d1 does and where it fits

Liquid announced the [hosted model on October 5](https://www.liquid.ai/blog/d1-decision-model) and the [open checkpoints on October 7, 2026](https://www.liquid.ai/blog/d1-open). The family produces typed decisions in a forward pass instead of writing an answer token by token. Its three question types are:

- **`noul`**: a yes/no question returned as a probability, such as whether a support ticket requests a refund.
- **`choice`**: a selection from named categories, with probabilities for the options.
- **`score`**: a probability-weighted position on an ordered rubric you define.

This fits ticket classification, search-result reranking and checks over text or images. It does not replace a model that must compose code, summarize a document or explain a decision in prose. Liquid's [migration guide](https://docs.liquid.ai/guides/decision-model-guide) makes this bounded-decision distinction explicit. For another decision API, our [Jev guide](https://omniakey.com/blog/jev-api-guide) covers its separate integration details.

## Hosted d1 vs d1-3B vs d1-omni-600M

|Criterion|Hosted d1|d1-3B|d1-omni-600M|
|-|-|-|-|
|Delivery|Liquid API|Downloadable weights|Downloadable weights; experimental|
|Inputs|Text and images|Text and images|Text; text with images or audio|
|Parameters|Not specified in the sources used here|3.12 billion|587 million|
|Local context|Not applicable|32,768 tokens|16,384 total positions|
|Cost basis|Billed input tokens|Hardware, operation and applicable license|Hardware, operation and applicable license|
|Evaluation priority|Fast integration|Local text/image decision quality|Small footprint and speech decisions|

The [600M model card](https://huggingface.co/LiquidAI/d1-omni-600M) adds important limits: one request accepts **images or audio, not both**; with images, state and question text is cut to **896 tokens**. Audio is a **16 kHz mono clip of up to 30 seconds**, trained on English speaker–assistant requests. Do not treat that as verified multilingual speech accuracy or a transcription service.

Liquid reports **48.57 for d1-3B and 15.95 for d1-omni-600M** on Decision Index 0.2.1, using its official scorer rather than leaderboard submissions. These vendor results support evaluating the larger model when quality matters. Nor do they measure the hosted `d1` model's equivalence to either checkpoint.

## What the $0.04/M hosted price actually buys

The [hosted announcement's methodology](https://www.liquid.ai/blog/d1-decision-model) quotes **US$0.04 per million input tokens**. The [API documentation](https://docs.liquid.ai/lfm/models/d1) says **each question is charged for its text and all supplied images**. Several questions in one HTTP request therefore do not mean that a shared input is billed just once.

For a hypothetical **100,000 requests with 1,000 billed input tokens per question**:

- One question each: 100,000 × 1,000 ÷ 1,000,000 × US$0.04 = **US$4**.
- Three questions each, each totaling 1,000 billed tokens: **US$12**.

These are token-charge calculations, excluding taxes and other charges. Actual question lengths and retries change the total; read `usage.input_tokens` rather than counting only the visible state text. `usage.output_tokens` remains zero even though the HTTP response contains JSON.

Images contribute `ceil(ceil(width / 32) × ceil(height / 32) × 1.5)` input tokens per image, per question. A **1024 × 1024 image adds 1,536 tokens**, or **US$0.00006144** at that rate, before text. Three questions about that image add 4,608 image tokens. This is an image-understanding charge, not an image-generation price or an OmniaKey quote.

## Is local deployment cheaper?

Use a monthly budget instead of comparing “free weights” with a token rate. Include hardware depreciation or rental, electricity, engineering time, monitoring, license fees when applicable, and the cost of handling failed decisions.

As an explicitly hypothetical example, **US$50 per month** of local costs equals **1.25 billion hosted input tokens** at US$0.04/M: 50 ÷ 0.04 × 1,000,000. At 1,000 billed tokens per request, that is 1.25 million requests. It is a billing comparison, not a hardware quote or proof that either local model matches hosted quality.

Local inference can still be the right choice well below that volume if connectivity, data limits or latency is the deciding requirement. Compare **total operating cost divided by accepted decisions**, while keeping errors and human review visible. A lower-cost wrong decision is not a saving.

## License and hardware checks before downloading

Both repositories use **LFM Open License v1.0**. Liquid's [license guide](https://docs.liquid.ai/lfm/help/model-license) describes free commercial use below **US$10 million annual revenue** and a separate commercial license above the threshold. At that threshold, confirm eligibility with Liquid against the actual license wording. Redistribution also has notice, attribution and modified-file requirements; downstream commercial users must evaluate their own eligibility. Read the [d1-3B license](https://huggingface.co/LiquidAI/d1-3B/blob/main/LICENSE) and [600M license](https://huggingface.co/LiquidAI/d1-omni-600M/blob/main/LICENSE) for the artifact you ship. “Open weights” does not mean unrestricted Apache-2.0 licensing.

For memory planning, parameter count × two bytes gives only **16-bit weight storage**: approximately **6.24 GB** for d1-3B and **1.174 GB** for the 587M model, in decimal units. These are calculated storage amounts, not minimum RAM or VRAM requirements. Runtime buffers, activations, media processing and batching add memory; quantization changes both footprint and potentially decision quality.

The [3B model card](https://huggingface.co/LiquidAI/d1-3B) reports a warm single-question call at **8 ms on RTX 4090** and **30 ms on Apple M5 Pro**. For its 3.4K-token state, those figures become **102 ms and 640 ms**. The RTX 4090 result uses compilation. These are vendor measurements with specific inputs, not cold-start times or an API latency promise. Liquid does not publish inference timing for the experimental 600M model in its card.

## Calling the hosted API and running locally

The hosted API uses **`POST /decisions/v1/systemone`**, rather than the Chat Completions schema. Set `LIQUID_API_KEY` to a key created in Liquid's console. The following example uses an English support request and sends a billable call when executed:

```bash
curl --fail-with-body https://api.liquid.ai/decisions/v1/systemone \
  -H "Authorization: Bearer $LIQUID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "d1",
    "state": "Please refund the duplicate charge.",
    "questions": {
      "refund": {"type": "noul", "instructions": "Is a refund requested?"}
    }
  }'
```

Read the probability in `answers.refund.noul`; choose a threshold using labeled examples from your application. For images, the official API expects base64 image data rather than remote image URLs.

For local serving, install a current **llama.cpp build with d1 decision support**, then follow the [official GGUF recipe](https://huggingface.co/LiquidAI/d1-3B-GGUF):

```bash
llama-server -hf LiquidAI/d1-3B-GGUF:Q8_0
```

In a second terminal, call its local decision endpoint:

```bash
curl --fail-with-body http://127.0.0.1:8080/v1/systemone \
  -H "Content-Type: application/json" \
  -d '{
    "state": "Please refund the duplicate charge.",
    "questions": {
      "refund": {"type": "noul", "instructions": "Is a refund requested?"}
    }
  }'
```

To evaluate the smaller model instead, stop that server and use the [600M recipe](https://huggingface.co/LiquidAI/d1-omni-600M-GGUF):

```bash
llama-server -hf LiquidAI/d1-omni-600M-GGUF:Q8_0 -b 4096 -ub 4096
```

Its batch sizes must hold a whole question; the model card says to increase them for longer states, up to 16,384. These commands were checked against the official recipes, not executed here. Keep the model, quantization and runtime version in your evaluation record.

## Which option should you evaluate first?

**Hosted d1** is the practical starting point for a connected service with low or uncertain volume. **d1-3B** is the stronger local starting candidate for text/image decisions based on the published comparison. **d1-omni-600M** deserves a separate evaluation when speech or a smaller footprint matters and its experimental limits are acceptable.

For each candidate, use the same labeled tasks, category definitions and success criteria. Measure wrong decisions, missed cases, p95 latency, peak memory and how often uncertainty needs a fallback. Recheck calibration on your own language and data: a probability-shaped output does not guarantee correct decisions under a new distribution.

OmniaKey's [model catalog](https://omniakey.com/models) lists current gateway models and prices. The options in this Liquid AI d1 API review are Liquid's own API and local checkpoints, not d1 through OmniaKey. For generation tasks alongside a decision model, compare the currently listed models separately.

## Frequently asked questions

### How much does the Liquid AI d1 API cost?

The hosted `d1` API is priced at **US$0.04 per million input tokens**, and generated output tokens are not billed. Each question is charged for its text and all supplied images, so several questions in one request each pay for a shared input again.

### Can I run Liquid AI d1 locally?

Yes. **d1-3B** and **d1-omni-600M** ship as downloadable weights with GGUF recipes for llama.cpp, and `llama-server -hf LiquidAI/d1-3B-GGUF:Q8_0` serves `d1-3B` on `127.0.0.1:8080`. Count on more than the 16-bit weight storage of about **6.24 GB** for d1-3B, because runtime buffers, activations and media processing add memory.

### What is the difference between d1-3B and d1-omni-600M?

**d1-3B** has 3.12 billion parameters, a 32,768-token context and handles text and images. **d1-omni-600M** has 587 million parameters, 16,384 total positions, adds audio, and is experimental: with images, state and question text is cut to 896 tokens.

### Is the Liquid AI d1 license free for commercial use?

Both repositories use **LFM Open License v1.0**, which allows free commercial use below **US$10 million annual revenue**; above that threshold you need a separate commercial license from Liquid. Redistribution also carries notice, attribution and modified-file requirements.

### What can't d1 do?

d1 returns typed decisions — a probability, a choice from named categories or a score on a rubric — in a forward pass. It does not compose code, summarize a document or explain a decision in prose, so pair it with a generation model for those tasks.

## Sources checked for this Liquid AI d1 API review

- [Liquid AI: Introducing d1: The most capable decision model, now with vision](https://www.liquid.ai/blog/d1-decision-model)
- [Liquid AI: Open d1: Edge decision models for text, vision, and audio](https://www.liquid.ai/blog/d1-open)
- [Liquid AI: Decision Model Guide](https://docs.liquid.ai/guides/decision-model-guide)
- [Liquid AI: d1](https://docs.liquid.ai/lfm/models/d1)
- [Liquid AI: LFM Open License User Guide](https://docs.liquid.ai/lfm/help/model-license)
- [Liquid AI: d1-3B model card](https://huggingface.co/LiquidAI/d1-3B)
- [Liquid AI: d1-omni-600M model card](https://huggingface.co/LiquidAI/d1-omni-600M)
- [Liquid AI: d1-3B-GGUF](https://huggingface.co/LiquidAI/d1-3B-GGUF)
- [Liquid AI: d1-omni-600M-GGUF](https://huggingface.co/LiquidAI/d1-omni-600M-GGUF)
- [Liquid AI: d1-3B LICENSE](https://huggingface.co/LiquidAI/d1-3B/blob/main/LICENSE)
- [Liquid AI: d1-omni-600M LICENSE](https://huggingface.co/LiquidAI/d1-omni-600M/blob/main/LICENSE)
