ali-dashscope-provider weekly downloads statistics
By onefoolish · npm · AI SDKs
Alibaba DashScope (Qwen) provider for Vercel AI SDK
ali-dashscope-provider has 848 recorded weekly downloads on npm.
About ali-dashscope-provider
ali-dashscope-provider
Alibaba DashScope (Qwen) provider for the Vercel AI SDK.
Installation
npm install ali-dashscope-provider
Setup
The provider uses the Alibaba DashScope API. You can get an API key here.
Set the environment variable:
export API_KEY=your_api_key
Usage
import { qwen } from 'ali-dashscope-provider';
import { generateText } from 'ai';
const { text } = await generateText({
model: qwen('qwen-max'),
prompt: 'Hello, how can you help me today?',
});
console.log(text);
Streaming
import { qwen } from 'ali-dashscope-provider';
import { streamText } from 'ai';
const result = await streamText({
model: qwen('qwen-plus'),
prompt: 'Write a short story about AI.',
});
for await (const textPart of result.textStream) {
process.stdout.write(textPart);
}
Tool Calling
Supports Vercel AI SDK tool calling syntax:
import { qwen } from 'ali-dashscope-provider';
import { generateText, tool } from 'ai';
import { z } from 'zod';
const result = await generateText({
model: qwen('qwen-max'),
tools: {
getWeather: tool({
description: 'Get weather in a city',
parameters: z.object({ city: z.string() }),
execute: async ({ city }) => ({ city, temperature: 25 }),
}),
},
prompt: 'What is the weather in Shanghai?',
});
Models
qwen-max(Recommended for complex tasks)qwen-plus(Balanced performance)qwen-turbo(Fast and cost-effective)- Or any other valid model ID from DashScope.
License
Apache-2.0
Description from the npm listing.
- vercel
- ai-sdk
- ali
- dashscope
- qwen
- llm
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (1)Similar npm AI SDKs plugins
All 20 ali-dashscope-provider alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/ali-dashscope-provider. First seen Oct 22, 2026; last successful collection Oct 22, 2026. See the methodology.