Venice AI × Elysium · the Hyperliquid L2

Pay in HYPE. Think with Venice.

Rochas is the first Venice AI agent kit on Elysium. Venice only takes USDC on Base or Solana. Rochas is the gateway in between: your agent pays per request in HYPE, a fraction of a cent on the default model, on a chain with 100 ms blocks, and gets private inference back. No account, no API key, no bridge.

Gateway
…
A request costs
…
HYPE
…
Elysium block
…
Block time
…
Gas for a payment
…

How it works

One 402. One transfer. One answer.

The same shape as x402, with the payment on Elysium. A transfer confirms in a block, about a tenth of a second, and costs a fraction of a cent in gas, so paying per request is practical.

  1. 01

    Ask, get a price

    Send an OpenAI-shaped request with no payment. The gateway answers 402 with a quote: how much HYPE, where to send it, a quote id. Valid two minutes.

    POST /v1/chat/completions
    ← 402 Payment Required
    { "scheme": "transfer",
      "network": "eip155:99901",
      "asset": "native",
      "amount": "15476761642394",
      "payTo": "0x…",
      "extra": { "quoteId": "0x…" } }
  2. 02

    Pay in HYPE

    Send that amount on Elysium to payTo, with the quote id as the transaction data. The quote is tied to your exact request: it cannot pay for another prompt.

    // any wallet, any library
    sendTransaction({
      to: payTo,
      value: amount,
      data: quoteId,
    })
    ← mined in ~115 ms
  3. 03

    Get the answer

    Repeat the request with the transaction hash. The gateway reads the payment from the chain, forwards your prompt to Venice, and returns Venice's answer untouched.

    POST /v1/chat/completions
    PAYMENT-SIGNATURE: base64({ txHash, quote })
    ← 200
    { "choices": [ { "message": … } ] }
    PAYMENT-RESPONSE: receipt

Pricing

Venice's price, in HYPE.

Every model's price is read from Venice and converted at the live HyperCore HYPE price. You pay for the prompt you send and the longest answer you allow, plus the operator's margin. The quote is the bill: nothing is charged after.

What will it cost?

…

Models

HYPE per 1M tokens
ModelInOut
Reading Venice's price list…

The kit

One command, one wallet.

Node 20 or newer. It creates a wallet on Elysium, points it at this gateway, and pays for what it asks under ceilings you set.

npx rochas-kit init
  1. Fund it with HYPE. rochas init prints an address. Send it a little HYPE on Elysium: a request on the default model costs about a tenth of a cent.
  2. Ask. rochas quote "…" shows the price for free. rochas ask "…" pays it and prints the answer with the transaction.
  3. Let an agent run. rochas agent "…" -b 0.005 pays step by step, reads Elysium and HyperCore, and stops at its HYPE budget.

Guardrails

It cannot overspend.

Every limit is checked on your machine before anything is signed. A gateway that asks too much is refused, not trusted.

maxPaymentHype

Ceiling for a single payment. Default 0.005 HYPE.

dailyLimitHype

Ceiling per UTC day across the CLI, the agent and the MCP server.

payAllowlist

Only the gateway you configured gets paid. A stray URL never does.

agent -b

A run's HYPE budget. A step that would cross it is not paid.

receipts.jsonl

A local line for every payment, with its transaction hash.

read-only tools

The agent reads Elysium and HyperCore. It moves nothing but its own inference fee.

MCP server

Tools your coding agent gets.

Over stdio, for Claude Code, Cursor, Codex or any MCP client. Reads need nothing. The tools that spend stay under the same ceilings.

npx -y rochas-kit mcp
venice_ask

Private inference through Venice, paid in HYPE from the wallet.

venice_quote

What a prompt would cost. Free.

rochas_agent

The budgeted reference agent, as a tool.

rochas_receipts

Every payment made, and what is left of today's limit.

ely_chain

Head block, measured block time, gas, HYPE in USD.

ely_status

HYPE, WHYPE and USDC of any address on Elysium.

core_market

A HyperCore perp: spread, depth around mid, funding, open interest.

core_top

The busiest HyperCore markets by 24h volume.

Run a gateway

One key. Two ledgers.

The gateway is in the kit. rochas serve turns any machine into one: its wallet receives HYPE on Elysium, and the same key signs in to Venice and spends prepaid credit there. No account on either side.

The operator sets a margin over Venice's price, and refills the Venice credit with USDC on Base. Everything a gateway does is a few hundred lines you can read.

rochas serve --port 8402
  • Stateless quotesA quote is an HMAC over its fields and a hash of the request. Nothing is stored to issue one.
  • Paid onceA transaction hash settles one request. If Venice fails after payment, the same hash can be retried.
  • Nothing loggedThe gateway forwards your prompt to Venice and keeps no copy. It does see it in transit: run your own to remove the middleman.

Questions

Straight answers.

Is Rochas an official Venice AI, Kinetiq or Hyperliquid product?

No. Rochas is an independent kit built on Venice's public API, Elysium's public RPC and Hyperliquid's public info API.

Why not pay Venice directly?

You can, with USDC on Base or Solana. An agent that lives on Elysium holds HYPE, and Elysium's USDC is a bridged token Venice does not accept. The gateway takes the HYPE where the agent already is.

What exactly do I pay?

Venice's price for the model, for the prompt you send and the longest answer you allow, converted at the live HYPE price, plus the operator's margin shown on this page. There is a floor of a tenth of a cent. The quote is final: a short answer is not refunded, and nothing is charged after.

Is it private?

Venice runs its private models with zero data retention. The gateway forwards your request to Venice and stores nothing, but it does see the request in transit, like any proxy. If that matters, run your own gateway: it is the same code.

What if I pay and get no answer?

The gateway only marks a transaction as used once Venice has answered. If Venice fails, repeat the request with the same transaction hash: the kit does this by itself. A payment sent after the quote expired is not honoured, so the kit pays immediately.

Can an agent use it without a human?

Yes, that is the point. It pays from its own wallet, under a per-payment ceiling, a daily limit and a run budget, and only to the gateway you configured.