Skip to Content
NotPixel SDK v1.0.1 — Now with caching, hooks, and browser tracking!
ModelsProvidersAlibaba (China)

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

  1. Go to Alibaba Cloud China Console 
  2. Create an account or sign in
  3. Generate a new API key

2. Configure Environment

.env
DASHSCOPE_API_KEY=your-api-key

Usage

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

ModelContext
alibaba-cn/deepseek-r1131K
alibaba-cn/deepseek-v366K
alibaba-cn/qvq-max131K
alibaba-cn/qwen-max131K
alibaba-cn/qwen2-5-72b-instruct131K
alibaba-cn/qwen3-max262K
alibaba-cn/qwq-plus131K

Environment Variable

VariableDescription
DASHSCOPE_API_KEYYour Alibaba Cloud (China) API key