ORACULUM Developers
Open chat
The developer API

One key. Every model.

An OpenAI-compatible endpoint paid with your $ORACULUM credits. Point any OpenAI SDK or app at it and pick a model by name.

✓ One wallet✓ One credit balance✓ Any OpenAI client

Get your API key

Three steps, about a minute. No card, no sign-up form: your $ORACULUM credits pay for it.

  1. 1
    Connect your wallet

    The wallet that holds $ORACULUM. You sign one message: no transaction, no gas.

  2. 2
    Create a key

    Name it after where you’ll use it, so you can switch it off later.

  3. 3
    Use it

    Paste one of these into your code or app. Your key is filled in once you create it.

    # pip install openai
    from openai import OpenAI
    
    ai = OpenAI(
        base_url="https://YOUR-SITE/api/v1",
        api_key="YOUR_KEY",
    )
    
    r = ai.chat.completions.create(
        model="anthropic/claude-sonnet-5.5",
        messages=[{"role": "user", "content": "Hello!"}],
    )
    print(r.choices[0].message.content)

    Want a different model? Copy any id from the model menu or the model list. Manage and revoke keys on your account page.

Overview

Everything in the chat is also an API. Your key spends the same credits your coins earn, at the same prices, with the same privacy rules.

Quickstart

Base URLhttps://YOUR-SITE/api/v1
API keyStarts with orc_. Make one in step 2 above
ModelAny id from the model menu, for example anthropic/claude-sonnet-5.5
Works withThe official OpenAI libraries for Python and JavaScript, and any app with an OpenAI-compatible option

Authentication

Send your key as a bearer token: Authorization: Bearer orc_…. Each wallet can have five active keys. Keys never expire, and you can revoke one at any time on the account page.

Chat completions

MethodPathWhat it does
POST/api/v1/chat/completionsChat with any model. Same request and response as the OpenAI API, including stream, tools and images for models that accept them.
GET/api/v1/modelsEvery model you can use, with context length and price per token in USD.
GET/api/v1/meYour credits, holding and the time of the next hourly drop.

The response carries usage.cost: what the request cost in USD, already taken from your credits.

Streaming

Send "stream": true to get server-sent events, exactly like OpenAI’s API. The last event before [DONE] carries the usage and cost. If you close the connection early, you pay for the tokens generated so far.

Models

Use the model’s id, for example anthropic/claude-opus-5.5, openai/gpt-6.2-sol, google/gemini-4-carbon, x-ai/grok-4.7 or deepseek/deepseek-v4.1-flash. GET /api/v1/models lists them all with prices, zdr: true on models with a zero-retention route and private: true on models that run in sealed hardware.

Your balance

GET /api/v1/me returns your credits, holding, last drop and the time of the next one, so an app can show a balance or wait for the next drop.

Privacy

SendWhat happens
nothingZero retention: only providers that keep nothing. The default.
"private": trueOnly sealed-hardware providers. Works with the Private models ("private": true in /api/v1/models).
"zdr": falseAny provider for the model. None of them may train on your messages.

We store the model, token counts and cost of each request, never the content.

Costs and limits

  • Each request costs what the provider charges for it, taken from your credits after the answer finishes.
  • If your credits are low, max_tokens is lowered so the answer fits your balance. With no credits you get 402.
  • Up to 30 requests a minute per wallet, across the chat and all its keys. More returns 429.

Errors

StatusMeaning
401Missing, wrong or revoked key.
402Not enough credits. The next hourly drop is at the time in /api/v1/me.
404Unknown model id.
429Too many requests this minute.
503The credit pool or the provider is unavailable. Try again shortly; you were not charged.

Errors use OpenAI’s shape: {"error": {"message", "type", "code"}}.

Keeping keys safe

  • A key can spend all of your credits. Keep it on a server or in your own machine’s environment, never in a public repo or a web page.
  • We only store a fingerprint of each key, so a lost key can’t be shown again. Revoke it and make a new one.
  • Use one key per app, so you can revoke one without breaking the others.