Estimate cost for a small molecule design run
POST/compute/v1/small-molecule/design/estimate-cost
Estimate the billed cost of a small molecule design run without creating any resource or consuming GPU. Includes the SynFlowNet generation charges implied by the scheduler iteration cap plus Boltz2 scoring for each requested molecule.
Body Parameters
num_molecules: number
Number of molecules to generate. Must be between 10 and 1,000,000.
minimum10
maximum1000000
chemical_space: optional "enamine_real"
Chemical space to constrain generated molecules. Currently only 'enamine_real' (Enamine REAL chemical space) is supported. Additional options may be added in the future.
idempotency_key: optional string
Client-provided key to prevent duplicate submissions on retries
maxLength255
workspace_id: optional string
Target workspace ID (admin keys only; ignored for workspace keys)
Returns
disclaimer: string
estimated_cost_usd: string
Estimated total cost as a decimal string
Estimate cost for a small molecule design run
curl https://api.boltz.bio/compute/v1/small-molecule/design/estimate-cost \
-H 'Content-Type: application/json' \
-H "x-api-key: $BOLTZ_API_KEY" \
-d '{
"num_molecules": 10,
"target": {
"entities": [
{
"chain_ids": [
"string"
],
"type": "protein",
"value": "value"
}
]
}
}'{
"breakdown": {
"application": "structure_and_binding",
"cost_per_unit_usd": "0.0500",
"num_units": 1
},
"disclaimer": "This is an estimate only and may differ from your actual charges. Final billing is based on exact token counts computed at run time. For large library screens, the estimate is extrapolated from a sample and may be less accurate for highly variable inputs.",
"estimated_cost_usd": "0.0500"
}Returns Examples
{
"breakdown": {
"application": "structure_and_binding",
"cost_per_unit_usd": "0.0500",
"num_units": 1
},
"disclaimer": "This is an estimate only and may differ from your actual charges. Final billing is based on exact token counts computed at run time. For large library screens, the estimate is extrapolated from a sample and may be less accurate for highly variable inputs.",
"estimated_cost_usd": "0.0500"
}