Skip to content

Quick Start

1. Account Registration

The platform now supports online registration and login, and also supports obtaining Token quota through redemption codes. Please contact the platform administrator for how to get the redemption code. For detailed account registration, activation process and usage instructions, please refer to the Basic Usage documentation.

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 following addresses for development:

Endpoint TypeAddressApplicable Scenario
Base URLhttps://ai-tokenhub.com/api/v1Fill in as the base address when using OpenAI/compatible SDKs, the SDK will automatically append endpoint paths
Chat Completionshttps://ai-tokenhub.com/api/v1/chat/completionsUsed when sending HTTP requests directly to call the chat dialogue interface
Responseshttps://ai-tokenhub.com/api/v1/responsesUsed when sending HTTP requests directly to call the asynchronous task result query interface

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

Request Example

For complete multi-language API request examples and debugging methods, please refer to the API Test documentation.