quick start
Point the base_url of any OpenAI compatible SDK to our gateway and start calling. The first response usually comes back within a few seconds.
from openai import OpenAI
client = OpenAI(
api_key="sk-xc-your-key-here",
base_url="https://api.nexevo.ai/v1",
)
resp = client.chat.completions.create(
model="nexevo/balanced",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)Authentication
Create an API key on the Keys page and put it in the Authorization header in the form of Bearer token. Every request requires a legitimate key; revoked or expired keys are immediately rejected.
http
GET /v1/billing/balance HTTP/1.1
Host: api.nexevo.ai
Authorization: Bearer sk-xc-abc123...Single key settings (sub-limit/IP whitelist/model restrictions/expiration) can be configured on the Keys page. Used to issue restricted-scope keys to different applications or environments.
Do not hardcode keys on the front end
API key is equivalent to password and can only be used on the backend server. Front-end/mobile apps should be called through your own middle layer to avoid directly exposing sk-xc-* in the browser/client.
Next step
Get API Key
Register an account to get started, no credit card required.
Register nowBrowse the model library
60+ Model Side-by-side Comparison - Price / Context / Capability Ratings.
See 100+ modelsCookbook example
15 ready-to-use code examples — RAG / streaming / tool calls / batch processing.
View Cookbook