Routes to
Open models across many providers
Paid in
USDC on Solana
Receipts
Signed per call, rooted hourly
Router markup
None

The open inference router

Every open model.
One key.

One OpenAI-compatible API for the open models, per-call USDC payments on Solana, and a signed receipt for every answer.

Routes to
  • llama-3.3-70b
  • qwen3-32b
  • deepseek-r1
  • mistral-small
  • gemma-3-27b
  • kimi-k2
  • glm-4.6
  • gpt-oss-120b
All models

An inference router you can check.

Trellis sits between your code and the providers that serve open models. It picks a provider, meters the call, charges what the provider bills and signs a receipt that says what happened.

Every hour the receipts are folded into one Merkle root and written to Solana, so a call can be checked later without taking our word for it.

Router markup on the price of inference
0%
Between receipt roots written to Solana
1 h
Signature on every receipt
Ed25519
Pay per call in USDC on Solana
x402
A garden trellis with climbing leaves, looking out over a valley at dawn

What every call gets.

The same three guarantees, whichever model or provider answers.

Compatible

Your SDK, unchanged

- baseURL: "https://api.openai.com/v1",
+ baseURL: `${TRELLIS_URL}/api/v1`,

Trellis speaks the OpenAI and OpenRouter APIs. Change the base URL and the key, and every model in the catalogue is one string away.

Browse the models

Accountable

A signed receipt

{
  "v": 2,
  "model": { "id": "llama-3.3-70b" },
  "node": { "provider": "<provider id>" },
  "lane": "public",
  "credit": {
    "mode": "per_call",
    "cost_units": 812
  }
}

Each answer carries a receipt with the model, the provider, token buckets and the cost in millionths of a dollar, signed with Ed25519.

Check a receipt

At cost

Pay for a call

Asset
USDC on Solana
Per call, x402
0.03 USDC min.
Approval
Per quote

Review the quote for your request, then authorize it with an x402-compatible wallet client.

Open the dashboard

Anchoring

Every hour, one root on Solana.

The hour’s receipts become a Merkle tree and its root is posted on chain. A short proof shows that any one receipt was in it.

How it works

The first call takes a minute.

Point the client you already use at Trellis. Read the quickstart

POST /api/v1/chat/completions
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: `${process.env.TRELLIS_URL}/api/v1`,
  apiKey: process.env.TRELLIS_KEY,
});

const reply = await client.chat.completions.create({
  model: "meta-llama/llama-3.3-70b-instruct",
  messages: [{ role: "user", content: "Hello" }],
});

Returned with the answer

x-receipt-id
The signed receipt for this call. Look it up on /verify/ or through the API.
x-generation-id
The generation record: model, provider, exact tokens and cost.
x-trellis-lane
The lane that served the call.
  1. Choose a model

    Read the catalog and select a chat model that supports your request.

  2. Review the quote

    An unpaid call returns payment terms. Check the network, asset, recipient and amount.

  3. Approve the call

    Use an x402 wallet client to authorize payment. Keep the receipt ID with the answer.

A garden gate set in a trellis wall, wrapped in climbing vines

Know where every request goes.

A request is served by one provider for the model you asked for, and the receipt names that provider. On the open lane the router reads the request in memory to route and meter it; the provider that answers reads it too.

Sealed lane

Sealed inference is planned.

The planned sealed lane would check hardware evidence before sending the request. The launch catalog offers public routes.

Open the trust center
  1. A fresh attestation. The router reads the gateway’s attestation and verifies it.
  2. Pinned measurements. The measured software must match the values the router pinned; a change fails the check.
  3. A receipt that says so. The receipt carries the provider’s attestation hash beside the router’s signature.

Priced at cost.

Trellis adds nothing to the price of inference. The catalog lists model rates and each x402 request has its own quote.

Estimate a call
Inference
Check the input and output rates for your model in the catalog.
Per call
Review the USDC quote before authorizing an x402 payment.
Network fee
The quote includes the pass-through network fee.

What is live at launch.

Check the milestones for each planned feature. Read the roadmap

Available at launch

  • Public-route inference
  • Model catalog and pricing
  • Per-call USDC payments
  • Signed receipts and memo anchors

Planned

  • Prepaid credits and capped tabs
  • Hosted payment facilitator
  • Sealed inference
  • Program-based receipt roots

Questions.

The rest is in the documentation.

Read the docs
What is Trellis?

An inference router for open models, paid in USDC on Solana. It speaks the OpenAI and OpenRouter APIs, so the SDK you already use works, and every answer comes with a signed receipt.

Do I need an account?

No email and no password. Create a key, or sign in with a Solana wallet by signing a message. The wallet separately authorizes per-call payments.

How is a call priced?

The catalog lists model rates. Request an x402 quote to see the payment terms for a particular call.

What does a receipt prove?

That the router signed this record of the call: the model, the provider, the token buckets and the cost. The hourly Merkle root on Solana lets anyone show that the receipt is in that hour’s tree.

What happens if a provider fails?

The call can fall back to another provider serving the same model, and the receipt names the one that answered.

Who can read my prompts?

On the open lane the router reads the request in memory to route and meter it, and the provider that answers reads it too. Sealed inference is planned.

Do I need to deposit funds?

At launch you can pay for each call directly from your wallet. Prepaid balances are planned.

Start with one key.

Choose a model and review a USDC quote before your first call.

A garden arch covered in vines, opening onto green hills at dawn