Checking providers

06 · Docs

One endpoint,many sellers.

ERIS speaks the OpenAI chat completions protocol. Point any OpenAI SDK at ERIS, use an ERIS key, and each request is routed to a listed seller and settled in your balance.

On this pageIntroduction

Introduction

ERIS is an exchange for AI inference. Sellers connect OpenAI-compatible endpoints and list models at prices they set. Buyers call one API, the OpenAI chat completions protocol, and ERIS routes each request to a listed seller, meters the tokens it used and settles the charge in USDG.

  • One API, many sellers. Any OpenAI SDK works: change the base URL and use an ERIS key.
  • Listed prices, metered usage. You pay the serving seller’s listed price per million tokens, for the tokens the seller reports.
  • Routing with failover. Pin a seller, or let ERIS choose by price, latency or both, and move to another seller if one fails.
  • USDG balances on Robinhood Chain. Buyers fund a balance with USDG; sellers withdraw what they earn to their own wallet.

Two listings are run by ERIS itself and marked house on the Marketplace: ERIS Starter, a free model for trying things out, and OpenRouter, a set of verified models whose prices follow OpenRouter’s. Every other listing belongs to an independent seller.

Quickstart

  1. Get an account. Public sign-up is closed for now; accounts are created by ERIS Labs. Sign in with the account you were given.
  2. Create an API key on the Dashboard under API keys. It is shown once; store it as ERIS_API_KEY.
  3. Pick a model on the Marketplace or from GET /api/v1/models. eris-starter/openai-fast is free and needs no balance.
  4. Send a request to https://erislabs.org/api/v1. For paid models, deposit USDG first.
curl https://erislabs.org/api/v1/chat/completions \
  -H "Authorization: Bearer $ERIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"eris-starter/openai-fast","messages":[{"role":"user","content":"Say hello in five words."}],"max_tokens":40}'

Responses come from the seller’s model, so the text you get will differ from the examples on this page.

For buyers

A buyer account calls the API with its own keys and pays for what it uses.

API keys

Create keys on the Dashboard, one per app or environment. Each key can have its own requests-per-minute and requests-per-day limit (Limits). Revoking a key stops it on the next request. ERIS stores only a hash of each key, so a lost key cannot be shown again: create a new one.

Playground

The Playground sends real requests from your signed-in account, with streaming, a system prompt, temperature, max_tokens and, for models listed by more than one seller, a route mode. It shows which seller answered, the time to first token, the tokens used and what you were charged. Playground calls count against your account’s limits and balance like API calls.

Dashboard

Your balance, what you have deposited and spent, every charge and refund, and a ledger of every request with its seller, status, latency and tokens. Requests you make with a key and in the Playground both appear here.

For sellers

A seller account lists models from endpoints it operates and earns 95% of what buyers pay for them. Seller setup is done on the Providers page; there is no seller API.

Register an endpoint

  • The endpoint is a base URL that serves GET /models and POST /chat/completions in the OpenAI format, such as an OpenAI-compatible inference server or gateway.
  • It must resolve to a public internet address. ERIS checks this when you register, at every health check and before every call.
  • An optional API key is sent to your endpoint as a bearer token. It is encrypted at rest (AES-256-GCM) and never shown again.
  • Only list an endpoint you are allowed to resell, including under the terms of any provider behind it.

Price and list models

ERIS reads your /models list. Each discovered model starts unlisted. Set an input and an output price in US dollars per million tokens, then list it. Buyers reach it as your-slug/model-id, and by its bare id once ERIS has verified your endpoint (Routing). A model can be paused for review by ERIS; it then leaves the market while your prices and listing choices are kept. You can change prices, unlist a model, hide the whole endpoint from the market, rename it or remove it at any time. Re-discovery never overwrites a price you set.

Health and reliability

ERIS checks every endpoint about every 5 minutes. Models that disappear from /models are marked unavailable and stop receiving traffic, without losing their history. After three failed calls or checks in a row, an endpoint is tried only after healthier sellers until it succeeds again.

What you see, and what you must report

  • Your dashboard shows each request your endpoint served (model, status, latency, tokens) and what you earned. You never see which buyer sent a request.
  • Seller names that copy a house listing’s name or contain “ERIS” are refused, so buyers can tell ERIS’s own listings apart.
  • Your endpoint receives the full content of each request routed to it. Use it only to answer the request, keep it confidential, and handle it lawfully.
  • Return OpenAI usage token counts (in the final chunk when streaming). Without them ERIS has to estimate the charge from the text, and the charge is marked as estimated for the buyer.

