Alibaba (China)
Access 61 Alibaba (China) models through NotPixel. Authentication is handled automatically using the DASHSCOPE_API_KEY environment variable.
Learn more in the Alibaba (China) documentation .
Setup
1. Get API Key
- Go to Alibaba Cloud China Console
- Create an account or sign in
- Generate a new API key
2. Configure Environment
.env
DASHSCOPE_API_KEY=your-api-keyUsage
import Ads from 'notpixel';
const ads = new Ads({
publisherId: 'pub_xxx',
model: 'alibaba-cn/deepseek-r1',
input: 'Explain the benefits of cloud computing',
});
const response = await ads.offer();
console.log(response.text);NotPixel uses the OpenAI-compatible endpoint of Alibaba (China). Some provider-specific features may not be available.
Available Models
| Model | Context |
|---|---|
alibaba-cn/deepseek-r1 | 131K |
alibaba-cn/deepseek-v3 | 66K |
alibaba-cn/qvq-max | 131K |
alibaba-cn/qwen-max | 131K |
alibaba-cn/qwen2-5-72b-instruct | 131K |
alibaba-cn/qwen3-max | 262K |
alibaba-cn/qwq-plus | 131K |
Environment Variable
| Variable | Description |
|---|---|
DASHSCOPE_API_KEY | Your Alibaba Cloud (China) API key |