Menu

AI Gateway adds DeepSeek Search and Fetch tools - Vercel
📰

AI Gateway adds DeepSeek Search and Fetch tools - Vercel

Vercel News·Jerilyn Zheng·9 days ago
#vJ4YBbnp
#vercel#search#deepseek#fetch#model
Reading 0:00
15s threshold

DeepSeek Search and DeepSeek Fetch are now available through AI Gateway . Search finds relevant pages with titles, URLs, and summaries. Fetch retrieves page content as Markdown for your model to read.

Use both tools with any model that supports tool calling, using one AI Gateway API key. No separate DeepSeek account is required, and you can keep the same tools when switching model providers.

These helpers are available in AI SDK 6.0.321 and later on v6, or 7.0.160 and later on v7. Update with pnpm add ai@latest and set your AI_GATEWAY_API_KEY . To combine search and page retrieval, pass both helpers in tools :

You can also use alternative search tools with DeepSeek Fetch if DeepSeek Search fails:

Search fallback is model-directed, so provider order and retry limits are best effort. DeepSeek Fetch can retrieve a result URL from any of these search tools.

Search and Fetch each cost $0.75 per 1,000 billable requests. Failed requests, timeouts, and empty results have no tool charge.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.