Skip to content

Quick Start

1. Account Registration

Registration & Recharge

🎁 New users get $0.2 free credit upon registration

💰 Recharge rate 1:1 - 1 RMB = 1 USD

🔗 Registration Link: Click to register

Invitation Rewards

When friends register through your invitation link, both of you will receive credits immediately. Additionally, you can earn 20% cashback from their first 3 recharges.

🔗 Invitation Link: Click to view

2. API Configuration

1. Get Your Token

  1. Log in to the dashboard
  2. Go to "API Keys" page
  3. Click "Add Key" to get your API Key

2. API Endpoint

Use the main address directly:

https://ai-tokenhub.com

If your software doesn't support auto-appending endpoint paths, please use the full address:

Endpoint TypeAddress
Base URLhttps://ai-tokenhub.com
Chat Completionshttps://ai-tokenhub.com/v1/chat/completions
Responseshttps://ai-tokenhub.com/v1/responses

If you're not sure which address to use, try all of the above addresses

3. Model Selection

Model names are listed in the "Models" section of the website's top navigation. Make sure to use the exact model name.

3. Testing & Verification

Use one of the following methods to verify your API configuration:

  1. Test online on the chat page (recommended if you want to integrate into your own chat software)
  2. Use the online debugging feature in the documentation (recommended for API-based application development)
  3. Call it in AI programming software (like Claude Code, Cline, etc.)
  4. Use API tools (like Postman) for interface testing

Configuration Example

json
{
  "base_url": "https://ai-tokenhub.com",
  "api_key": "your_token_here",
  "model": "selected_model_name"
}