Getting started
Quickstart
From wallet to first response in about two minutes. If you already use the OpenAI or Anthropic SDK, you'll change one line.
Connect your wallet
Open the app and connect the wallet that holds your $ORBIX, or any wallet if you just want list-price access. You'll sign a message; it costs no gas.
Copy your API key
Your first key is created automatically and carries the holder discount. Find it under API keys and store it as an environment variable:
bash
export ORBIX_API_KEY="orb_live_…"Top up
Add credit with ETH or USDG on Robinhood Chain from Balance. Credit is held in USD and drawn down per request after the discount.
Send a request
Point your SDK at https://api.useorbix.app/v1 and use any model id from the market.
OpenAI SDK
python
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api.useorbix.app/v1",
api_key=os.environ["ORBIX_API_KEY"],
)
reply = client.chat.completions.create(
model="anthropic/claude-sonnet-5.5",
messages=[{"role": "user", "content": "Explain the ORBIX discount in one sentence."}],
)
print(reply.choices[0].message.content)Anthropic SDK
ts
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://api.useorbix.app",
apiKey: process.env.ORBIX_API_KEY,
});
const msg = await client.messages.create({
model: "anthropic/claude-opus-5.5",
max_tokens: 1024,
messages: [{ role: "user", content: "Hello from orbit" }],
});cURL
bash
curl https://api.useorbix.app/v1/chat/completions \
-H "Authorization: Bearer $ORBIX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4.1-flash",
"messages": [{"role": "user", "content": "Hello from orbit"}],
"stream": true
}'Check what you paid
Every response carries billing headers, so you can see the subsidy per request:
text
x-orbix-list-cost: 0.004120
x-orbix-discount: 0.45
x-orbix-charged: 0.002266
x-orbix-pool-factor: 0.75The same numbers appear per request under Usage.