OpenBroker by Gonka Labs
Documentation

Devshards as a service

OpenBroker is a broker for brokers. It operates the escrow wallet, devshard runtime, version routing, and GNK-native accounting — so you can serve Gonka inference through a single OpenAI-compatible API without managing devshard infrastructure yourself.

No enrollment or allowlist application needed.

Create an account, grab an API key, deposit GNK — and you're serving Gonka inference. No operator application, no devshard setup, no private key management.

What is OpenBroker

OpenBroker manages the full devshard lifecycle behind a simple API. Brokers register, deposit GNK, get an API key, and route traffic — no private keys, no escrow management, no devshardctl operations.

Operated escrow wallet

OpenBroker runs the privileged escrow operator wallet and opens devshards on your behalf. Each broker gets isolated capacity — your traffic stops when your balance or dedicated devshard capacity is unavailable.

Operator wallet
gonka1r2s0rwgskp6y4ed7qr7d25qdwjwlvpp6demv90

This wallet is on the chain-level devshard operator allowlist in the v0.2.13 upgrade — anyone can verify it on-chain.

One OpenAI-compatible API

Send standard /v1/chat/completions requests with your obk- API key. Streaming, function calling, and all standard parameters work out of the box.

GNK-native billing

Usage is billed per-token in GNK at real devshard cost. No markup on top of network rates. Settlement and cost attribution happen automatically after each request.

Quickstart

From zero to your first inference request in minutes. No enrollment, no application, no waiting for approval.

Step 2

Grab an API key

On the dashboard, click Create API key. You'll receive a key starting with obk-. Store it securely — it cannot be recovered after creation. You can create multiple keys per account.

Get API key →
Step 3

Deposit GNK

Send GNK to your assigned wallet address shown on the dashboard. Funds appear after on-chain confirmation. A minimum balance is reserved per active request — check your balance before sending traffic.

Go to dashboard →
Step 4

Send your first request

Use your obk-key as a bearer token against the OpenAI-compatible endpoint. That's it — you're serving Gonka inference.

See examples ↓

API reference

OpenBroker is fully OpenAI-compatible. If your client works with the OpenAI API, it works with OpenBroker — just change the base URL and API key.

Base URL
https://openbroker.gonka.gg/v1
Endpoint
POST /chat/completions
Auth
Bearer obk-…
Streaming
"stream": true

Authentication uses a standard Authorization: Bearer header. Your obk- key is scoped to your broker account and balance.

Code examples

Replace obk-YOUR_API_KEY with your actual API key.

curl
curl https://openbroker.gonka.gg/v1/chat/completions \
  -H "Authorization: Bearer obk-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MiniMaxAI/MiniMax-M2.7",
    "messages": [
      { "role": "user", "content": "Explain devshards in one sentence." }
    ],
    "max_tokens": 100
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://openbroker.gonka.gg/v1",
    api_key="obk-YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="moonshotai/Kimi-K2.6",
    messages=[{"role": "user", "content": "Explain devshards in one sentence."}],
    max_tokens=100,
)

print(response.choices[0].message.content)
Node.js (fetch)
const res = await fetch("https://openbroker.gonka.gg/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer obk-YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "MiniMaxAI/MiniMax-M2.7",
    messages: [{ role: "user", content: "Explain devshards in one sentence." }],
    max_tokens: 100,
  }),
});

const data = await res.json();
console.log(data.choices[0].message.content);
Streaming

Set "stream": true to receive Server-Sent Events (SSE).

curl https://openbroker.gonka.gg/v1/chat/completions \
  -H "Authorization: Bearer obk-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MiniMaxAI/MiniMax-M2.7",
    "messages": [{ "role": "user", "content": "Count to 5." }],
    "max_tokens": 50,
    "stream": true
  }'

Supported models

Use the full model ID in the model field of your request. The active model set changes by governance vote per epoch — check network updates for the latest status.

MiniMax-M2.7

Active

High-throughput model optimized for fast generation and agentic workflows. Currently the only active PoC model on the Gonka network.

MiniMaxAI/MiniMax-M2.7

Kimi-K2.6

Inactive

Moonshot AI's frontier reasoning model. Temporarily removed for re-bootstrap at epoch 308 — expected to return at epoch 309.

moonshotai/Kimi-K2.6

Qwen3-235B

Inactive

General-purpose instruction-tuned model. Inactive as of epoch 308. May return in future epochs.

Qwen/Qwen3-235B-A22B-Instruct-2507-FP8

Ready to start?

No enrollment, no application, no waiting. Create an account and get your API key in minutes.