bn-router

Quickstart

Integrate bnrouter in three steps — no SDK changes required.

Steps

  1. 1

    Create an account

    Sign up from the console, then top up a small balance or apply a redeem code.

  2. 2

    Create an API key

    In the console, issue a key, assign it to a group, and set usage limits for your app.

  3. 3

    Make your first request

    Set the base URL to the endpoint from your dashboard and call any model with your existing OpenAI-compatible client.

Example request
curl https://www.bnrouter.com/v1/chat/completions \
  -H "Authorization: Bearer $YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "your-model-id",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Replace YOUR_API_KEY with a key from the console.

What next?

Explore the model plaza to see live pricing, or check the FAQ for answers about billing, security, and supported models.

Browse the FAQ