Earnings are credited as each request completes. Withdrawals explains how to move them to your wallet.

Authentication

The API lives under https://erislabs.org/api/v1. Send your key as a bearer token on every request:

Header
Authorization: Bearer eris_sk_...

A key belongs to a buyer account, so every call it makes is billed to that account. Keys work from servers and scripts; do not ship one in a web page or a mobile app, where anyone can read it.

Request without a key
curl https://erislabs.org/api/v1/models
Response
HTTP/1.1 401 Unauthorized

{
  "error": {
    "message": "Missing API key. Send `Authorization: Bearer eris_sk_...`. Create one in the Dashboard.",
    "type": "authentication_error"
  }
}

Models

GET /api/v1/models lists every model you can call right now, in the OpenAI list format. A model is listed when its seller has priced and published it and it was present at the seller’s last health check.

Request
curl https://erislabs.org/api/v1/models -H "Authorization: Bearer $ERIS_API_KEY"
Response (one entry shown)
{
  "object": "list",
  "data": [
    {
      "id": "eris-starter/openai-fast",
      "object": "model",
      "created": 1795401127,
      "owned_by": "ovh",
      "eris": {
        "provider": "eris-starter",
        "seller": "ERIS Starter",
        "upstream_id": "openai-fast",
        "house": true,
        "verified": true,
        "context_length": null,
        "pricing": {
          "input_per_1m_eris": "0",
          "output_per_1m_eris": "0",
          "input_per_1m_usd": 0,
          "output_per_1m_usd": 0
        }
      }
    }
  ]
}
idWhat to send as model: seller-slug/upstream-id.
eris.upstream_idThe seller’s own model id. Sending it alone routes across every seller that lists it.
eris.pricingListed price per million tokens. *_usd is the seller’s price in US dollars; *_eris is the same price in USDG (the field name is historical). They are equal, since 1 USDG = $1.
eris.house / eris.verifiedWhether ERIS operates the listing, and whether the seller is verified. Only verified sellers serve a bare upstream_id.
eris.context_lengthAs reported by the seller; null when it is not reported.

Chat completions

POST /api/v1/chat/completions takes the OpenAI request body. ERIS checks model, messages, max_tokens (or max_completion_tokens) and its own route field, then forwards everything else to the seller unchanged, with model replaced by the seller’s own id. The seller’s response body comes back as it is, including any extra fields the seller adds.

Request
curl https://erislabs.org/api/v1/chat/completions \
  -H "Authorization: Bearer $ERIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"eris-starter/openai-fast","messages":[{"role":"user","content":"Say hello in five words."}],"max_tokens":40}'
Response
HTTP/1.1 200 OK
content-type: application/json
x-eris-provider: eris-starter
x-eris-model: openai-fast
x-eris-route: pinned
x-eris-attempts: 1
x-eris-latency-ms: 2647
x-eris-price-input: 0
x-eris-price-output: 0
x-ratelimit-limit-requests: 60
x-ratelimit-remaining-requests: 59
x-eris-quota-remaining: 999

{
  "id": "pllns_a8ee0b1a2a82ae88fae0fe2601ef8c68",
  "object": "chat.completion",
  "created": 1795097363,
  "model": "gpt-oss-20b",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hey there, how's it going?",
        "reasoning": "We need to say hello in five words. Just answer concisely."
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 317,
    "completion_tokens": 33,
    "total_tokens": 350,
    "prompt_tokens_details": { "cached_tokens": 304 },
    "completion_tokens_details": { "reasoning_tokens": 0 }
  },
  "user_tier": "anonymous"
}

Parameters such as temperature, tools or response_format are passed through, so whether they work depends on the seller’s model. ERIS adds these response headers:

x-eris-providerSlug of the seller that answered.
x-eris-modelThe seller’s model id that was called.
x-eris-routepinned, balanced, price or latency: how the seller was chosen.
x-eris-attemptsSellers tried, including the one that answered.
x-eris-latency-msTime the seller took (not streamed calls).
x-eris-price-input / -outputThe serving seller’s listed price, US dollars per million tokens.
x-eris-reservedUSDG held for this request while it ran (paid listings only).
x-eris-chargeUSDG charged (paid listings, not streamed calls).
x-ratelimit-limit-requestsThe key’s requests-per-minute limit.
x-ratelimit-remaining-requestsRequests left this minute.
x-eris-quota-remainingRequests left today (UTC).

Request headers

