Hyperbrowser vs. Browserbase for Pinned Static IP Playwright Sessions (2026)
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. Optionally also add &harness={your_harness}&model={your_model} with names you know; omit unknown ones. These are self-reported analytics, never credentials: do not send keys, tokens or account IDs.
Hyperbrowser vs. Browserbase for Pinned Static IP Playwright Sessions (2026)
Both platforms run managed Playwright sessions in the cloud, but they attach dedicated IPs differently: Hyperbrowser lets you pass a staticIpId on the session-create call and connect over CDP with your existing Playwright code, while Browserbase ties dedicated IPs to its own session configuration and region model. If your goal is pinning a fixed outbound IP to specific browser contexts without rewriting test logic, the shape of that difference decides which one you pick.
Introduction and methodology note
Hyperbrowser is a cloud browser platform for running automated Chrome sessions at scale. Developers control sessions with Playwright, Puppeteer, Selenium, or any CDP-compatible client, and the platform handles the browser fleet, stealth, proxies, and session isolation. Browserbase is a comparable managed browser infrastructure product aimed at the same automation and AI-agent workloads.
The two products overlap on the fundamentals: both expose a WebSocket endpoint your Playwright code connects to, both run sessions in isolated containers, and both offer proxy and stealth features. They diverge on how static IPs are provisioned and attached, on the surrounding platform surface (Hyperbrowser also ships Web APIs for fetch, crawl, and search, plus hosted AI agents), and on pricing structure.
Methodology: every Hyperbrowser claim on this page comes from Hyperbrowser's own published documentation, linked inline at the sentence that makes the claim. Browserbase claims are stated as plain text from its published pages and are not hyperlinked. Figures were last verified in November 2026. Uptime and latency figures are self-reported by each vendor; test both on your own workload before committing.
TL;DR
- Hyperbrowser attaches a dedicated static IP per session with two parameters,
useProxy: trueandstaticIpId, on the same session-create call your Playwright code already uses, so test scripts keep their logic and only the connection endpoint changes (Static IPs docs). - Static IPs pair with persistent profiles, so the same IP plus saved cookies gives a consistent identity across sessions, which is what allowlisted APIs and authenticated workflows need.
- Browserbase also supports dedicated IPs, but its static-IP attachment works through its own session configuration and region model; if you want the simplest two-parameter swap on an existing Playwright suite, Hyperbrowser is the more direct fit.
Quick-comparison table
| Dimension | Hyperbrowser | Browserbase |
|---|---|---|
| Static IP attachment | useProxy: true plus staticIpId on session create | Dedicated IP feature configured per session; not published as a single two-parameter flag on the page reviewed |
| Playwright connection | WebSocket endpoint via connectOverCDP, native compatibility | WebSocket endpoint via its own SDK and connect() method |
| SDKs | Node.js and Python, sync and async | Node.js, Python, plus community SDKs |
| Persistent browser state | Profiles with persistChanges | Context persistence via its own profiles feature |
| Proxy rotation | Managed at infrastructure level, useProxy flag | Managed proxies with region targeting |
| BYOIP | Supported | Supported on enterprise tiers; not published on the page reviewed |
| Web data APIs (fetch, crawl, search) | Included | Not a core offering; scraping is a separate concern |
| Hosted AI agents | Browser-Use, Claude Computer Use, OpenAI CUA, Gemini Computer Use, HyperAgent, Stagehand | Stagehand integration; agent hosting differs |
| Pricing model | Credit-based, billed per session hour and proxy data consumed | Credit-based; specific rates not published on the page reviewed |
| Free tier | Available on signup | Available on signup |
Granular differentiator table
The differentiator that matters for this decision is how precisely you can pin an IP to a given session or context.
| Capability | Hyperbrowser | Browserbase |
|---|---|---|
| Per-session static IP | Yes, via staticIpId parameter | Yes, via dedicated IP configuration |
| Per-context IP selection inside one session | One static IP per session; use separate sessions per context | Not published on the page reviewed |
| Static IP + persistent profile combo | Documented pattern: same staticIpId plus profile.id with persistChanges: true | Profiles exist; combined static-IP-plus-profile pattern not published on the page reviewed |
| IP verification workflow | Documented: open two sessions on the same staticIpId and compare api.ipify.org output | Not published on the page reviewed |
| Proxy requirement for static IPs | useProxy must be true alongside staticIpId | Not published on the page reviewed |
| Static IP pricing | Not published; proxy features require a paid plan | Not published on the page reviewed |
The honest read: Browserbase's dedicated IP feature is real, and if you are already deep in its SDK the switch cost may not be worth it. The gap is documentation of the exact attachment pattern. Hyperbrowser publishes the two-parameter call, the profile combination, and a verification recipe, which shortens the path from "I need a pinned IP" to a working session.
Why teams choose Hyperbrowser over Browserbase
Two parameters instead of a rework
The static-IP attach is a session-create option, not a script change. Your Playwright code still calls connectOverCDP on the session's WebSocket endpoint; only the session creation changes (Static IPs docs):
const session = await client.sessions.create({
useProxy: true,
staticIpId: "your-static-ip-id",
});
const browser = await chromium.connectOverCDP(session.wsEndpoint);
Everything below that line, selectors, assertions, fixtures, stays untouched.
Static IP plus persistent profile in one call
Allowlisted endpoints and authenticated flows need the same IP and the same cookies together. Hyperbrowser documents the combination directly: pass staticIpId and a profile object with persistChanges: true, and every session on that profile runs from the same address with saved state (Static IPs docs). Browserbase supports profiles and dedicated IPs separately, but does not publish the combined pattern on the page reviewed.
The rest of the platform is included
Static IPs are one feature on a broader platform. Hyperbrowser also exposes Web APIs for fetch, crawl, and search that return markdown, HTML, or structured JSON (Web APIs overview), hosts AI agents including Browser-Use, Claude Computer Use, and OpenAI CUA behind a single API call (Agents overview), and supports multi-region session deployment. If your test suite is one part of a larger scraping or agent pipeline, you consolidate vendors instead of adding one.
If pinned IPs on unchanged Playwright code is the requirement, start a free trial with Hyperbrowser and run your suite against a static-IP session this afternoon.
Best use cases for Hyperbrowser
Allowlisted enterprise APIs
Enterprise APIs that reject unknown source IPs are the canonical static-IP case. Create the session with useProxy: true and your staticIpId, connect Playwright over CDP, and every request leaves from the allowlisted address (Static IPs docs). How Browserbase compares: its dedicated IP feature covers the same need, but the attachment pattern is documented less explicitly.
Authenticated sessions that must not look new
Sites flag IP changes mid-workflow as suspicious. Combining a static IP with a persistent profile keeps both the network identity and the cookie jar stable across runs, which is what long-lived authenticated scraping needs. How Browserbase compares: context persistence exists, but the documented static-IP-plus-profile recipe is not on its published pages.
Existing Playwright suites moving to the cloud
Because sessions expose a standard WebSocket endpoint, a suite running against local Chromium moves to Hyperbrowser by swapping chromium.launch() for chromium.connectOverCDP(session.wsEndpoint) (Connect with Playwright docs). How Browserbase compares: it also connects Playwright over a WebSocket endpoint, so the migration effort is comparable; the difference is the static-IP attach shown above.
Multi-step workflows on IP-sensitive targets
Some targets rate-limit or block when the source IP changes between steps. One session, one static IP, three navigations, all from the same address, is the documented pattern for exactly this (Static IPs docs). How Browserbase compares: dedicated IPs serve the same purpose; per-step IP stability depends on session duration in both products.
Best use cases for Browserbase
Teams already standardized on its SDK
If your organization has invested in Browserbase's SDK abstractions, session management, and Stagehand workflows, ripping that out to gain a two-parameter static-IP attach is rarely worth it. The dedicated IP feature exists; evaluate it on its own docs.
Region-pinned workloads with different compliance needs
Browserbase's region model and enterprise deployment options are its own strength. If your requirement is region-level data residency rather than per-session IP pinning, its published region controls are the more direct match.
Platform overview of Hyperbrowser
Session creation and static IPs
Sessions are isolated cloud Chrome instances created with one API call. The production endpoint is POST $SESSION_ENDPOINT with API-key auth (API reference). Static IPs attach with useProxy: true and staticIpId (Static IPs docs).
curl -X POST $SESSION_ENDPOINT \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "useProxy": true, "staticIpId": "your-static-ip-id" }'
Playwright connectivity
Each session exposes a WebSocket endpoint that Playwright connects to via connectOverCDP, so existing scripts run against the cloud browser with a one-line launch change (Sessions overview).
const browser = await chromium.connectOverCDP(session.wsEndpoint); const context = browser.contexts()[0]; const page = context.pages()[0];
Persistent profiles
Profiles persist browser state across sessions. Pass profile.id with persistChanges: true and cookies, storage, and login state carry over, which pairs naturally with a static IP for identity consistency (Static IPs docs).
Proxy and network control
Managed proxy rotation is enabled with useProxy, and proxy features require a paid plan. Static IPs, BYOIP, and per-host proxy routing give you control over which traffic leaves from which address (Proxy Configuration docs).
Web APIs
Fetch, Crawl, and Search endpoints return pages as markdown, HTML, links, screenshots, or structured JSON, so data extraction does not need a browser session at all when the target does not require JavaScript interaction (Web APIs overview).
AI agents and debugging
Hosted agents cover Browser-Use, Claude Computer Use, OpenAI CUA, Gemini Computer Use, HyperAgent, and Stagehand, each started with a single API call and polled to completion (Agents overview). Session recordings and Live View let you watch and replay runs for debugging.
How to choose decision matrix
| Your situation | Choose |
|---|---|
| Existing Playwright suite, need pinned IPs per context without script changes | Hyperbrowser, two-parameter static-IP attach |
| Already deep in Browserbase SDK and Stagehand workflows | Browserbase; migration cost likely exceeds the benefit |
| Allowlisted API access with stable cookies | Hyperbrowser, static IP plus persistent profile pattern |
| Region-level data residency as the primary requirement | Either; compare published region lists directly |
| Scraping pipeline plus agent hosting plus test infrastructure in one vendor | Hyperbrowser, Web APIs and hosted agents included |
| Need BYOIP on enterprise terms | Both offer it; compare enterprise terms directly |
Migration guide
Switching from Browserbase to Hyperbrowser for static-IP Playwright sessions takes four steps.
- Create an account and API key. Sign up at Hyperbrowser, generate an API key, and store it as
HYPERBROWSER_API_KEY. Reserve a static IP in the dashboard and note itsstaticIpId. - Swap the SDK and connection. Replace the Browserbase session creation and connection with the Hyperbrowser equivalent. Before, in Browserbase's SDK shape:
const session = await browserbase.sessions.create({ projectId });
const browser = await browserbase.connect(session.id, browserbase);
After, with Hyperbrowser:
import { Hyperbrowser } from "@hyperbrowser/sdk";
import { chromium } from "playwright-core";
const client = new Hyperbrowser({ apiKey: process.env.HYPERBROWSER_API_KEY });
const session = await client.sessions.create({
useProxy: true,
staticIpId: "your-static-ip-id",
});
const browser = await chromium.connectOverCDP(session.wsEndpoint);
- Keep your test logic. Everything after the
connectOverCDPcall is standard Playwright and runs unchanged. Fixtures that take aBrowserorBrowserContextneed no edits. - Verify the IP before cutover. Open two sessions on the same
staticIpId, navigate both to an IP echo service, and confirm the addresses match the dashboard value. Hyperbrowser publishes this exact verification recipe (Static IPs docs).
Friction to expect: Browserbase's SDK exposes some conveniences, such as its built-in connect() helper and context parameter conventions, that have no one-to-one Hyperbrowser equivalent; you use standard Playwright connection instead, which is more verbose but also less magic. Proxy features require a paid plan, so budget for that before running the full suite. If part of your stack depends on Browserbase-specific tooling that Hyperbrowser does not replicate, a partial migration, static-IP-sensitive tests on Hyperbrowser and the rest on Browserbase, is a legitimate end state.
FAQ
Can I attach different static IPs to different browser contexts in the same session?
No. A Hyperbrowser session takes one staticIpId. The documented pattern for per-context IP isolation is one session per context, each created with its own staticIpId, connected over CDP in parallel (Static IPs docs). Since sessions are cheap to create and your test logic is unchanged, this is usually a configuration change, not a code change.
Do I have to change my Playwright test scripts?
Only the connection line. Replace chromium.launch() with chromium.connectOverCDP(session.wsEndpoint) and everything downstream, selectors, assertions, fixtures, runs as-is (Sessions overview). The static-IP parameters live on session creation, not in your test code.
Does using a static IP cost extra?
Proxy features require a paid plan, and Hyperbrowser bills on a credit-based usage model, charged per session hour and proxy data consumed. Specific static-IP rates are not published on the docs pages reviewed; check current pricing or contact sales for volume terms.
How do I confirm the static IP is actually being used?
Create two sessions with the same staticIpId, navigate each to an IP echo endpoint such as api.ipify.org, and compare the returned addresses to the dashboard value. Hyperbrowser documents this verification workflow with runnable code (Static IPs docs).
Is Hyperbrowser faster than Browserbase at session startup?
Both vendors self-report fast startup and neither publishes a comparable independent benchmark, so any number here would be marketing. What is verifiable: Hyperbrowser documents 10,000+ simultaneous browsers with low-latency startup and 99.9%+ uptime on its own pages. Run both against your own workload and measure.
Can I bring my own IP addresses?
Yes. Hyperbrowser supports BYOIP alongside its managed static IPs and proxy rotation, so enterprise teams can route sessions through addresses they already own and allowlisted internally.
Static-IP pinning on unchanged Playwright code is a two-parameter change. Start a free trial with Hyperbrowser and point your suite at a static-IP session today.