# Use Perplexity Web Search with Vercel AI Gateway

By Steven Van · 2026-01-14

Any model on Vercel's AI Gateway can now search the web via Perplexity, priced at $5 per 1,000 requests with no markup.

Vercel's [AI Gateway](<https://creatorstoolbox.com/tools/vercel>) now supports Perplexity web search as a provider-agnostic tool, so any model available through the gateway can search the web in real time with a single line of code. This works even with models that have no native search capability of their own, such as MiniMax M2.1 or Zai GLM-4.7.

Developers add it by importing gateway.tools.perplexitySearch() from @ai-sdk/gateway and passing it as a tool named perplexity\_search. Requests can be scoped with options like searchDomainFilter and searchRecencyFilter, useful for cases like checking status pages or filtering to recent results. The same search logic works unchanged across different models, which matters for production setups that switch models for cost or failover reasons. AI Gateway separately supports native web search from Anthropic, OpenAI, and Google for those wanting provider-optimized tools instead.

Perplexity web search is billed at **$5 per 1,000 requests**, with no markup from Vercel, per the [announcement](<https://vercel.com/blog/use-perplexity-web-search-with-vercel-ai-gateway>).

![Vercel](<https://www.google.com/s2/favicons?domain=vercel.com&sz=128>)

Vercel

The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.

[View Vercel →](<https://creatorstoolbox.com/tools/vercel>)

[Original source](<https://vercel.com/blog/use-perplexity-web-search-with-vercel-ai-gateway>)

[Read Use Perplexity Web Search with Vercel AI Gateway on Creators Toolbox](<https://creatorstoolbox.com/blog/vercel-use-perplexity-web-search-with-vercel-ai-gateway>)

---
Canonical source: https://creatorstoolbox.com/blog/vercel-use-perplexity-web-search-with-vercel-ai-gateway
