Quickstart — first completion in 5 minutes

  1. Create an account at https://inferencebrain.com and verify your email.
  2. Create an API key (Dashboard → API keys). Copy the ib_live_… value — it is shown once.
  3. Call the API (OpenAI-compatible):
curl https://api.inferencebrain.com/v1/chat/completions \
  -H "Authorization: Bearer $IB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.6-35b-a3b-awq",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

Python, using the OpenAI SDK:

from openai import OpenAI
client = OpenAI(api_key=IB_API_KEY, base_url="https://api.inferencebrain.com/v1")
r = client.chat.completions.create(
    model="qwen3.6-35b-a3b-awq",
    messages=[{"role": "user", "content": "Say hello"}],
)
print(r.choices[0].message.content)

JavaScript:

import OpenAI from "openai";
const client = new OpenAI({ apiKey: process.env.IB_API_KEY, baseURL: "https://api.inferencebrain.com/v1" });
const r = await client.chat.completions.create({
  model: "qwen3.6-35b-a3b-awq",
  messages: [{ role: "user", content: "Say hello" }],
});
console.log(r.choices[0].message.content);

Next: Streaming · Async jobs · Models catalog