Estimate cost for a protein library screen
POST/compute/v1/protein/library-screen/estimate-cost
Estimate the cost of a protein library screen without creating any resource or consuming GPU.
Body Parameters
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 protein library screen
curl https://api.boltz.bio/compute/v1/protein/library-screen/estimate-cost \
-H 'Content-Type: application/json' \
-H "x-api-key: $BOLTZ_API_KEY" \
-d '{
"proteins": [
{
"entities": [
{
"chain_ids": [
"string"
],
"type": "protein",
"value": "value"
}
]
}
],
"target": {
"chain_selection": {
"A": {
"chain_type": "polymer",
"crop_residues": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12
],
"epitope_residues": [
10,
11,
12
],
"flexible_residues": [
5,
6,
7
]
}
},
"structure": {
"type": "url",
"url": "https://example.com"
},
"type": "structure_template"
}
}'{
"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"
}