browser-use 1.0.9 Turns On Claude Prompt Caching for OpenRouter and Bedrock, and Adds Proxy Rotation That Keeps the Session
Before browser-use 1.0.9, Claude runs through OpenRouter, Bedrock or ChatOpenAI pointed at OpenRouter never asked for prompt caching, so every step paid full input price. The release fixes that and adds rotate_proxy() for cloud browsers.
If you ran browser-use agents on Claude through OpenRouter or Amazon Bedrock, you were probably paying full input price on every step. Version 1.0.9, released on November 26, fixes that. The release notes say that on those routes “every step re-billed the whole prompt” and that cache_read was always 0. The same release adds rotate_proxy(), which gives a Browser Use cloud browser a new exit IP without losing its tabs, cookies or logins.
The caching fix is the one most users should act on. Nothing errored and nothing warned. Runs simply cost more than they needed to.

Which routes were affected
Issue #6543 traced the bug to build_agent(). It only set Pydantic AI’s unified cache setting when the provider system was exactly anthropic. Claude does not cache unless the request asks for it. OpenRouter needs cache_control breakpoints and Bedrock Converse needs cachePoint blocks, so every other route sent the full prefix uncached. That prefix is the system prompt, the tools, the history and up to 20 screenshots.
| How the model was passed | Cache requested before 1.0.9 | In 1.0.9 |
|---|---|---|
llm='anthropic:claude-...' |
yes | yes |
llm='openrouter:anthropic/claude-...' |
no | yes |
llm='bedrock:...claude...' |
no | yes (unit-tested only) |
ChatOpenAI('anthropic/claude-...', base_url='https://openrouter.ai/api/v1') |
no | yes |
The last row needed more than a settings change. According to PR #6546, ChatOpenAI with an OpenRouter base URL used to become a plain OpenAIChatModel, which cannot send cache_control at all. It now resolves to Pydantic AI’s OpenRouterModel. The PR keeps two behaviors unchanged: a cache setting you pass yourself still wins, and non-Claude models are untouched.
What the fix saved in the maintainer’s test
The PR includes one live comparison: the same two-page task on anthropic/claude-sonnet-5.5 via OpenRouter, priced from OpenRouter’s model list.
| Route | Build | Steps | cache_read per step | Total |
|---|---|---|---|---|
openrouter: |
main (before) | 5 | 0, 0, 0, 0, 0 | $0.0517 |
openrouter: |
fix | 3 | 3324, 3532, 4187 | $0.0086 |
ChatOpenAI(base_url=openrouter) |
main (before) | 6 | all 0 | $0.0622 |
ChatOpenAI(base_url=openrouter) |
fix | 5 | 0, 3532, 4187, 4389, 4540 | $0.0294 |
The maintainer puts it at about $0.010 per step before the fix and $0.003 to $0.006 after. Read the table with three caveats:
- It is one short run per arm, and the step counts differ.
- The first
openrouter:step after the fix already hit the cache, because the other route had just written the same prefix. That flatters the $0.0086 figure. - Bedrock was never run live. Both the release notes and the PR say it is covered by unit tests only.
The gap should still grow on real workloads, because the uncached prefix gets larger with every step. For scale, the releases page notes that in 1.0.4 one 705-step benchmark task read 27.8M input tokens, only 1.6M of them from cache, before a separate cache-breaking bug was fixed. The issue reporter estimated that Claude Sonnet 5.5 on OpenRouter would cost 55 to 72% less per step with caching. That estimate came from reading the code, not from a run.
What to do
Upgrade, then confirm the fix on your own route instead of trusting the table:
pip install 'browser-use==1.0.9'
Run a short multi-step task on your real Claude route and check cache_read in the run’s usage. It should be nonzero from the second step on. On Bedrock, this check is the only live confirmation you will get, since the project has not run that path live. If you set cache=False somewhere for debugging, remove it, because your own setting overrides the new default.
If you have to stay on 1.0.8, the issue gives a workaround that requests caching explicitly:
from pydantic_ai.models.openrouter import OpenRouterModel
agent = Agent(task=task, llm=OpenRouterModel('anthropic/claude-sonnet-5.5', settings={'cache': True}))
On Bedrock, the issue suggests the equivalent BedrockConverseModel(..., settings={'cache': True}). For a general refresher on how cache prefixes break, see our guide to prompt caching in Claude Code. The mechanics are the same.
rotate_proxy(): a new IP without starting over
The second change only applies to Browser Use cloud browsers. rotate_proxy(country=None) swaps the exit IP while keeping the same browser, so the agent stays logged in. Per PR #6540, it runs over the browser’s own CDP connection (BrowserUse.setProxy with rotate: true) and needs no API key. The cloud API is only a fallback. The system prompt does not change. The agent sees a one-line hint only when a cell’s output looks like a block page, and only once per site. For sites that serve a single country, such as .ru, .de, .co.uk or .kr, the hint tells the agent to pick an exit in that country.
The country hint is what made the difference. On 11 public sites that blocked a fresh cloud browser in at least 2 of 3 tries, the vendor’s paired A/B test found:
| Arm | Pass rate | Paired change vs 1.0.8 (95% CI) |
|---|---|---|
| 1.0.8 baseline | 48% | n/a |
| rotate_proxy(), no country hint | 47% | -0.5 (-6.6, +5.7) |
| 1.0.9: rotate_proxy() with country hint | 62% | +13.2 (+1.1, +26.3) |
Rotating to a random new IP did nothing. Rotating to the site’s own country did. The confidence interval is wide and only just clears zero, and these are vendor numbers on a vendor-picked set of sites. On 50 general BU Bench tasks, the change was -2.1 points, which the PR says is within 1.0.8’s own run-to-run noise.
Two operational notes from the PR. Rotation drops the current exit IP, so the agent is told never to rotate mid-login or mid-checkout. And rotate_proxy() now fails with a clear error when the cloud reports no new IP. If your agents keep getting blocked, our playbook on sites blocking AI agents covers what to try before you reach for proxies.
Bottom line
If you run Claude through openrouter:, bedrock: or ChatOpenAI pointed at OpenRouter, upgrade to 1.0.9 and confirm that cache_read is nonzero on a short run. If you use cloud browsers on geo-restricted sites, the country hint in rotate_proxy() is worth testing on your own targets. The 62% figure comes from the vendor’s own benchmark.
Sources
- Release browser-use 1.0.9 · browser-use/browser-use · GitHub
- Releases · browser-use/browser-use · GitHub
- Cache Claude on OpenRouter, Bedrock and ChatOpenAI(base_url=OpenRouter) by gregpr07 · Pull Request #6546 · browser-use/browser-use · GitHub
- Prompt caching is not requested for Claude on OpenRouter or Bedrock (every step billed at full input price) · Issue #6543 · browser-use/browser-use · GitHub
- 1.0.9: rotate_proxy() with a country hint for blocked sites by gregpr07 · Pull Request #6540 · browser-use/browser-use · GitHub