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
- Log in to the dashboard
- Go to "API Keys" page
- Click "Add Key" to get your API Key
2. API Endpoint
Use the following addresses for development:
| Endpoint Type | Address | Applicable Scenario |
|---|---|---|
| Base URL | https://ai-tokenhub.com/api/v1 | Fill in as the base address when using OpenAI/compatible SDKs, the SDK will automatically append endpoint paths |
| Chat Completions | https://ai-tokenhub.com/api/v1/chat/completions | Used when sending HTTP requests directly to call the chat dialogue interface |
| Responses | https://ai-tokenhub.com/api/v1/responses | Used 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:
- Test online on the chat page (recommended if you want to integrate into your own chat software)
- Use the online debugging feature in the documentation (recommended for API-based application development)
- Call it in AI programming software (like Claude Code, Cline, etc.)
- 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.