x-eris-routeRoute mode, as an alternative to the route body field.
Idempotency-KeyAny unique string, up to 200 characters. A paid request repeated with the same key is refused with 409 instead of being charged twice.

Streaming

Set "stream": true and ERIS passes the seller’s server-sent events through unchanged. ERIS asks the seller to include token usage in the final chunk (stream_options.include_usage); if the seller rejects that option, ERIS retries once without it.

Request
curl https://erislabs.org/api/v1/chat/completions \
  -H "Authorization: Bearer $ERIS_API_KEY" \
  -H "Content-Type: application/json" \
  -N \
  -d '{"model":"eris-starter/openai-fast","messages":[{"role":"user","content":"Say hello in five words."}],"max_tokens":40,"stream":true}'
Response (abridged)
HTTP/1.1 200 OK
content-type: text/event-stream; charset=utf-8
x-eris-provider: eris-starter
x-eris-route: pinned
x-eris-attempts: 1

data: {"id":"chatcmpl-req_01M7X6JK7DGGGX7XX7KQMRJ8WZ","object":"chat.completion.chunk","created":1795202567,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"role":"assistant","content":""}}]}

data: {"id":"chatcmpl-req_01M7X6JK7DGGGX7XX7KQMRJ8WZ","object":"chat.completion.chunk","created":1795202567,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"role":"assistant","reasoning":"Need"}}]}

…

data: {"id":"chatcmpl-req_01M7X6JK7DGGGX7XX7KQMRJ8WZ","object":"chat.completion.chunk","created":1795202567,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"role":"assistant"},"finish_reason":"stop"}]}

data: {"id":"chatcmpl-req_01M7X6JK7DGGGX7XX7KQMRJ8WZ","object":"chat.completion.chunk","created":1795202567,"model":"gpt-oss-20b","choices":[],"usage":{"prompt_tokens":317,"completion_tokens":25,"total_tokens":342}}

data: [DONE]
  • Some models stream their reasoning in a reasoning field before the answer in content, as above.
  • Streamed calls have no x-eris-charge header, because the charge is known only at the end. It appears in your Dashboard transactions as soon as the stream finishes.
  • If you close the stream early, or the seller stops mid-stream, you are charged for what was delivered: the seller’s usage if it reported it, otherwise an estimate marked as such.
curl https://erislabs.org/api/v1/chat/completions \
  -H "Authorization: Bearer $ERIS_API_KEY" \
  -H "Content-Type: application/json" \
  -N \
  -d '{"model":"eris-starter/openai-fast","messages":[{"role":"user","content":"Say hello in five words."}],"max_tokens":40,"stream":true}'

Routing

  • Pinned: seller-slug/model-id goes only to that seller. x-eris-route says pinned.
  • Across sellers: a bare model id, such as mistralai/mistral-nemo, goes to every verified seller that lists exactly that id, best first by your route mode. House listings are verified; an independent seller is verified after review by ERIS.
  • Unverified sellers are marked on the Marketplace and in eris.verified. They are reached only when you name them with seller-slug/model-id.
Route modeRanks sellers by
balanced (default)Price and latency, weighed equally after scaling each to the candidates’ range.
priceLowest average of input and output price; latency breaks ties.
latencyLowest median latency of the seller’s last 50 successful calls, increased by its failure rate over its last 20 calls.

Choose the mode with "route": "price" in the body or an x-eris-route: price header. ERIS never forwards route to the seller.

Failover

  • ERIS tries at most three sellers. Sellers whose worst-case cost you cannot cover are skipped; sellers that failed their last health check, or the last three calls, are tried last.
  • A failure moves on to the next seller when the endpoint cannot be reached, times out, returns a server error (5xx), is rate limited (429), returns 408, 409 or 425, or rejects ERIS’s own credentials (401, 402, 403). Those describe the seller, not your request.
  • Any other 4xx answer, such as a malformed request, comes straight back to you, since another seller would refuse it too.
  • Each failed attempt costs nothing. If every seller fails, your hold is released in full.

Limits

Requests per minute, per key60 by default, up to 600
Requests per day (UTC), per key1,000 by default, up to 100,000
PlaygroundThe same defaults, per account
Request body1 MB
Sellers tried per request3
Time per requestUp to 2 minutes per seller and about 4½ minutes in total, failover and streaming included

Set a key’s limits when you create it or later with its Limits button on the Dashboard. A request over a limit is refused before any seller is contacted:

Response
HTTP/1.1 429 Too Many Requests
retry-after: 23
x-ratelimit-limit-requests: 60
x-ratelimit-remaining-requests: 0
x-ratelimit-reset-requests: 23s

