bn-router

Getting started

From signup to your first streaming response in under five minutes.

1. Create an account

Open the console and sign up with your email. There is no setup fee and no credit card is required to register.

After signing in, top up a small balance or apply a redeem code so your first request can be billed.

2. Issue an API key

In the console, go to API Keys and create a key. Assign it to a group and set a usage quota — this key is the only credential your application needs.

Copy the key now; it is shown only once.

3. Make your first request

The endpoint speaks the OpenAI protocol, so any OpenAI-compatible client works. Point your base URL at the endpoint shown in your dashboard and use your key.

The example below sends a chat completion with curl.

curl
curl https://YOUR-BASE-URL/v1/chat/completions \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "your-model-id",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'