Quickstart
Get your first AI response through Token360 in under 2 minutes.
Prerequisites
- A Token360 account (sign up here)
Step 1: Get Your API Key
- Log in to the Token360 Console.
- Navigate to API Keys in the sidebar.
- Click Create API Key, give it a name, and copy the key.
Your key starts with sk- and looks like: sk-abc123def456...
Important: Store your API key securely. It will only be shown once.
Step 2: Top Up Your Account
Before making API calls, you need to add funds to your account.
- Click your profile avatar in the top-right corner.
- Select Wallet from the dropdown menu.
- On the Wallet page, click the Add Funds button under the "Add Funds" section.
- Follow the payment instructions to complete your top-up using Stripe or credit card.
Tip: Your available balance will be shown on the Wallet page. You can return here anytime to check your balance or add more funds.
Step 3: Send Your First Request
1curl https://api.token360.ai/v1/chat/completions \
2 -H "Authorization: Bearer sk-your-api-key" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "glm-5.1",
6 "messages": [
7 {"role": "user", "content": "Hello! What can you do?"}
8 ]
9 }'Step 4: Verify the Response
A successful response looks like:
1{
2 "id": "chatcmpl-abc123",
3 "object": "chat.completion",
4 "created": 1677652288,
5 "model": "glm-5.1",
6 "choices": [
7 {
8 "index": 0,
9 "message": {
10 "role": "assistant",
11 "content": "Hello! I'm an AI assistant. I can help you with..."
12 },
13 "finish_reason": "stop"
14 }
15 ],
16 "usage": {
17 "prompt_tokens": 12,
18 "completion_tokens": 25,
19 "total_tokens": 37
20 }
21}Was this page helpful?
Previous
Overview
Next
Models