Quickstart
Learn how to get started with the Browser Use Cloud API
The Browser Use Cloud API lets you create and manage browser automation agents programmatically. Each agent can execute tasks and provide real-time feedback through a live preview URL.
Prerequisites
You need an active subscription and an API key from cloud.browser-use.com/billing
Pricing
The Browser Use Cloud API pricing consists of two components:
- Task Initialization Cost: $0.01 per started task
- Task Step Cost: Additional cost based on the specific model used for each step
LLM Model Step Pricing
The following table shows the total cost per step for each available LLM model:
Model | Cost per Step |
---|---|
GPT-4o | $0.03 |
GPT-4.1 | $0.03 |
Claude 3.7 Sonnet (2025-02-19) | $0.03 |
GPT-4o mini | $0.01 |
GPT-4.1 mini | $0.01 |
Gemini 2.0 Flash | $0.01 |
Gemini 2.0 Flash Lite | $0.01 |
Llama 4 Maverick | $0.01 |
Example Cost Calculation
For example, using GPT-4o for a 10 step task:
- Task initialization: $0.01
- 10 steps × $0.03 per step
- Total cost: $0.31
Creating Your First Agent
Create a new browser automation task by providing instructions in natural language:
The API returns a task ID that you can use to manage the task and check the live preview URL.
The task response includes a live_url
that you can embed in an iframe to
watch and control the agent in real-time.
Managing Tasks
Control running tasks with these operations:
For detailed API documentation, see the tabs on the left, which include the full coverage of the API.
Building your own client (OpenAPI)
We recommend this only if you don’t need control and only need to run simple tasks.
The best way to build your own client is to use our OpenAPI specification to generate a type-safe client library.
Python
Use openapi-python-client to generate a modern Python client:
This will create a Python package with full type hints, modern dataclasses, and async support.
TypeScript/JavaScript
For TypeScript projects, use openapi-typescript to generate type definitions:
This will create TypeScript definitions you can use with your preferred HTTP client.
Need help? Contact our support team at support@browser-use.com or join our Discord community