惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
H
Help Net Security
腾讯CDC
宝玉的分享
宝玉的分享
H
Hackread – Cybersecurity News, Data Breaches, AI and More
L
LangChain Blog
爱范儿
爱范儿
T
The Blog of Author Tim Ferriss
J
Java Code Geeks
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
MyScale Blog
MyScale Blog
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
D
Docker
V
V2EX
Last Week in AI
Last Week in AI
G
Google Developers Blog
IT之家
IT之家
C
Check Point Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 聂微东

Vercel News

Vercel Open Source Program: Winter 2026 cohort How Notion Workers run untrusted code at scale with Vercel Sandbox How we run Vercel's CDN in front of Discourse From idea to secure checkout in minutes with Stripe Building Slack agents can be easy Scaling redirects to infinity on Vercel Advancing Python typing Gamma builds design-first agents with Vercel How Avalara turns pipe dreams into patent-pending with v0 Keeping community human while scaling with agents How OpenEvidence built a healthcare AI that physicians actually trust Security boundaries in agentic architectures Skills Night: 69,000+ ways agents are getting smarter Video Generation with AI Gateway We Ralph Wiggumed WebStreams to make them 10x faster How Stably ships AI testing agents in hours, not weeks How we built AEO tracking for coding agents Anyone can build agents, but it takes a platform to run them Introducing Geist Pixel The Vercel AI Accelerator is back with $6m in credits Making agent-friendly pages with content negotiation The Vercel OSS Bug Bounty program is now available Introducing the new v0 Run untrusted code with Vercel Sandbox, now generally available How Stripe built a game-changing app in a single flight with v0 How Sensay went from zero to product in six weeks AGENTS.md outperforms skills in our agent evals Agent skills explained: An FAQ Testing if "bash is all you need" AWS databases are now live on the Vercel Marketplace and v0
Access Perplexity Web Search on Vercel AI Gateway with an...
Walter KormanSoftware EngineerJerilyn ZhengProduct, AI Gateway · 2026-01-14 · via Vercel News

You can now give any model the ability to search the web using Perplexity through Vercel's AI Gateway.

AI Gateway supports Perplexity Search as a universal web search tool that works with all models, regardless of provider. Unlike native search tools that are exclusive to specific providers, Perplexity Search can be added to all models.

To use Perplexity Search with the AI SDK, import gateway.tools.perplexitySearch() from @ai-sdk/gateway and pass it in the tools parameter as perplexity_search to any model.

import { generateText } from "ai"

import { gateway } from "@ai-sdk/gateway"

const result = await generateText({

model: "openai/gpt-5.2",

tools: {

perplexity_search: gateway.tools.perplexitySearch(),

},

prompt: "What changed in Next.js this week?",

})

console.log(result.text)

Some example use cases include:

Models without native search: Enable web search on models like zai/glm-4.7 or any from any other providers that don't expose a built-in search tool.

import { streamText } from "ai"

import { gateway } from "@ai-sdk/gateway"

const result = await streamText({

model: "zai/glm-4.7",

prompt:

"What are the latest AI safety guidelines " +

"published by major tech companies?",

tools: {

perplexity_search: gateway.tools.perplexitySearch({

maxResults: 5,

searchRecencyFilter: "month",

searchLanguageFilter: ["en"],

}),

},

})

Developer tooling and CI assistants: Get current package versions, recently merged PRs, release notes, or docs updates.

import { generateText } from "ai"

import { gateway } from "@ai-sdk/gateway"

const { text } = await generateText({

model: "minimax/minimax-m2.1",

prompt:

"What breaking changes were introduced in " +

"Next.js 16.1? Check the latest release notes " +

"and migration guide.",

tools: {

perplexity_search: gateway.tools.perplexitySearch({

maxResults: 5,

searchDomainFilter: [

"github.com",

"nextjs.org",

"vercel.com",

],

searchRecencyFilter: "month",

}),

},

})

Consistency with fallbacks: Maintain search behavior across multiple providers without rewriting search logic.

import { streamText } from "ai"

import { gateway } from "@ai-sdk/gateway"

const result = await streamText({

model: "meta/llama-3.3-70b",

prompt:

"What are the latest critical CVEs disclosed " +

"for Node.js in the past week?",

tools: {

perplexity_search: gateway.tools.perplexitySearch({

maxResults: 5,

searchDomainFilter: [

"nodejs.org",

"cve.mitre.org",

"github.com",

],

}),

},

providerOptions: {

order: ["cerebras", "togetherai"],

},

})

For more information, see the AI Gateway Perplexity Web Search docs.