Quickstart

Moth DocsStart

Four steps from nothing to a first reply, with what it cost on the reply itself.

  1. Open Moth Console and connect a wallet

    Sign once on Robinhood Chain. There is no email and no password.

  2. Add credit

    Open Credit and press Add credit, then pay in USDG on Robinhood Chain from your connected wallet or send it to your own deposit address, or redeem a credit code. USDG sent on any other chain isn't credited.

  3. Create a key

    Open Keys, press New key and copy the key. The browser you made it in keeps a copy, and other devices show only its first characters. Keys start with moth_, and a new key starts with a cap of $20 a month.

  4. Make a first call

    Point any OpenAI SDK at the Mothpoint, or send the request below, naming a model from the catalog.

The Models page in Moth Console, showing the search, the four kinds with their counts, and a card for each model with its ID, its price and its saving against list
The catalog in Moth Console under Models. Each card's ID is what goes in the model field, and Models and the Playground shows the rest of the page.
curl
curl https://api.runmoth.si/v1/chat/completions \
  -H "Authorization: Bearer $MOTH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemini-3.8-flash", "messages": [{"role": "user", "content": "Hello"}]}'

The reply is the model's answer in the usual shape, and its moth-charged-micros header says exactly what the call cost, in millionths of a dollar.

Held, then settled. Before the model runs, the call holds its worst case from your balance, and when it ends you pay only what it used. How a call is billed.