---
title: "Residential proxies for cloud browsers: pick a country, $5/GB"
description: "Every Browser Use Cloud browser can browse from a residential IP in the country you pick: set proxyCountryCode when you create it, then connect Playwright, Puppeteer or an agent as usual. In our 40-minute test on October 20, 2026, 3 of 5 browsers kept one residential IP throughout and 2 switched once to another IP in the same country; each browser's timezone and language matched its IP when it started. $5 per GB of proxy traffic, or bring your own proxy with customProxy."
canonical: "https://browser-use.com/proxies"
last_updated: "2026-11-12"
---

# Residential proxies for cloud browsers: pick a country, $5/GB

> Every Browser Use Cloud browser can browse from a residential IP in the country you pick: set `proxyCountryCode` when you create it, then connect Playwright, Puppeteer or an agent as usual. In our 40-minute test on October 20, 2026, 3 of 5 browsers kept one residential IP throughout and 2 switched once to another IP in the same country; each browser's timezone and language matched its IP when it started. $5 per GB of proxy traffic, or bring your own proxy with `customProxy`.

[HTML page](https://browser-use.com/proxies) · [Docs](https://docs.browser-use.com/cloud/browser/proxies) · [Stealth browsers](https://browser-use.com/stealth-browsers.md) · [Anti-detect browser](https://browser-use.com/anti-detect-browser.md) · [Playwright on a cloud browser](https://browser-use.com/playwright.md) · [Cloud browsers compared](https://browser-use.com/cloud-browsers.md)

## What's the best way to combine residential proxies with a headless browser for an AI agent?

One sticky residential IP per agent task, timezone and locale matched to the exit, a new IP only between tasks. Playwright plus any provider can do it. Browser Use Cloud sets timezone and language for you, but its managed IP can change mid-task; for a sticky IP, pass a session-id proxy as `customProxy`.

1. **One context per task:** `browser.newContext({ proxy })`, with `proxy` as `{ server, username, password }`. Use `chromium.launch({ proxy })` when the whole browser shares one exit.
2. **Sticky in a task, rotate between tasks:** put your provider's session id in the proxy username, or residential IPs change on every request. Oxylabs `sessid` lasts 10 min, or ends after 60 s idle (a slow model step can hit that); `sesstime` stretches it to 24 h; `sessid_oneip` fails rather than switch IP. A new IP mid-session can log the agent out: OWASP recommends sites bind a session to client properties such as the IP.
3. **Check the exit IP:** before the task, read ipinfo.io/json through the same proxy session: it returns the exit's IP and timezone. Check again before any step that depends on the IP.
4. **Match the exit:** create the context with `timezoneId` set to that timezone and `locale` to the country's language.
5. **Budget per GB:** residential traffic is billed per GB. `page.route()` can abort images the agent does not need.

Sources: [Playwright network](https://playwright.dev/docs/network), [Playwright emulation](https://playwright.dev/docs/emulation), [Oxylabs sessions](https://developers.oxylabs.io/proxies/residential-proxies/session-control), [OWASP session binding](https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#binding-the-session-id-to-other-user-properties), [Browser Use proxies](https://docs.browser-use.com/cloud/browser/proxies), [Browser Use pricing](https://browser-use.com/pricing.md), checked Oct 30, 2026.

## Pick a country, keep your Playwright code

```python
import asyncio

from browser_use_sdk.v4 import AsyncBrowserUse
from playwright.async_api import async_playwright

client = AsyncBrowserUse()  # reads BROWSER_USE_API_KEY

async def main():
    # A residential IP in Germany; timezone and language follow it.
    browser = await client.browsers.create(proxy_country_code="de")
    try:
        async with async_playwright() as p:
            chrome = await p.chromium.connect_over_cdp(browser.cdp_url)
            page = chrome.contexts[0].pages[0]
            await page.goto("https://ipinfo.io/json")
            print(await page.inner_text("body"))  # "country": "DE"
    finally:
        await client.browsers.stop(browser.id)  # closing CDP does not stop it

asyncio.run(main())
```

Ran as shown on October 20, 2026 with browser-use-sdk 3.12.1: the page printed a German residential IP (Deutsche Telekom). Agent runs take the same setting as `browser_settings={"proxyCountryCode": "de"}`. A US residential proxy is on by default; `proxyCountryCode: null` turns it off.

## Measured: IPs over 40 minutes, timezone and language

On October 20, 2026 we created 5 browsers (two US, one each for Germany, the UK and Japan) and had each read https://ipinfo.io/json through its own proxy once a minute for 40 minutes. Timezone and `navigator.languages` were read in the page, Accept-Language from https://httpbin.org/headers, both once at the start. All 200 polls succeeded.

| Browser | Country set | Exit IP's ISP (city), in order | Polls OK | Distinct IPs | Timezone | Accept-Language |
| :-- | :-- | :-- | --: | --: | :-- | :-- |
| us-a | `us` (United States) | Comcast Cable Communications, LLC (Lansing) | 40/40 | 1 | America/Detroit | `en-US,en;q=0.9` |
| us-b | `us` (United States) | Charter Communications Inc (New York City) | 40/40 | 1 | America/New_York | `en-US,en;q=0.9` |
| de-a | `de` (Germany) | Vodafone GmbH (Nuremberg) → Vodafone GmbH (Köln), switched at minute 36 | 40/40 | 2 | Europe/Berlin | `de-DE,de;q=0.9` |
| gb-a | `gb` (United Kingdom) | Connexin Limited (Kingston upon Hull) | 40/40 | 1 | Europe/London | `en-GB,en;q=0.9` |
| jp-a | `jp` (Japan) | Utsunomiya Cable TV Corporation (Utsunomiya) → SoftBank Corp. (Tokyo), switched at minute 15 | 40/40 | 2 | Asia/Tokyo | `ja-JP,ja;q=0.9` |

- Every IP was on a consumer ISP in the country set, for all 40 minutes.
- 3 of 5 browsers (both US, the UK) kept one IP throughout. Germany switched once at minute 36 (Vodafone, Nuremberg to Vodafone, Köln). Japan switched once at minute 15 (Utsunomiya Cable TV to SoftBank, Tokyo). If a step depends on one IP, such as a login a site ties to an address, read the IP before and after it, or bring a sticky proxy of your own with `customProxy`.
- All 7 IPs we saw were different, including the two US browsers'. The docs do not promise a unique IP or a particular city per browser.
- Timezone and language follow the IP, not just the country: the Lansing, Michigan IP got America/Detroit, the New York one America/New_York. You don't set them. We did not re-read them after an IP switch.
- 5 browsers, one day, 40 minutes each. A small sample, not a rate; browsers run up to 4 hours.

## Pricing

$5 per GB of managed proxy traffic, on top of browser time at $0.06 per hour. No plan or subscription. With the proxy off (`proxyCountryCode: null`) or your own proxy, traffic is billed at the $0.20/GB egress rate instead, and your proxy provider bills its own. [Pricing](https://browser-use.com/pricing.md).

## Bring your own proxy

Pass your provider's `host`, `port` and, if needed, `username` and `password` as `customProxy` when you create the browser (`POST /api/v4/browsers`), or as `browserSettings.customProxy` on an agent run. It overrides `proxyCountryCode` for that browser, on every account, no subscription. Browser Use bills that traffic at $0.20/GB egress, not $5/GB. [Custom proxy docs](https://docs.browser-use.com/cloud/browser/proxies#custom-proxy).

## FAQ

**What's the best way to combine residential proxies with a headless browser for an AI agent?** One browser context per task, with one sticky residential IP (your provider's session id), timezone and locale matched to the exit, and a new IP only between tasks. Browser Use Cloud's managed IP can change mid-task, so for a sticky IP pass a session-id proxy as `customProxy`.

**Why not rotate the IP on every request?** Logins and checkouts can break. OWASP recommends sites bind a session to client properties such as the IP and flag a mid-session change as possible hijacking, so a new IP can log the agent out or trigger a challenge. Rotate per task instead.

**Does the IP stay the same for the whole session?** Not always. On October 20, 2026 we ran 5 browsers (two in the US, one each in Germany, the UK and Japan) and read each one's exit IP once a minute for 40 minutes. Both US browsers and the UK one kept a single IP throughout. The German one switched once, at minute 36, to another Vodafone IP; the Japanese one switched once, at minute 15, from Utsunomiya Cable TV to SoftBank. Every IP stayed in the country set, on a consumer ISP (Comcast, Charter, Vodafone, Connexin, Utsunomiya Cable TV and SoftBank). If a step depends on one IP, such as a login a site ties to an address, read the IP before and after it, or bring a sticky proxy of your own.

**How do I get a new IP?** Start a new browser. In our test all 7 IPs we saw were different, including the two US browsers'. The docs do not promise a unique IP or a particular city per browser, so check the IP if your flow depends on it.

**Do I need to match the timezone and language to the proxy?** No. The browser sets them from its IP: in our test a Michigan IP reported America/Detroit and en-US, a New York one America/New_York, Germany Europe/Berlin and de-DE, the UK Europe/London and en-GB, Japan Asia/Tokyo and ja-JP, both in JavaScript and in the Accept-Language header. We read them once, at the start of each browser.

**What does proxy traffic cost?** $5 per GB through the managed proxy, on top of browser time at $0.06 per hour. No plan or subscription. For sites that don't need a residential IP, such as your own staging site, set `proxyCountryCode` to null: that traffic goes direct at $0.20/GB.

**Can I use my own proxy provider?** Yes, on every account: pass `customProxy` (host, port, and a username and password if it needs them) when you create the browser. It overrides the country setting for that browser. Your provider bills its own traffic; Browser Use bills that traffic at the $0.20/GB egress rate, not $5/GB.

---

BROWSER USE

- Browser Use Agents: give Browser Use a task and receive completed work. API V4 is current for new integrations.
- Browser Infrastructure: connect your agent or automation to managed browsers through SDK, REST, or CDP. Starts at $0.06/browser-hour.
- Developer tools: Open Source, Browser Harness, SDK, and MCP support the two products above.

[Developer Index](https://browser-use.com/index.md)
[Product Map](https://browser-use.com/llms.txt)
[Full Product Context](https://browser-use.com/llms-full.txt)
[Pricing](https://browser-use.com/pricing.md)
[Cloud Docs](https://docs.browser-use.com/cloud/quickstart)
[Open Source Docs](https://docs.browser-use.com/open-source/introduction)
