A single browser session is cheap enough to overlook. A queue of hundreds of small agent jobs is different. If every job starts a browser, waits for a page, extracts one result and stops, startup time and partial minutes become part of the bill. Leaving sessions running while the queue waits can cost more than the useful work.
Start with what the job needs. A public page check that returns a title and a price does not need a person watching a live browser. An authenticated task that can stop at a verification screen does. Put those jobs in separate queues, so each one gets the right browser and its cost is visible.
Define a small unit of work
Give each job an input URL, a clear output and a time limit. For example: open one product page, return its displayed price and currency, and record the URL and time observed. Treat a missing price, a blocked page and a timeout as distinct outcomes. A failed task returns a reason. It does not keep a browser alive while the queue waits.
Decide what can safely share a session. Several pages from the same public site can share one short run. Unrelated customers or accounts must not inherit one another's cookies and page state, so do not combine their jobs to save browser starts. When a job finishes, close its browser and save the result outside the session.
Budget for started minutes
We build Bumblebeez for this: hosted browsers that an agent drives. The Batch tier is agent only, with no live viewer link, and costs $0.07 per browser hour. Browser time is charged per started minute at the hourly rate, and the total charge is rounded up once to the nearest $0.000001. A one-minute Batch session is $0.001167. A job that uses 61 seconds occupies two started minutes. When runs are short, startup and the real duration of the work decide the bill.
For an estimate, multiply the number of sessions by their expected started minutes and by $0.07 / 60. 1,000 separate two-minute sessions come to $2.33 of browser time. Measure real usage on a small sample first: redirects, slow sites, retries and startup all add minutes. The estimate covers browser time only. The model and your own application are separate costs.
We settle a running browser at the minutes actually used. A browser can start only when the balance covers its full requested time, up to 15 minutes, plus startup. When it does not, the start is refused with insufficient_credit and nothing is started or charged. Handle that response in the queue and do not retry it in a tight loop.
Bound concurrency and retries
Pick a maximum number of active browsers your application can manage and start with a small pilot. A queue keeps that limit while it absorbs a larger batch of work. Track each job from queued to running to finished or failed, and make sure a worker that crashes does not leave its job marked as running forever.
Retry only failures that can resolve, with a limit and a delay. A temporary network failure gets another attempt. A page that requires sign-in or a permission check needs a different workflow. Starting browsers again and again against the same permanent block spends money and produces nothing. Record the reason and send the job for review.
Compare the estimate with the minutes in the usage history. Look for sessions that ran longer than the task needed, a high retry rate, or a site that always takes more time. Fix the queue or the task definition before you increase volume.
Route interactive jobs separately
Batch has no viewer link, so it is the wrong tier when a person has to see the browser to complete a login or review a step. Our Live tier lets a person watch and take over, at $0.41 per browser hour. Send those jobs down a separate interactive path, and use an account with only the access the task needs. A person who signs in gives the agent access to that session, so keep sensitive actions under your own approval process.
Every tier draws on one prepaid balance. A new account starts with $0.25 of free starter credit, no card needed. A top-up adds $5.00, and a top-up that would take the balance above $20.00 is refused. Before you launch a batch, check that the balance covers the starts you intend, with headroom for the requested session lengths. The billing page shows the prices, your balance and recent usage.