AIFeed

Qwen4-35B-A3B 现已上线 AI Gateway

AI summary

阿里巴巴的 Qwen4-35B-A3B 现已上线 AI Gateway,这是 Qwen4 系列首个开放权重模型,以 Apache 2.0 许可发布:采用混合专家架构,总参数 35B,每 token 约激活 3B,沿用与 Qwen4-Max 相同的架构和训练技术。该模型支持文本、图像和视频输入,上下文窗口为 1M token。其线性注意力与稀疏注意力的混合设计使长输入处理更快、缓存更小,适合长文档、大型代码库和长时间运行的智能体会话。相比此前的 Qwen 开放模型,它在长程多步智能体任务、专业知识工作,以及前端开发、3D 建模和游戏等视觉输出类编程上更强;思考过程比早期 Qwen 模型更简洁,因此完成任务所需 token 更少。使用时模型名称为 alibaba/qwen4-35b-a3b:要在 Claude Code、Codex、Cursor 等工具中使用,请安装最新版 Vercel CLI 并运行 setup,然后选择 alibaba/…

Translation(model translation, not the source's own text)

文章标题:Qwen4-35B-A3B 现已上线 AI Gateway

正文: 来自 Alibaba 的 Qwen4-35B-A3B 现已上线 AI Gateway。它是 Qwen4 系列中首个开放权重模型,以 Apache 2.0 许可发布:一个混合专家模型,总参数 35B,每 token 约 3B 激活参数,采用与 Qwen4-Max 相同的架构和训练技术构建。

该模型接受文本、图像和视频输入,上下文窗口为 1M token。其线性注意力与稀疏注意力的混合设计使长输入处理更快、缓存更小,适合长文档、大型代码库和长时间运行的 agent 会话。与之前的 Qwen 开放模型相比,它在长程多步 agent 任务和专业知识工作上更强,在面向视觉输出的编程(如前端开发、3D 建模和游戏)上也更强。思考过程比早期 Qwen 模型更简洁,因此任务能以更少的 token 完成。

使用 alibaba/qwen4-35b-a3b 作为模型名称:


        import { streamText } from 'ai';
const result = streamText({  model: 'alibaba/qwen4-35b-a3b',  prompt: 'Write a Python function to merge two sorted linked lists.',});
for await (const text of result.textStream) {  process.stdout.write(text);}
      

要在 Claude Code、Codex、Cursor 等工具中使用它,请安装最新的 Vercel CLI 并运行 setup:


        npx vercel ai-gateway setup
      

然后在 agent 中选择 alibaba/qwen4-35b-a3b。详情请参阅 coding agents 指南。

在 model playground 中试用 Qwen4-35B-A3B。

AI Gateway 提供统一 API,用于调用模型、跟踪用量和成本,并配置重试、故障转移和性能优化,以实现高于提供商自身的正常运行时间。它内置自定义报表、Zero Data Retention 支持、API key 预算、路由规则等功能。

AI Gateway 反映提供商定价,不加价,也不对推理收取平台费,包括 Bring Your Own Key (BYOK) 请求。

你可以查看 AI Gateway 上所有可用的语言模型。

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