Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
docs: added pricing for bu llm
Saurav Panda8d9bcd427a8b
diff --git a/README.md b/README.mdindex 0a56a6f2d..caf37b8c8 100644--- a/README.md+++ b/README.md@@ -157,6 +157,11 @@ https://github.com/user-attachments/assets/ac34f75c-057a-43ef-ad06-5b2c9d42bf06We optimized **ChatBrowserUse()** specifically for browser automation tasks. On avg it completes tasks 3-5x faster than other models with SOTA accuracy.+**Pricing (per 1M tokens):**+- Input tokens: $0.50+- Output tokens: $3.00+- Cached tokens: $0.10+For other LLM providers, see our [supported models documentation](https://docs.browser-use.com/supported-models).</details>diff --git a/browser_use/tokens/custom_pricing.py b/browser_use/tokens/custom_pricing.pyindex 2be330a86..ad1f53f33 100644--- a/browser_use/tokens/custom_pricing.py+++ b/browser_use/tokens/custom_pricing.py@@ -9,16 +9,7 @@ from typing import Any# Custom model pricing data# Format matches LiteLLM's model_prices_and_context_window.json structureCUSTOM_MODEL_PRICING: dict[str, dict[str, Any]] = {- 'browser-use/fast': {- 'input_cost_per_token': 0.50 / 1_000_000, # $0.50 per 1M tokens- 'output_cost_per_token': 3.00 / 1_000_000, # $3.00 per 1M tokens- 'cache_read_input_token_cost': 0.10 / 1_000_000, # $0.10 per 1M tokens- 'cache_creation_input_token_cost': None, # Not specified- 'max_tokens': None, # Not specified- 'max_input_tokens': None, # Not specified- 'max_output_tokens': None, # Not specified- },- 'browser-use/smart': {+ 'bu-1-0': {'input_cost_per_token': 0.50 / 1_000_000, # $0.50 per 1M tokens'output_cost_per_token': 3.00 / 1_000_000, # $3.00 per 1M tokens'cache_read_input_token_cost': 0.10 / 1_000_000, # $0.10 per 1M tokensdiff --git a/docs/supported-models.mdx b/docs/supported-models.mdxindex 801673a0b..3e6b8e5bc 100644--- a/docs/supported-models.mdx+++ b/docs/supported-models.mdx@@ -30,6 +30,20 @@ BROWSER_USE_API_KEY=Get your API key from the [Browser Use Cloud](https://cloud.browser-use.com/new-api-key). New signups get \$10 free credit via OAuth or \$1 via email.+#### Pricing++ChatBrowserUse offers competitive pricing per 1 million tokens:++| Token Type | Price per 1M tokens |+|------------|---------------------|+| Input tokens | $0.50 |+| Output tokens | $3.00 |+| Cached tokens | $0.10 |++<Note>+ Cached tokens provide significant cost savings on repeated context, reducing input costs by 80%.+</Note>+### Google Gemini [example](https://github.com/browser-use/browser-use/blob/main/examples/models/gemini.py)<Warning>