Skip to main content
Router is Brightnode’s hosted inference entrypoint. It gives you a single OpenAI-compatible API for the models Brightnode exposes through the shared catalog, so you can swap models without changing SDKs or reworking your application.
Use https://api.brightnode.cloud/v1 as the base URL for Router requests.

Quickstart

Before you send traffic, create an API key with the Inference scope.

List available models

Send a chat completion

Generate embeddings

Use Router with OpenAI SDKs

Router is designed to be drop-in compatible with OpenAI SDKs when you set the base URL to https://api.brightnode.cloud/v1.

Request behavior

Router supports the standard hosted inference paths:
  • GET /v1/models to list available models.
  • GET /v1/models/{model_id} to inspect a single model.
  • POST /v1/chat/completions for chat-style generation.
  • POST /v1/completions for legacy text completion clients.
  • POST /v1/embeddings for embedding workloads.
If a requested model is still waking up, Router may respond with 503 and a Retry-After header. In that case, retry after the suggested delay.

When to use Router

Use Router when you want:
  • One endpoint across multiple hosted models.
  • Standard OpenAI SDK compatibility.
  • Centralized API key management.
  • Inference analytics in the Brightnode console.
If you need deployment-level control instead of the shared hosted endpoint, see Beams.