QPU Estimate Cost

Estimate the cost of a QPU job without submitting it. Returns the estimated cost in credits based on the circuit, target device, and number of shots. Use this to preview charges before committing to a submission.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
codestringRequired
Circuit code in any supported source framework
source_frameworkstringRequired

Framework name for code

backendstringRequired
Target device
shotsintegerOptional10-10000Defaults to 100
braket_execution_mode_hintstring or nullOptional

Optional: ‘program_set’ or ‘run_batch’ for multi-circuit cost alignment.

Response

Successful Response
successboolean
backendstring
estimated_cost_centsdouble
shotsinteger
num_circuitsinteger

Errors

422
Unprocessable Entity Error