Skip to content

Commit 5ce4166

Browse files
committed
pricing doc, browser termination doc
1 parent 66aceb3 commit 5ce4166

File tree

5 files changed

+101
-17
lines changed

5 files changed

+101
-17
lines changed

advanced/browser-termination.mdx

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: 'Browser Termination'
3+
description: ''
4+
icon: 'forward-step'
5+
---
6+
7+
### Configuring Browser Termination
8+
9+
The AnchorBrowser API provides multiple options to manage and terminate browser sessions effectively. Two key options to control session lifetime are `timeout` and `idle_timeout`.
10+
11+
For the full list of available options, view the [interactive api documentation](/api-reference/sessions/create-session)
12+
13+
### Configuring Browser Termination
14+
15+
The AnchorBrowser API offers options to manage and gracefully terminate browser sessions through `timeout` and `idle_timeout` parameters.
16+
17+
- **`timeout`**:
18+
- Specifies the maximum time (in **minutes**) a browser session can run before automatic termination.
19+
- **Default**: `-1` (session runs indefinitely).
20+
- **Example**: Setting `timeout` to `10` terminates the session after 10 minutes.
21+
- **Note**: There is no maximum timeout for a browser. However, browser integrity is **guaranteed for a minimum of 7 days**. This ensures that long-running sessions are stable for at least a week.
22+
23+
- **`idle_timeout`**:
24+
- Defines the duration (in **minutes**) the session remains open while waiting for new connections after all other CDP (Chrome DevTools Protocol) connections are closed.
25+
- **Default**: `1` minute.
26+
- **Example**: Setting `idle_timeout` to `5` terminates the session after 5 minutes of inactivity.
27+
- **Purpose**:
28+
`idle_timeout` is particularly useful for maintaining **long-lived browsers** that persist **without an active CDP connection**. This allows the browser to stay alive in the background, ready to resume operations when reconnected, without requiring continuous activity or interaction.
29+
- **Note**: Use `-1` to disable automatic termination for idle sessions. Monitor long-running sessions manually to ensure resource optimization.
30+
31+
### Code Example
32+
33+
```bash
34+
curl --request POST \
35+
--url https://api.anchorbrowser.io/api/sessions \
36+
--header 'Content-Type: application/json' \
37+
--header 'anchor-api-key: your_api_key_here' \
38+
--data '{
39+
"timeout": 10,
40+
"idle_timeout": 5
41+
}'
42+
```
43+
44+
Replace `"your_api_key_here"` with your actual API key.
45+
- `timeout: 10` sets a 10-minute session limit.
46+
- `idle_timeout: 5` keeps the session alive for 5 minutes of inactivity.

introduction.mdx

+17-12
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ sidebarTitle: Introduction
55

66
---
77

8-
Anchor Browser is the secure runtime for AI agents on the web, empowering them to perform any action you could through a browser, leveraging headless browsing and tool orchestration.
8+
AnchorBrowser is the platform for AI Agentic browser automation, which solves challenge of automating workflows for web applications without APIs or with limited API coverage.
9+
10+
It simplifies the creation, deployment, and management of browser-based automations, transforming complex web interactions into simple API endpoints.
11+
12+
## Getting started
13+
914
<CardGroup cols={2}>
1015
<Card
1116
title="Quick start"
@@ -23,17 +28,6 @@ Anchor Browser is the secure runtime for AI agents on the web, empowering them t
2328
</Card>
2429
</CardGroup>
2530

26-
<img
27-
className="block dark:hidden"
28-
src="/images/hero-light.svg"
29-
alt="Hero Light"
30-
/>
31-
<img
32-
className="hidden dark:block"
33-
src="/images/hero-dark.svg"
34-
alt="Hero Dark"
35-
/>
36-
3731
## Next steps
3832

3933
Explore advanced features and capabilities
@@ -68,3 +62,14 @@ Explore advanced features and capabilities
6862
Jumpstart your project with customizable, ready-to-use templates.
6963
</Card>
7064
</CardGroup>
65+
66+
<img
67+
className="block dark:hidden"
68+
src="/images/hero-light.svg"
69+
alt="Hero Light"
70+
/>
71+
<img
72+
className="hidden dark:block"
73+
src="/images/hero-dark.svg"
74+
alt="Hero Dark"
75+
/>

mint.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
"advanced/captcha-solving",
6262
"advanced/ai-task-completion",
6363
"essentials/tool-building",
64-
"essentials/authentication-and-identity"
64+
"essentials/authentication-and-identity",
65+
"advanced/browser-termination"
6566
]
6667
},
6768
{
@@ -73,6 +74,12 @@
7374
"agent-frameworks/langchain",
7475
"agent-frameworks/custom-agent-framework"
7576
]
77+
},
78+
{
79+
"group": "Additional Details",
80+
"pages": [
81+
"pricing"
82+
]
7683
}
7784
],
7885
"footerSocials": {

pricing.mdx

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: 'Pricing'
3+
---
4+
5+
6+
Below is a clear breakdown of our pricing structure to help you understand the costs associated with using our platform.
7+
8+
## Pricing Breakdown
9+
10+
### 1. **Browser Creation**
11+
- **$0.01 per browser creation**.
12+
Every new browser instance created incurs a minimal fee, ensuring cost-effective scaling of your automation workflows.
13+
14+
### 2. **Browser Usage**
15+
- **$0.05 per browser hour**.
16+
Charges are based on the total active time of the browser session, calculated to the nearest full minute.
17+
18+
### 3. **Anchor-Residential Proxy**
19+
- **$4 per GB** of data used.
20+
Our residential proxy offers high-speed, secure connections, ensuring seamless automation across the web.
21+
22+
23+
## Example Calculation
24+
For 10 browsers running for 5 hours, using 2GB of residential proxy data:
25+
- **Browser Creation**: 10 browsers × $0.01 = **$0.10**
26+
- **Browser Hours**: 10 browsers × 5 hours × $0.05 = **$2.50**
27+
- **Proxy Data**: 2GB × $4 = **$8.00**
28+
- **Total**: **$10.60**

why.mdx

+2-4
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ We believe in democratizing access to powerful features. With Anchor Browser, ev
1313
Anchor Browser enables you to create customized browser flows for specific tasks. Once configured, you can run these flows anywhere via our API, automating tasks consistently across different environments and applications.
1414

1515
### 3. Start at **\$0 per Month** - Pay Only for What You Use
16-
Anchor Browser offers a pay-as-you-go pricing model, with no minimum monthly fees. You can start using it at $0/month, paying only for the actual resources consumed, giving you flexibility and control over your costs.
16+
Anchor Browser offers a usage based pricing model, with no minimum monthly fees. You can start using it at $0/month, paying only for the actual resources consumed, giving you flexibility and control over your costs.
1717

1818
### 4. Industry-Leading Lowest Prices
19-
With the lowest overall pricing in the industry, Anchor Browser offers unmatched affordability:
20-
* 0.5 per browser hour: Efficient, cost-effective access to browser automation.
21-
* $4 per GB of proxy data: Streamlined costs for data usage to keep you within budget.
19+
With the best overall pricing in the industry, Anchor Browser offers unmatched affordability
2220

2321
### 5. Infinite Scale
2422
Anchor Browser removes the bottleneck of limited resources by providing infinite scalability. Whether you need one browser instance or thousands, you can run as many concurrent browsers as required to meet your needs, with no restrictions.

0 commit comments

Comments
 (0)