Newshot

Humans& 的群聊模型 Ampersand 上线 AI Gateway,免费至 2026 年 11 月

AI summary

Humans& 的群聊模型 Ampersand 已在 AI Gateway 上线,免费开放至 2026 年 11 月 13 日。该模型基于 Z.ai 的开源权重模型 GLM 5.3 构建,并在模拟群聊中用强化学习训练。它会阅读每条消息,自行判断是否发言,并能理解个人与共同目标、协助处理分歧。

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

Humans& 的 Ampersand 现已在 AI Gateway 上线,免费使用至 2026 年 11 月 13 日。

Ampersand 是一个用于群组对话的模型。Humans& 基于 Z.ai 的开源权重模型 GLM 5.3 构建了 Ampersand,并在模拟群组对话中通过强化学习对其进行了训练,这些模拟对话的时长最长可达数月的模拟时间。大多数聊天模型是为一个人提问、模型作答而构建的。Ampersand 则被训练为参与多人之间的对话。它会阅读每条消息,包括那些并非发给它的消息,并在每条消息之后决定是回复还是保持沉默。

它旨在理解个体目标与共同目标,帮助人们化解分歧,并识别出何时给出贡献会有用。这可能意味着提出一个澄清性问题、分享相关背景信息,或者在人们彼此回应时保持等待。

例如:

Sam:提醒一下,我周五不在,要开车去我姐姐家。Alex:旅途愉快!Maya:我们周五 10 点做上线彩排吧,我们三个人一起。Ampersand:Maya,快速提示一下:Sam 说他周五不在,要开车去他姐姐家,所以周五上午 10 点三个人一起彩排大概率不行。也许值得另选一个时间,让所有人都能参加。

你的应用将这些动作以调用方定义的函数工具形式暴露出来。send_message 提交一次贡献,而 pass 则让对话保持安静,直到下一条人类消息到来。你的应用执行这两个工具并记录它们的结果。

可以通过 AI SDK、兼容 OpenAI 的 Chat Completions API 或编码代理来调用它。模型名使用 humansand/ampersand-v0.1:


        import { generateText, tool } from 'ai';import { z } from 'zod';
const tools = {  send_message: tool({    description: 'Send a message to the group conversation.',    inputSchema: z.object({ content: z.string().trim().min(1) }).strict(),  }),  pass: tool({    description: 'Stay quiet until another human message arrives.',    inputSchema: z.object({}).strict(),  }),};
const { toolCalls } = await generateText({  model: 'humansand/ampersand-v0.1',  tools,  prompt: 'Maya: I prefer green. Leo: I prefer blue. Ask one clarifying question.',});
console.log(toolCalls[0]?.toolName, toolCalls[0]?.input);
      

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


        npx vercel ai-gateway setup
      

然后在代理中选择 humansand/ampersand-v0.1。详情请参阅编码代理指南。

在模型 playground 中试用 Ampersand。

AI Gateway 提供统一的 API,用于调用模型、跟踪用量与成本,并配置重试、故障转移和性能优化,以实现高于模型提供方的可用性。它内置自定义报表、API 密钥预算、路由规则等功能。

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 ↗