Developer Documentation

Everything you need to integrate China's leading AI models into your applications.

Quick Start

Get up and running in minutes. Sign up, get your API key, and make your first call.

1. Get your API key

Sign up at the dashboard and generate your API key.

2. Make your first API call

curl https://api.aggregatedcompute.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen-max",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

3. Handle the response

{
  "id": "chatcmpl-xxx",
  "model": "qwen-max",
  "choices": [{
    "message": {
      "role": "assistant",
      "content": "Hello! How can I help you today?"
    }
  }],
  "usage": { "prompt_tokens": 10, "completion_tokens": 12 }
}