Quickstart
Complete sign-up, identity verification, top-up, and API Key creation in five steps, then make your first model call.
1. Create an account
Open the sign-up page and create a platform account with your phone number or email. New accounts receive a sign-up credit for immediate trial use.
2. Identity verification
Go to the Console to complete identity verification. You can create API Keys only after verification passes; enterprise users should submit with their company credentials.
3. Top up
Go to the top-up page to add funds. Top-ups are credited in real time, and you can view every entry in the billing ledger.
4. Create an API Key
Create your key on the API Keys page. The plaintext key is shown only once at creation—save it immediately.
5. Make your first call
The platform API is fully compatible with the OpenAI Chat Completions protocol; just replace base_url with the platform gateway address:
The usage field in the response contains the token count for this call. Fees are automatically deducted from your balance based on the model's pricing, and you can check the cost of this call in the X-Cost-Yuan response header.
Streaming calls
Add "stream": true to the request body to get an SSE streaming response, using the same protocol as OpenAI:
View available models
See Models for the model list and real-time prices. Models that are available can be called directly; models marked "Coming soon" are still being evaluated for integration.
Next steps
- Need API Key groups, sub-keys, and quotas? See API Key management
- Want to learn about deduction rules and billing? See Billing