docs

Rotart is an OpenAI-compatible API for hundreds of models. You pay for it by burning $ROTART on Elysium.

start here

  1. 1. Get $ROTART on Elysium, where it trades against HYPE in a Uniswap v4 pool.
  2. 2. Open the app, sign in with your wallet and burn. The burn's dollar value lands on that wallet as credit.
  3. 3. Make a key in the app. It's shown once, so copy it.
  4. 4. Point any OpenAI client at the base URL below with that key.
base urlhttps://burnrotart.com/v1

Keys look like rt_ followed by 40 hex characters. Send one as Authorization: Bearer rt_....

first call

The official OpenAI SDKs work unchanged. Only the base URL and the key differ.

curl
curl https://burnrotart.com/v1/chat/completions \
  -H "Authorization: Bearer $ROTART_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4.1-flash",
    "messages": [{"role": "user", "content": "Say hi in five words."}]
  }'
python
from openai import OpenAI

client = OpenAI(base_url="https://burnrotart.com/v1", api_key="rt_...")

reply = client.chat.completions.create(
    model="deepseek/deepseek-v4.1-flash",
    messages=[{"role": "user", "content": "Say hi in five words."}],
)
print(reply.choices[0].message.content)
javascript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://burnrotart.com/v1",
  apiKey: process.env.ROTART_KEY,
});

const reply = await client.chat.completions.create({
  model: "deepseek/deepseek-v4.1-flash",
  messages: [{ role: "user", content: "Say hi in five words." }],
});
console.log(reply.choices[0].message.content);

Streaming works as it does on OpenAI. Set stream and read the chunks. The last chunk carries the usage and no choices.

python, streaming
stream = client.chat.completions.create(
    model="deepseek/deepseek-v4.1-flash",
    messages=[{"role": "user", "content": "Count to ten."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices:
        print(chunk.choices[0].delta.content or "", end="")

models

Every model on OpenRouter works with a Rotart key, over 400 of them. GET /v1/models lists their ids and list prices in dollars per token. A few to start with:

openai/gpt-oss-120b
OpenAI, open weights
deepseek/deepseek-v4.1-flash
DeepSeek, open weights
anthropic/claude-haiku-5.5
Anthropic
z-ai/glm-5.3
Z.ai, open weights
qwen/qwen3.5-397b-a17b
Qwen, open weights
anthropic/claude-sonnet-5.5
Anthropic

Open the full list

what a call costs

You pay what OpenRouter charges for the call, to the millionth of a dollar. There is no markup.

Rotart sends each call to the cheapest healthy host for that model, and never to one priced above the model's list price. Send your own provider settings and Rotart uses them instead.

A non-streamed answer carries an extra rotart object with cost_cents, list_cents and host, so you can see what you paid against list.

If your balance can't pay for a long answer, Rotart lowers max_tokens to what it can pay for. A prompt that alone costs more than your balance is refused before it's sent.

use it in apps

Anything that takes an OpenAI-compatible key works.

Cursor
Settings, Models. Paste the key as the OpenAI API key, turn on the base URL override and paste the base URL, then add a model id as a custom model.
Cline
Pick "OpenAI Compatible" as the API provider. Paste the base URL and the key, and type a model id.
Open WebUI
Admin panel, Settings, Connections. Add an OpenAI API connection with the base URL and the key.
Anything else
Look for an OpenAI-compatible or custom provider setting. It needs the base URL, the key and a model id.

limits

Live keys per wallet
20
Calls running at once per wallet
4
Monthly limit per key
Optional. Set it in cents when you make the key.
Spend across all wallets per day
$20, resets at 00:00 UTC
Credit from one burn
Up to $50

The daily spend limit protects the shared model account. When it's reached, calls are refused and nothing is charged.

errors

Errors use OpenAI's shape, with a status and a code you can branch on.

response body
{
  "error": {
    "message": "Your balance is 0.00¢. Burn $ROTART at https://burnrotart.com/app to add credit.",
    "code": "insufficient_credit",
    "type": "rotart_error"
  }
}
400 bad_request
The body isn't JSON, or it has no model or no messages.
400 unknown_model
OpenRouter has no model with that id. See /v1/models.
401 missing_key
No key was sent as a bearer token.
401 invalid_key
The key doesn't exist or was revoked.
402 insufficient_credit
The wallet's balance can't pay for this prompt. Burn more.
402 key_limit
The key used its monthly limit.
429 too_many_requests
The wallet already has 4 calls running.
499 client_closed
You hung up before the answer arrived. What the model made is still charged.
502 upstream_unreachable
OpenRouter couldn't be reached. Nothing was charged.
503 daily_limit
The daily spend across all wallets is used up. Nothing was charged.
503 upstream_account
Rotart's model account needs attention. Nothing was charged.
503 not_configured
The model account isn't connected. Nothing was charged.
varies upstream_error
OpenRouter or the host refused the call. Its own message is passed on.

burns and credit

Burn from the wallet you signed in with. $ROTART's contract has no burn function and refuses transfers to 0x0 and 0x...dEaD, so the app sends your coins to the Rotart furnace, 0xBe58DC2C3BDC148A098dA6431dF2dF647e0700c3. The furnace has no owner and no function that moves tokens, so the coins never leave. The coin still counts them in its total supply.

Rotart reads the receipt back from Elysium and credits the wallet the coins left. Each burn counts once. Sending in someone else's burn credits them, not you.

A burn is priced from the coin's Uniswap v4 pool against WHYPE. Rotart takes the lower of two prices: the pool price at the burn's block, and the average of seven pool prices taken five minutes apart over the half hour before it. HYPE's dollar price on Hyperliquid at that minute turns it into dollars. Moving the pool for a moment can't raise a burn's credit.

Credit stays on your wallet with no expiry. It can't be withdrawn or turned back into coins. Creator fees from every trade pay the model bills. If they can't cover a burn yet, burns close until fees refill the fund.

chain and contract

Network
Elysium mainnet, chain id 99901. Gas is paid in HYPE.
RPC
https://rpc.elysium.kinetiq.xyz
Coin
0x33262cE296101aA29ed8C7F6FA04801babd19369
Furnace (burned coins)
0xBe58DC2C3BDC148A098dA6431dF2dF647e0700c3