Alibaba
Access 39 Alibaba models through NotPixel. Authentication is handled automatically using the DASHSCOPE_API_KEY environment variable.
Learn more in the Alibaba documentation .
Setup
1. Get API Key
- Go to Alibaba Cloud 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/qvq-max',
input: 'Write a poem about the Great Wall of China',
});
const response = await ads.offer();
console.log(response.text);NotPixel uses the OpenAI-compatible endpoint of Alibaba. Some provider-specific features may not be available.
Available Models
| Model | Context |
|---|---|
alibaba/qvq-max | 131K |
alibaba/qwen-flash | 1.0M |
alibaba/qwen-max | 33K |
alibaba/qwen-mt-plus | 16K |
alibaba/qwen-mt-turbo | 16K |
alibaba/qwen-omni-turbo | 33K |
alibaba/qwen-plus | 1.0M |
alibaba/qwen-turbo | 1.0M |
alibaba/qwen3-max | 262K |
alibaba/qwq-plus | 131K |
Environment Variable
| Variable | Description |
|---|---|
DASHSCOPE_API_KEY | Your Alibaba Cloud API key |