Skip to content

Basic Usage ​

Prerequisites ​

Before using AI-TokenHub API, complete the following preparation:

1. Register and Login ​

Visit AI-TokenHub to complete the registration process. The platform supports both individual self-registration and enterprise account activation.

  1. Visit the platform homepage, click the button in the upper right corner to enter the registration page Registration Page
  2. Complete account registration via authorization or email Complete Account Registration

2. Create API Keys ​

After logging in, go to the "Tokens" page in the left sidebar to create your API keys.

Create Token:

Create Token

Token Configuration: After filling in the basic information, configure permissions and validity period: Token Configuration

Configuration:

SettingDescription
Token NameUsed to identify this API Key, suggest filling in purpose like "Development Test"
Spending LimitSet monthly spending cap, auto-disabled when reached (optional)
Allowed ModelsSelect model range accessible by this Key (optional)

API Endpoints ​

TypeURL
Main URLhttps://ai-tokenhub.com/api/v1
Full URLhttps://ai-tokenhub.com/api/v1
Chat APIhttps://ai-tokenhub.com/api/v1/chat/completions
Responses APIhttps://ai-tokenhub.com/api/v1/responses

Next Steps ​