API docs

https://neuxs.ink

Models & pricing

Public catalog

No sign-in required

GET /api/v1/public/productsProducts and purchase rules
GET /api/v1/public/modelsModels and metering prices
curl https://neuxs.ink/api/v1/public/models

Prices reflect current metering configuration. Missing prices do not mean free. Key permissions determine model access.

Model inference

https://api.neuxs.ink/v1

Use an existing API key. Endpoint support varies by model and must be verified.

curl https://api.neuxs.ink/v1/chat/completions \
  -H "Authorization: Bearer $NEXUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.5","messages":[{"role":"user","content":"Hello"}]}'

Quickstart

Create a key in the console and store it as the NEXUS_API_KEY environment variable on your server. Never put keys in browser code or public repositories.

curl

curl https://api.neuxs.ink/v1/chat/completions \
  -H "Authorization: Bearer $NEXUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.5","messages":[{"role":"user","content":"Hello"}]}'

Python

import os
import requests

response = requests.post(
    "https://api.neuxs.ink/v1/chat/completions",
    headers={"Authorization": f"Bearer {os.environ['NEXUS_API_KEY']}"},
    json={"model": "gpt-5.5", "messages": [{"role": "user", "content": "Hello"}]},
    timeout=60,
)
response.raise_for_status()
print(response.json())

Node.js

const response = await fetch("https://api.neuxs.ink/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.NEXUS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ model: "gpt-5.5", messages: [{ role: "user", content: "Hello" }] }),
});
if (!response.ok) throw new Error(await response.text());
console.log(await response.json());

Streaming

Set "stream": true to receive server-sent events. Use curl -N to disable buffering.

curl -N https://api.neuxs.ink/v1/chat/completions \
  -H "Authorization: Bearer $NEXUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.5","stream":true,"messages":[{"role":"user","content":"Hello"}]}'

The models a key can call are listed under its allowed models. See Models & pricing for prices and examples.

Errors and support

401Invalid, revoked or missing key
402 / 403Insufficient credits, model not authorized, or account restricted
429Rate limited by Nexus or the upstream provider. Retry later with backoff.
5xxGateway or upstream error. Check Service status.

When contacting support, include the request ID, model name and time. Never send your full key.

Account management

Sign-in required

GET /api/v1/wallet?currency=USDCredit balance
GET /api/v1/usage-events?model={model}&credential_id={id}Usage events
GET / POST /api/v1/credentialsList and create keys
GET /api/v1/credentials/{id}/modelsAllowed models
POST /api/v1/credentials/{id}/revokeRevoke key

Account endpoints require a Nexus session; writes also require CSRF verification. Inference keys cannot manage accounts. Partner server authentication and payment callbacks require separate integration.