Vercel AI Gateway 上 Parallel 联网搜索 fast 模式免费至 2027 年 1 月
Vercel AI Gateway 上的 Parallel 联网搜索 fast 模式限时免费至 2027 年 1 月 31 日,平时每 1,000 次请求 5 美元;搭配 AI Gateway 上任何模型使用,不用另外申请 Parallel 的 API Key。
Parallel 联网搜索接进了 Vercel AI Gateway,fast 模式现在免费,免费期到 2027 年 1 月 31 日。平时每 1,000 次请求 5 美元,超出 10 条的结果每 1,000 条再收 1 美元,免费期内请求和超出的结果都按 0 美元结算。
能用来干什么
给 Agent 或聊天应用加联网能力:模型需要最新信息时自己调用搜索,返回相关网页链接和简短摘录,还能按网站或发布日期筛选结果。eve 框架内置的 web_search 工具现在默认就走 Parallel 的 fast 模式,模型通过 AI Gateway 调用时自动免费。
怎么用
- 登录 Vercel,在 AI Gateway 里创建 API Key。
- 用 AI SDK 的话,在 tools 里加上 gateway.tools.parallelSearch({ mode: 'fast' });用 Chat Completions 接口的话,在 vercel:parallel_search 工具的 config 里把 mode 设为 fast。
- 不用另外申请 Parallel 的 API Key。
注意
仅 fast 模式免费,其他模式照常按原价收费;模型本身的调用费照常计算。免费搜索默认开启零数据保留,Parallel 不会保存这些数据,也不会拿来训练模型。