English

Connect NextChat

Connect NextChat to ModelPort using Chat Completions.

Setup

  1. Set the variables below on your self-hosted NextChat server. Use the domain for BASE_URL so NextChat can append /v1.
  2. Restart NextChat, then choose a ModelPort text model ID available to your account.

NextChat configuration

BASE_URL=https://api.apimodel.store
OPENAI_API_KEY=REPLACE_WITH_MODELPORT_KEY

Verify the connection

Check the model catalog for a text model with available: true. A text route must be open to your account before you can send chat requests.

Text API and billing

NextChat official documentation ↗