ThriceGate

LLM gateway: one API for Sansi, translation, and a prompt guard

An LLM gateway is the layer between your code and the models. Ours is OpenAI-compatible and ships two things most gateways do not: a MoA model and a boolean prompt guard.

Models you can call

  • deepseek-flash-three-pass: Sansi, DeepSeek's official price plus a 5% fee on every token its passes use; the receipt lists each pass.
  • xjp-guard-1: the prompt guard at /v1/workflows/guard, billed by estimated tokens.

Why a MoA model in a gateway

A gateway can do more than forward requests. Sansi runs three rounds behind one call, with gates that send empty or unparseable output back with the error position, so you get one answer and pay for the tokens you can see.

Start

See /docs for a working request, and /pricing for prices.

base_url = https://router.xiaojins.com/v1