Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/fysy84/ai-provider-for-qwen/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
This plugin provides integration between the WordPress AI Client and Qwen (Tongyi Qianwen) API. Once configured, Qwen models will be available for use with all AI features in WordPress.
Features
- Supports Qwen Cloud API
- Supports Alibaba Cloud DashScope API
- Supports text generation, image generation, and multimodal capabilities
- Supports function calling (Tool Calls)
- Supports thinking mode
Requirements
- WordPress 6.9 or higher
- PHP 7.4 or higher
- WordPress AI Client plugin
- Qwen Cloud or Alibaba Cloud API key
Installation
- Install the plugin via WordPress admin or manually upload the files to
wp-content/plugins/ai-provider-for-qwen. - Activate the plugin.
- Go to WordPress admin > Settings > AI.
- Under "Connectors", select "Qwen" and enter your API key.
- Save changes.
API Information
Base URLs
| Region | Base URL |
|---|---|
| Beijing (华北2) | https://dashscope.aliyuncs.com/compatible-mode/v1 |
| Singapore (新加坡) | https://dashscope-intl.aliyuncs.com/compatible-mode/v1 |
| Virginia (美国弗吉尼亚) | https://dashscope-us.aliyuncs.com/compatible-mode/v1 |
| Frankfurt (德国法兰克福) | https://{WorkspaceId}.eu-central-1.maas.aliyuncs.com/compatible-mode/v1 |
Get API Key
Supported Models
Qwen3.7 Series (2026年5月发布)
| 模型 | 说明 | 类型 |
|---|---|---|
| qwen3.7-max | 旗舰模型,1M上下文,35小时自主执行 | 文本推理 |
| qwen3.7-max-preview | 预览版 | 文本推理 |
| qwen3.7-plus | 高性能模型 | 文本+多模态 |
| qwen3.7-plus-preview | 预览版 | 文本+多模态 |
Qwen3.6 Series
- qwen3.6-flash
- qwen3.6-plus
- qwen3.6-max-preview
Qwen3 Series
- qwen3-max, qwen3-plus, qwen3-turbo, qwen3-nano
Qwen2 Series
- qwen2-max, qwen2-plus, qwen2-turbo
Vision Models
- qwen3-vl-plus, qwen3-vl-max
- qwen-vl-plus, qwen-vl-max
Qwen3.7-Max 核心能力
- 顶级推理能力: GPQA Diamond测试92.4分,超越Claude Opus-4.6
- 前沿编程智能体: SWE-Verified测试80.4分
- 长周期自主执行: 支持35小时全自主任务执行,超1000次工具调用
- 百万级上下文窗口: 1M Token上下文
- 全栈工具调用: 联网搜索、代码解释器、网页抓取等
API Pricing
标准API (按量计费)
| 计费项 | Qwen3.7-Max | Qwen3.7-Plus |
|---|---|---|
| 输入 | 12元/百万Tokens | 6元/百万Tokens |
| 输出 | 36元/百万Tokens | 18元/百万Tokens |
Token Plan (订阅)
| 套餐 | 价格 | Credits |
|---|---|---|
| 标准版 | 198元/月 | 25,000 |
| 高级版 | 698元/月 | 100,000 |
| 尊享版 | 1,398元/月 | 250,000 |
Changelog
1.0.0
- 初始版本发布