NexGate
API reference

API reference

OpenAI-compatible REST API for NexGate — chat completions, models, the cost estimator, account, health, and error reference.

NexGate exposes an OpenAI-compatible REST API. Point any OpenAI-compatible SDK at the NexGate base URL, authenticate with your API key, and call models by name.

Base URL   https://api.nexgate.app/v1
Auth       Authorization: Bearer nx_sk_...

Tip

Use /api/v1 as the SDK base URL for chat completions. Account, health, and estimator utilities live under /api/* without the /v1 prefix.

Endpoints

On this page