Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.browser-use.com/llms.txt

Use this file to discover all available pages before exploring further.

Pass model to select a model:
ModelAPI StringInput (per 1M tokens)Output (per 1M tokens)
Claude Sonnet 4.6claude-sonnet-4.6$3.60$18.00
Claude Opus 4.6claude-opus-4.6$6.00$30.00
GPT-5.4 minigpt-5.4-mini$0.90$5.40
We recommend Claude Sonnet 4.6 (claude-sonnet-4.6). It’s the model we optimize for the most right now.
from browser_use_sdk.v3 import AsyncBrowserUse

client = AsyncBrowserUse()
result = await client.run(
    "List the top 20 posts on Hacker News today with their points",
    model="claude-sonnet-4.6",
)
print(result.output)

Bring your own key

Connect your own Anthropic, OpenAI, or Google API key. You pay your provider directly + a 0.2× orchestration fee on provider list token prices.
  1. Add your provider key in the dashboard under Settings → API Keys → Bring Your Own Key.
  2. Pass use_own_key=True on the session:
result = await client.run(
    "List the top 20 posts on Hacker News today with their points",
    model="claude-sonnet-4.6",
    use_own_key=True,
)
To default every session on a client to BYOK, set it once on the constructor:
client = AsyncBrowserUse(use_own_key=True)
The provider key on your project must match the model you pick — Claude models use your Anthropic key, GPT models use your OpenAI key, Gemini models use your Google key.