You can give any tool-calling model web search and page-to-Markdown fetch through AI Gateway with a single key and no separate DeepSeek account, and keep the tools when switching providers. Requires AI SDK 6.0.321+ or 7.0.160+.
Key takeaways · AI-distilled
Vercel AI Gateway now offers DeepSeek Search (pages with titles, URLs and summaries) and DeepSeek Fetch (page content as Markdown) to any tool-calling model on one Gateway key, with no DeepSeek account, so the tools stay put when you switch model providers.
The helpers need AI SDK 6.0.321+ on v6 or 7.0.160+ on v7. Vercel's example chains fallbacks (deepseek_search, then exa_search, then parallel_search), but notes the fallback is model-directed, so provider order and retry limits are best effort rather than guaranteed.
Search and Fetch each cost $0.75 per 1,000 billable requests, and failed requests, timeouts and empty results carry no tool charge. Model tokenThe chunk of text a model reads and writes in — roughly three-quarters of a word — and the unit AI usage is billed in.Full definition → are billed separately on top of the tool fee.
Terms in this piece · Glossary
token — The chunk of text a model reads and writes in — roughly three-quarters of a word — and the unit AI usage is billed in.