{
  "error": {
    "message": "Rate limit (requests per minute) exceeded: 60. Try again in 23s.",
    "type": "rate_limit_error"
  }
}

Errors

Errors use the OpenAI envelope. type says what kind of error it is; seller failures add a code and, in the message, a reference you can quote to Support.

Example
HTTP/1.1 404 Not Found

{
  "error": {
    "message": "No listed provider serves model \"no-such-model\". Call GET /api/v1/models for the live list.",
    "type": "model_not_found"
  }
}
Statustype / codeWhen
400invalid_request_errorThe body is not JSON, model is missing, messages is empty, max_tokens is not a positive integer, or route is not balanced, price or latency.
401authentication_errorMissing, unknown or revoked key.
402insufficient_balanceYour balance cannot cover the hold for this request (Billing). No seller was contacted.
404model_not_foundNo listed seller serves that model; for a bare id, no verified seller does, and the message names unverified sellers you can pin.
404upstream_error / model_unavailableThe seller no longer serves the model.
409idempotency_conflictA request with this Idempotency-Key was already accepted.
413body_too_largeThe request body is over 1 MB.
413upstream_error / request_too_largeToo long for the model: shorten the conversation or lower max_tokens.
4xxupstream_error / upstream_rejectedThe seller rejected the request itself, with its reason when it gave a plain one.
429rate_limit_errorYour key’s per-minute or per-day limit. See Retry-After.
502upstream_error / upstream_unreachable, upstream_unavailable, upstream_errorEvery seller tried failed or could not be reached. Nothing was charged.
503upstream_error / upstream_rate_limited, upstream_unavailableThe model is busy or down at its source. See Retry-After.
504upstream_error / upstream_timeoutThe seller took too long. Try again or lower max_tokens.

Error messages never include a seller’s endpoint address, keys or raw error output.

Pricing

Every listing has two prices, in US dollars per million tokens: one for input (prompt) tokens and one for output (completion) tokens. You pay them in USDG at 1 USDG = $1. The charge for a request is:

Charge
charge = (prompt_tokens × input price + completion_tokens × output price) / 1,000,000

For example, a request using 317 prompt tokens and 62 completion tokens on a listing priced $0.15 input and $0.60 output costs (317 × 0.15 + 62 × 0.60) / 1,000,000 = 0.00008475 USDG. Of that, the seller receives 95% and ERIS keeps a 5% platform fee. Buyers always pay exactly the listed price; the fee comes out of the seller’s share.

  • Token counts are the ones the seller reports. Amounts are kept to 18 decimal places and rounded up, so a seller is never paid less than its price.
  • The price is the one listed when the request runs. Sellers can change prices at any time, and the house OpenRouter listings follow OpenRouter’s prices.
  • Listings priced at zero are free and need no balance.
  • Compare prices on the Marketplace, sorted by price, or in GET /api/v1/models.

Billing

Paid requests are paid from your USDG balance. Before ERIS contacts any seller it holds the most the request could cost, then charges what was actually used and returns the rest.

  1. Hold. The hold assumes the whole prompt is billable (its size in bytes, plus 1,024 tokens for a seller’s own system prompt) and that the full max_tokens is generated, at the highest price among the sellers that may be tried. If you omit max_tokens on a paid request, ERIS sets it to 4,096 so the hold has a limit.
  2. Charge. When the request finishes, you are charged for the tokens used at the serving seller’s price, never more than the hold.
  3. Release. The rest of the hold returns to your balance at once. A failed request is not charged at all.

If your balance cannot cover the hold, the request is refused before any seller is contacted:

Response
HTTP/1.1 402 Payment Required

{
  "error": {
    "message": "Insufficient USDG balance: 0.0001 available, this request needs up to 0.0002226 reserved. Unused reservation is refunded after the call.",
    "type": "insufficient_balance",
    "code": "insufficient_balance"
  }
}
  • A charge marked est. means the seller did not report token usage, so ERIS estimated it at about four characters per token.
  • Your Dashboard lists every charge, refund and deposit. A buying balance can only be spent on requests; see Limitations.

Deposits

