---
title: "Get session cost"
method: GET
path: "/v1/sessions/{id}/cost"
tags: ["Sessions"]
---

# Get session cost

`GET /v1/sessions/{id}/cost`

Returns the finalized cost of a released session as an exact amount in US dollars (e.g. 0.031905), suitable for precise billing passthrough.

## Path parameters

- `id` string, uuid, required

## Response `200`

Session cost breakdown in US dollars

- SessionCostResponse — Session cost breakdown in US dollars
  - `currency` 'usd', required — Currency used for the cost values
  - `id` string, uuid, required — Session ID
  - `totalCost` number, required — Exact total session cost in US dollars (e.g. 0.031905), with no rounding to whole cents. Rounded only to micro-dollar precision (6 decimal places) for precise billing passthrough.
  - `unit` 'dollar', required — Cost unit. Values are expressed in US dollars.
  - `usage` object, required — Billable usage inputs used to calculate the costs
    - `browser` object, required
      - `unit` 'minute' | 'second', required — Billing unit for browser usage
      - `value` number, required — Billable browser usage value
    - `captcha` object, required
      - `solves` integer, required — Billable captcha solves
    - `proxy` object, required
      - `bytes` integer, required — Billable Steel proxy bytes for the session

## Other responses

- `404` — An error response from the API
- `409` — An error response from the API
- `500` — An error response from the API

---

[API](https://skmtc.net/steel-dev/apis/steel-api.md) · [All operations](https://skmtc.net/steel-dev/apis/steel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/steel-dev/steel-api/revisions/2248d956188a/schema)
