# DeepSeek Search

Search the web with DeepSeek and return ranked results with titles, URLs, snippets, and optional page content. Use it as an AI Gateway tool with any model that supports tool calling.

- **Model ID:** `deepseek/search`
- **Type:** tool
- **Providers:** deepseek
- **Context window:** Not applicable
- **Maximum output tokens:** Not reported
- **Pricing:** See the provider details below
- **Canonical page:** https://vercel.com/ai-gateway/models/search

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { gateway, generateText } from 'ai';

const result = await generateText({
  model: 'zai/glm-5.3-flash',
  prompt: 'What are the latest developments in AI?',
  tools: {
    deepseek_search: gateway.tools.deepseekSearch(),
  },
});

console.log(result.text);
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/search)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://vercel.com/docs/ai-gateway/models-and-providers/web-search)
- [Provider pricing](https://api-docs.deepseek.com/guides/search)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
