Learning resourcesReviewed · Browser Use

Browser Use V4: Get Session Cost

Browser Use’s Get Session Cost reference helps developers track spending on hosted AI browser agents, but its totals can change after a task finishes and are not invoice amounts. It documents a session-level API endpoint that separates model, search, browser and proxy costs.

Researched 24 Nov 2026

In short.

Browser Use’s Get Session Cost is an API reference for developers monitoring hosted AI browser-agent spending, with totals that can change after completion and differ from actual charges. It explains why a run’s model-and-search total omits browser and proxy costs, then documents the endpoint for retrieving the broader session total. Monetary amounts use fixed-six-decimal strings. The page supports implementing usage reporting, but does not establish live accuracy, performance or final invoice reconciliation.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is the complete selected page at [https://docs.browser-use.com/cloud/api-v4/sessions/get-session-cost.md], including its documentation-index notice, shared platform notices, endpoint explanation, embedded OpenAPI definition and hosting attribution. Linked documentation, pricing pages and external sites are excluded. Live endpoint behavior, SDK compatibility, performance, billing accuracy and actual charges remain unassessed.

The overview

Resource identity

This is Browser Use’s Get Session Cost documentation at [https://docs.browser-use.com/cloud/api-v4/sessions/get-session-cost.md]. It combines an explanation of session accounting with an embedded OpenAPI 3.1.0 definition labelled Browser Use Public API v4, version 4.0.0.

Practical assessment

The reference is useful when a developer needs browser and network spending alongside model charges. Its strongest explanation is the difference between a completed run and a browser that continues accumulating costs. It supports a usage dashboard, while invoice reconciliation requires information beyond this response. Operational accuracy and reliability are not assessed.

Who it helps

Developers integrating Browser Use Cloud can use this reference for session spending displays, usage monitoring and investigating differences between run totals and session totals. Beginners get a concrete explanation of those differences, but need basic knowledge of HTTP requests, API keys and JSON to implement the call.

Documented capabilities

The response contains sessionId, numRuns, llmCostUsd, searchCostUsd, browserCostUsd, proxyCostUsd, proxyUsedMb and totalCostUsd. All eight fields are required. The session identifier is a UUID string, numRuns is an integer, and the remaining fields are strings.

The endpoint provides accumulated session usage split by source. It does not provide a per-run allocation of browser or proxy charges.

Using it

Access requirements

A request needs a session UUID and a Browser Use API key with access to the requested resource. Authentication uses the X-Browser-Use-API-Key header without a Bearer prefix. The page does not name the precise required key scope or specify an endpoint-specific subscription tier or minimum SDK version.

How the accounting works

A browser can outlive an individual agent run. RunSummary.total_cost_usd covers model and web-search charges, while browser time and proxy bandwidth are metered against the session’s browser. The session endpoint brings those cost sources together.

The documentation says model charges can settle up to about 90 seconds after a run reports finished. Browser time and proxy traffic continue accumulating until the browser stops, so completion alone does not establish a final session total.

Making the request

Replace {session_id} with an existing session UUID and send GET to [https://api.browser-use.com/api/v4/sessions/{session_id}/cost], supplying the API key in X-Browser-Use-API-Key. The documented success response is HTTP 200 with JSON.

The page also documents HTTP 403 for insufficient scope or project restrictions, 404 for a missing resource and 422 for validation errors. Account setup and session creation are not explained by this endpoint reference.

Illustrative use

A spending dashboard could show totalCostUsd beside separate model, search, browser and proxy charges, with numRuns and proxyUsedMb providing context. If a later reading increases after task completion, delayed model settlement or a still-running browser are documented possible explanations. This is a hypothetical integration; no populated response or measured result is supplied.

Assessment & evidence

Limits and unknowns

The response is a changing usage snapshot, not an invoice or a spending-control mechanism. Its schema contains no credit adjustments, promotional deductions or per-run browser and proxy breakdown.

The reference gives no endpoint-specific latency measurements, availability commitment or guaranteed time when every cost becomes final. Its successful operation and billing accuracy have not been assessed.

Why the distinction matters

The accounting boundary explains the endpoint’s value: using a run’s model-and-search total as the complete session cost would omit browser and proxy usage. Conversely, using the session total as a final customer charge would overlook downstream billing adjustments. These conclusions follow from the documented cost definitions, rather than observed billing results.

Related options

RunSummary.total_cost_usd is the narrower option described on this page when only one run’s model and web-search charges matter. Final charged amounts require downstream billing information, but this page does not document an invoice-retrieval endpoint. It supplies no comparison with other services.

Evidence basis

The evidence consists of the complete Browser Use documentation page at [https://docs.browser-use.com/cloud/api-v4/sessions/get-session-cost.md], including explanatory text, shared platform notices and the embedded request and response schema. These establish documented behavior; no live responses, benchmark results or independent billing comparisons are included.

Access & freshness

Costs and billing meaning

The reported dollar amounts represent recorded usage. Promotional waivers and credits are applied later in billing, so reported usage can include costs that were never charged.

The page describes Cloud as pay as you go and links to pricing at [https://browser-use.com/pricing]. It does not provide a complete tariff for calculating a session’s bill or establish whether this retrieval request has a separate charge. Actual session costs are unknown.

Rights and terms

The selected page does not state a documentation licence or permission to redistribute its contents. Hosted-service terms and ownership or reuse rights for session data and outputs are not established here.

Documentation freshness

The documentation snapshot was captured on 24 November 2026 at 11:30:33 UTC. Its embedded API schema identifies version 4.0.0. A page-specific publication or last-update date is not supplied, and the snapshot does not establish whether the deployed service has subsequently changed.

Practical next steps

For an integration, label the result as recorded session usage and preserve the separation between cost sources. Use decimal-safe arithmetic for monetary strings; the schema specifies six decimal places to avoid floating-point precision loss.

For a more settled reading, account for the documented model settlement delay and confirm that the browser has stopped. Check applicable pricing and billing adjustments before treating recorded usage as an amount payable.

Evidence for this report

selected-page.txtselected · checked 2026-11-24