API Quick Start Guide

OpenAI-compatible API. Just change the base URL and API key to get started.

Getting Started

Follow these steps to redeem your code and create an API key.

1Access Redeem Page

Log in to the platform and navigate to the redeem page from the navigation menu.

Access Redeem Page

2Enter Redeem Code

Input your redeem code in the designated field and click the redeem button to activate your account balance.

Enter Redeem Code

3Create API Key

After redeeming, go to the API Keys section and create a new API key. Give it a name and click create.

Create API Key

4View API Key Details

Your API key will be displayed. Copy and save it securely - you'll need it for API calls.

API Key Details

5How to Use

Use your API key in your code. Set the base URL to https://aix.norvo.top and include your API key in the authorization header.

How to Use API Key
Important: Keep your API key secure and never share it publicly. Treat it like a password.

Quick Start

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://aix.norvo.top",
    api_key="YOUR_API_KEY"
)

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

print(response.choices[0].message.content)

cURL

curl https://aix.norvo.top/chat/completions \ \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \ \
  -d '{
    "model": "deepseek-v4-pro",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Node.js

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://aix.norvo.top",
  apiKey: "YOUR_API_KEY",
});

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

console.log(response.choices[0].message.content);
That's it. If you've used OpenAI's API before, you already know how to use this API.

SDK Integration

Environment Variables (recommended)

export OPENAI_BASE_URL="https://aix.norvo.top"
export OPENAI_API_KEY="YOUR_API_KEY"
>

LangChain (Python)

from langchain_openai import ChatOpenAI

llm = ChatOpenAI(
    base_url="https://aix.norvo.top",
    api_key="YOUR_API_KEY",
    model="deepseek-v4-pro",
)

Go

import "github.com/openai/openai-go"

client := openai.NewClient(
  openai.WithBaseURL("https://aix.norvo.top"),
  openai.WithAPIKey("YOUR_API_KEY"),
)

Tool Integration

Continue.dev (VS Code / JetBrains)

Add this to your config.json:

{
  "models": [{
    "title": "My API",
    "provider": "openai",
    "model": "deepseek-v4-pro",
    "apiBase": "https://aix.norvo.top",
    "apiKey": "YOUR_API_KEY"
  }]
}

Aider

export OPENAI_API_BASE=https://aix.norvo.top
export OPENAI_API_KEY=YOUR_API_KEY

Open WebUI

  1. Go to Admin Panel → Settings → Connections
  2. Click "Add a Connection"
  3. Choose "OpenAI API"
  4. Set API URL to https://aix.norvo.top
  5. Set API Key to your key
  6. Save — the models appear automatically

Common Errors

Status Message Fix
401 Unauthorized Check your Authorization header
429 Too Many Requests Reduce request frequency, retry with backoff
502 Bad Gateway Retry in a few seconds
504 Gateway Timeout Reduce max_tokens or try a different model