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

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

  1. Go to Alibaba Cloud 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/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

ModelContext
alibaba/qvq-max131K
alibaba/qwen-flash1.0M
alibaba/qwen-max33K
alibaba/qwen-mt-plus16K
alibaba/qwen-mt-turbo16K
alibaba/qwen-omni-turbo33K
alibaba/qwen-plus1.0M
alibaba/qwen-turbo1.0M
alibaba/qwen3-max262K
alibaba/qwq-plus131K

Environment Variable

VariableDescription
DASHSCOPE_API_KEYYour Alibaba Cloud API key