NexGate

Introduction

OpenAI-compatible AI API gateway with prepaid credits, usage tracking, and multi-model access.

What is NexGate?

NexGate is an OpenAI-compatible AI API gateway for verified chat models. You use one API key, one base URL, prepaid credits, and a single /api/v1/chat/completions endpoint.

Note

NexGate currently documents chat completions. Embeddings and image generation are not part of the public API surface yet.

Who is NexGate for?

Core concepts

Sign up at nexgate.app/sign-up and verify your email. Eligible new users receive $5 in free credits — no card required.

API keys start with ng-. The plaintext key is shown once.

Use a direct model ID such as gpt-5.5.

Point your SDK at https://api.nexgate.app/v1 and call chat completions.

NexGate reserves estimated credits before the provider call, then charges actual token usage after completion.

Quick example

from openai import OpenAI

client = OpenAI(
    api_key="ng-your-key-here",
    base_url="https://api.nexgate.app/v1",
)

response = client.chat.completions.create(
    model="gpt-5.5",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "ng-your-key-here",
  baseURL: "https://api.nexgate.app/v1",
});

const response = await client.chat.completions.create({
  model: "gpt-5.5",
  messages: [{ role: "user", content: "Hello!" }],
});

console.log(response.choices[0].message.content);

Platform surface

AreaRouteAuth
Chat completionsPOST /api/v1/chat/completionsAPI key
Public model catalogGET /api/modelsNone
Health checkGET /api/healthNone
Pricing estimatorPOST /api/estimatorNone
Dashboard/account APIs/api/*Active session

Warning

Public utility routes are not a substitute for API-key auth on model calls. Chat completions always require Authorization: Bearer ng-....

What's next?

On this page