You fund a balance by sending USDG on Robinhood Chain from a wallet you have linked to your account.

  1. Link a wallet. On the Dashboard, under Deposit, choose Link wallet and sign the message in your browser wallet. Signing is free; it is not a transaction. An account has one linked wallet, and a wallet can be linked to one account.
  2. Send USDG on Robinhood Chain from that wallet to the deposit address shown on your Dashboard. The USDG token contract is 0x5fc5360d0400a0fd4f2af552add042d716f1d168.
  3. Wait for finality. The deposit is credited once the network has finalized the transaction, which takes a while after you send it. ERIS finds deposits from linked wallets by itself; you can also paste the transaction hash under “Check a transaction”.
  • You are credited the amount the deposit address actually received, once per transfer.
  • Sent from a wallet you had not linked? Link that wallet, then check the transaction by its hash. ERIS never credits a deposit without proof that your account controls the sending wallet.
  • Other tokens, other networks and other addresses cannot be credited and may be lost.

Withdrawals

Sellers withdraw earnings from the Dashboard’s Withdraw panel to their linked wallet.

  • Withdrawals go only to the wallet linked to your account, and each needs your account password.
  • The minimum is 1 USDG. A newly linked wallet can receive withdrawals 24 hours after it was linked; linking a different wallet starts the wait again.
  • USDG has 6 decimal places on chain, so amounts are rounded down to the nearest millionth; the remainder stays in your balance. ERIS pays the network fee.
  • ERIS’s settlement process runs every minute and sends queued withdrawals. The Withdraw panel shows each one as sending, then sent with a link to its transaction, returned to balance if it could not be sent, or under review if an operator needs to look at it.

Buying balances cannot be withdrawn; only seller earnings can.

Security

  • Keys: API keys are shown once and stored only as SHA-256 hashes; revoking one stops it on the next request.
  • Accounts: passwords are hashed with scrypt. The web session is an HttpOnly cookie that lasts up to 30 days, and the site refuses cross-site requests that change anything.
  • Prompts: ERIS does not store the text of prompts or responses. Request content goes only to the seller that serves it.
  • Sellers: endpoint keys are encrypted (AES-256-GCM). Endpoints must be on public addresses, checked before every call. Buyers never see a seller’s endpoint address or key, and sellers never see who a buyer is.
  • Money: deposits are credited only from a wallet proven by signature; withdrawals need your password, go only to your linked wallet and wait 24 hours after a new wallet is linked. The treasury key never leaves the ERIS server.
  • ERIS will never ask for your password, private key, recovery phrase or API keys. Support tickets that contain them are refused.

More in the Privacy notice and Custody and risk.

Limitations

What ERIS does not do today:

  • Public sign-up is closed. Accounts are created by ERIS Labs.
  • The API covers chat completions and the model list only. There are no embeddings, image, audio, legacy completions or Responses endpoints.
  • A buying balance cannot be withdrawn; deposit what you expect to spend.
  • Deposits are USDG on Robinhood Chain only, from your one linked wallet.
  • Seller endpoints are managed in the web interface; there is no seller API.
  • Support for parameters such as tools or JSON mode depends on each seller’s model; ERIS passes them through.
  • Streamed calls report their charge in the Dashboard, not in a response header.
  • Charges are estimated when a seller does not report token usage.
  • ERIS sends no email. Replies to support tickets appear in the Support Center.

Support

Start at Support: it answers common questions about deposits, payments, withdrawals and accounts. To reach ERIS staff, open a ticket there while signed in. Only you and ERIS staff can read it, and replies appear on the ticket.

For a failed request, include the time, the model and the reference from the error message. For a deposit, include the transaction hash. Never include your password, private key, recovery phrase or API keys.

FAQ

Do I need an OpenAI account?
No. ERIS uses the OpenAI protocol, not OpenAI’s service. Your ERIS key is the only key you need.
Which clients work?
Any OpenAI-compatible client that lets you set the base URL, including the official OpenAI SDKs for Python and JavaScript.
Why is the same model listed by two sellers?
Sellers can list the same model id. Pin one with seller/model, or send the bare id and let ERIS route between the verified ones (Routing).
What if a seller fails halfway through my request?
Before any reply has started, ERIS moves on to the next seller at no cost. If a stream breaks after it started, you are charged only for what was delivered.
Why does a charge say est.?
The seller did not report token usage, so ERIS estimated it from the text. Ask the seller, or prefer listings that report usage.
Can I get my buying balance back?
Not from the Dashboard: a buying balance pays for requests. Contact Support if something went wrong with a deposit.
Does ERIS keep my prompts?
No. ERIS records metadata (time, model, seller, tokens, price, status) but not the content. The seller that answers does receive the content.
How do I become a seller?
You need an account with the seller role. Then register your endpoint on the Providers page, price your models and list them.