Before you start
Noxery uses the OpenAI API format. Your existing OpenAI SDK code and curl examples work as-is; the only change is the base_url value.
- Account: a free account (you land on the dashboard after signing in).
- Terminal: command-line access.
- SDK (optional): Python 3.9+ or Node.js 18+.
- Network: HTTPS access to
api.noxery.neton port 443.
1. Create an account
- Open the registration page and create a free account.
- After signing in you are redirected to the Dashboard, where you manage usage, keys and plan.
- Verify your email address; unverified accounts get
403on API access.
2. Generate an API key
- Open the API Keys page from the left menu.
- Give the key a recognizable name (e.g.
prod-server) and press Generate. - Immediately copy the key shown on screen once and store it somewhere safe.
- After you leave the page the full key is never shown again.
3. Set the environment variable
Define the key as an environment variable. This is safer than writing it into your code.
export NOXERY_API_KEY="nox-YOUR_KEY"
export NOXERY_BASE_URL="https://api.noxery.net/v1"$env:NOXERY_API_KEY = "nox-YOUR_KEY"
$env:NOXERY_BASE_URL = "https://api.noxery.net/v1"NOXERY_API_KEY=nox-YOUR_KEY
NOXERY_BASE_URL=https://api.noxery.net/v1
# add .env to .gitignoreMake sure the key starts with nox-. A different prefix or an empty value returns 401.
4. Pick a model
In requests, use the id value returned by the API, not the display name shown in the panel. Fetch the current list:
curl https://api.noxery.net/v1/models \
-H "Authorization: Bearer $NOXERY_API_KEY"You can also browse the active catalog on the Models page. If you plan to send image input, verify that the model's modalities field includes image.
5. Install an SDK (optional)
Noxery uses the OpenAI client format, so existing SDKs work. The only change is the base_url value.
Python
pip install openaifrom openai import OpenAI
client = OpenAI(api_key="nox-YOUR_KEY", base_url="https://api.noxery.net/v1")JavaScript / TypeScript
npm install openaiimport OpenAI from "openai";
const client = new OpenAI({ apiKey: "nox-YOUR_KEY", baseURL: "https://api.noxery.net/v1" });Never embed the key in a browser or mobile app; always keep it on your own server.
6. Send your first request
curl https://api.noxery.net/v1/chat/completions \
-H "Authorization: Bearer $NOXERY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-3.8-flash","messages":[{"role":"user","content":"Hello"}]}'from openai import OpenAI
client = OpenAI(api_key="nox-YOUR_KEY", base_url="https://api.noxery.net/v1")
response = client.chat.completions.create(
model="gemini-3.8-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)const response = await client.chat.completions.create({
model: "gemini-3.8-flash",
messages: [{ role: "user", content: "Hello" }],
});
console.log(response.choices[0].message.content);If you get no response, check the 401 / 403 / 404 / 429 sections on the troubleshooting page.
7. Track your usage
Every request is logged with its model, token counts and status. On the Usage page you can see the request log and per-model consumption.
Common mistakes
| Symptom | Cause | Fix |
|---|---|---|
| 401 Invalid or revoked API key | Wrongly copied, revoked or missing key. | Check the header; make sure the nox- prefix is intact and there are no spaces. |
| 403 | Suspension, closed API access, unverified email or subscription requirement. | Clear the warnings in the panel and check your plan. |
| 404 model | Display name differs from the API id. | Use the id value from GET /v1/models. |
| 429 | RPM, quota or concurrency limit. | Wait for retry_after, retry at most 2-3 times. |
| Connection timeout | Wrong base URL or network block. | Make sure you use https://api.noxery.net/v1 and port 443 is open. |
Next steps
- Streaming — receive the response piece by piece, reduce waiting on long outputs.
- Tool calling — let the model call functions.
- Long chats — session headers and context management.
- Limits and errors — quota tiers and 429 handling.
- Authentication — key safety and rotation.
- Agent connections: OpenCode, Codex CLI, Claude Code.