# Browserbase Fetch

Fetch the contents of a URL with Browserbase, optionally through proxies, returning the upstream response body unchanged or content extracted as Markdown or JSON. Use it as a built-in tool through the AI Gateway to let any model read a page it already has a URL for.

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

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

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

const result = await generateText({
  model: 'openai/gpt-5-nano',
  prompt: 'Fetch https://example.com and summarize it',
  tools: {
    browserbase_fetch: gateway.tools.browserbaseFetch(),
  },
});

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

## Links

- [Model page](https://vercel.com/ai-gateway/models/fetch)
- [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://browserbase.com/pricing)
