Step 1: Enter the AI API page
After logging in to BenPay, enter the AI API page from the homepage or navigation bar.
Step 2: Receive free trial balance
New users have the opportunity to claim a free trial balance. After the successful claim, the trial balance will be credited to the current AI API USD balance and can be used for model calls.
The current free trial balance is 0.3 dollars. The free trial quota is limited. After successfully claiming it, the credit limit will be automatically credited to the account balance and can be used.
Step 3: Create API Key
API Key is the identity credential used to call BenPay AI API. Before using it for the first time, you need to create an API Key.
Operation steps:
Find the "Workplace" module
Click "Create API Key"
Enter API Key Name
Click Confirm Create.
After successful creation, immediately copy and save the complete API Key.
What should be noted after creation?
- The complete API Key is only displayed once, please copy it immediately and save it properly
- Do not expose the API Key to social media platforms, public code repositories, or screenshots
- If you suspect API Key leakage, please delete and recreate it immediately
- API Keys that are no longer in use are recommended to be deleted in a timely manner
How to view and delete API Key?
In the API Key list, view:
- API Key Name
- Creation time
- Time of recent use
- Cumulative consumption
If you no longer use a certain Key, you can click Delete. After deletion, the Key will no longer be able to be called.
Step 4: Quick Integration
After entering the official website, scroll down to the "Quick Integration" section or click on the "Select Your Tools" section through the "Workspace" to quickly access.
According to actual usage needs, choose one of the following four access methods:
- Terminal CLI
- Desktop agents
- IDE Plugins
- Universal API
When calling, please replace the API Key in the example with your own API Key and fill in the correct Model ID.
Model field
The model field needs to be filled in with the model ID.
In the Support Model module, copy the model ID and fill in the model field in the request.