Estimate cost for a protein sequence redesign run
POST/compute/v1/protein/sequence-redesign/estimate-cost
Estimate the cost of a protein sequence redesign run without creating any resource or consuming GPU.
Estimate cost for a protein sequence redesign run
curl https://api.boltz.bio/compute/v1/protein/sequence-redesign/estimate-cost \
-H 'Content-Type: application/json' \
-H "x-api-key: $BOLTZ_API_KEY" \
-d '{
"entities": [
{
"chain_id": "x",
"role": "target",
"type": "from_template"
},
{
"chain_id": "x",
"role": "target",
"type": "from_template"
}
],
"num_proteins": 1,
"structure": {
"type": "url",
"url": "https://example.com"
},
"type": "binder"
}'{
"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"
}