Using d1 on OpenRouter

Implementation guide · d1 · Liquid AI

Serverless

OpenRouter exposes d1 through model ID liquid/d1. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-10-05. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at OpenRouter and generate an API key.
  2. 2
    Use the OpenRouter SDK or REST API to call liquid/d1 — see the documentation for request format.
  3. 3
    You'll be billed $0.04/1M input, Free/1M output tokens. See full pricing.

Code Examples

See OpenRouter documentation for integration details.

Pricing on OpenRouter

TypePrice (per 1M)
Input tokens$0.04
Output tokensFree

Capabilities

VisionMultimodalStructured Outputs

About d1

d1 is Liquid AI's first decision model. It reads unstructured input (text, images or both) plus one or more typed questions (Noul yes/no, Choice, Score) in a single forward pass and returns calibrated probabilities, generating no output tokens, via POST https://api.liquid.ai/decisions/v1/systemone (TypeSafe SDK-compatible). Liquid gives text decisions as 200–300 ms. Released 2026-09-22 (text). Image input was added 2026-10-05 on the Liquid API under the paid id d1: JPEG/PNG/WebP/GIF, up to 8 images and 10,000 32×32 patches per request, billed as input tokens at 1.5 tokens per patch.

Model Specs

Released2026-09-22

Provider

OpenRouter

OpenRouter, Inc.

New York, NY, USA