Estimate cost for a protein design run
Estimate the cost of a protein design run without creating any resource or consuming GPU.
ParametersExpand Collapse
body ProteinDesignEstimateCostParams
BinderSpecification param.Field[ProteinDesignEstimateCostParamsBinderSpecificationUnion]Binder specification for protein design. Use no_template for sequence-defined binders, structure_template for uploaded binder structures, or boltz_curated for Boltz-managed nanobody and antibody defaults.
Binder specification for protein design. Use no_template for sequence-defined binders, structure_template for uploaded binder structures, or boltz_curated for Boltz-managed nanobody and antibody defaults.
type ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpec struct{…}Binder specification starting from an existing 3D structure. Upload a CIF/PDB file and select which chains to include, which residues to keep, and which regions to redesign. Only chains included in chain_selection are part of the engine run.
Binder specification starting from an existing 3D structure. Upload a CIF/PDB file and select which chains to include, which residues to keep, and which regions to redesign. Only chains included in chain_selection are part of the engine run.
ChainSelection map[string, ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionUnion]Chains selected from the uploaded binder structure, keyed by chain ID. Only chains listed here are included in the engine run — any chains omitted from this mapping are ignored. Each value defines which residues to keep (crop_residues). Omit design_motifs to include the chain as fixed scaffold context.
Chains selected from the uploaded binder structure, keyed by chain ID. Only chains listed here are included in the engine run — any chains omitted from this mapping are ignored. Each value defines which residues to keep (crop_residues). Omit design_motifs to include the chain as fixed scaffold context.
type ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionStructureTemplatePolymerChainSpec struct{…}Per-chain crop and design specification for a polymer chain in structure_template mode.
Per-chain crop and design specification for a polymer chain in structure_template mode.
CropResidues ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionStructureTemplatePolymerChainSpecCropResiduesUnion0-indexed residue indices to retain from this chain, or 'all' to keep all residues. Residues not listed are removed before design.
0-indexed residue indices to retain from this chain, or 'all' to keep all residues. Residues not listed are removed before design.
DesignMotifs []ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionStructureTemplatePolymerChainSpecDesignMotifUnionoptionalOptional motifs (replacement or insertion) defining which regions to redesign on this chain. Omit this field to include the chain as fixed scaffold context.
Optional motifs (replacement or insertion) defining which regions to redesign on this chain. Omit this field to include the chain as fixed scaffold context.
type ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionStructureTemplatePolymerChainSpecDesignMotifReplacementMotif struct{…}Replace a contiguous region of the sequence with a designed segment. Residues from start_index to end_index (inclusive) are replaced with a new sequence of the specified length.
Replace a contiguous region of the sequence with a designed segment. Residues from start_index to end_index (inclusive) are replaced with a new sequence of the specified length.
DesignLengthRange ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionStructureTemplatePolymerChainSpecDesignMotifReplacementMotifDesignLengthRangeAllowed sequence length range for designed regions
Allowed sequence length range for designed regions
Maximum sequence length in residues. Must be >= min.
Minimum sequence length in residues
0-indexed end residue (inclusive)
0-indexed start residue (inclusive)
type ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionStructureTemplatePolymerChainSpecDesignMotifInsertionMotif struct{…}Insert a designed segment at a specific position in the sequence.
Insert a designed segment at a specific position in the sequence.
0-indexed position after which to insert. Use -1 to insert before the first residue.
DesignLengthRange ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionStructureTemplatePolymerChainSpecDesignMotifInsertionMotifDesignLengthRangeAllowed sequence length range for designed regions
Allowed sequence length range for designed regions
Maximum sequence length in residues. Must be >= min.
Minimum sequence length in residues
type ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionStructureTemplateLigandChainSpec struct{…}Per-chain specification for a ligand chain in structure_template mode. The full ligand is always included.
Per-chain specification for a ligand chain in structure_template mode. The full ligand is always included.
Modality ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecModality
Structure ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecStructureUnionHow to provide a CIF structure file. URLs are auto-detected; base64 uploads must use chemical/x-cif media type.
How to provide a CIF structure file. URLs are auto-detected; base64 uploads must use chemical/x-cif media type.
type ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecStructureURLSource struct{…}
type ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecStructureCifBase64Source struct{…}
Base64-encoded CIF file contents
Must be chemical/x-cif for CIF files
Rules ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecRulesoptionalConstraints applied during sequence design
Constraints applied during sequence design
Single-letter amino acid codes to exclude from design (e.g. ['C', 'P'] to exclude cysteine and proline)
Sequence motifs to exclude from designed regions. Designs containing any of these motifs are filtered out before scoring. Use X as a single-residue wildcard (e.g. "NGS", "NXS").
Maximum allowed fraction of hydrophobic residues (I, L, V, M, F, W) in designed regions. Designs exceeding this threshold are filtered out before scoring. Leave empty to disable.
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpec struct{…}Binder specification without a structural template. Define the binder from sequence components (fixed and designed segments) without providing a starting 3D structure.
Binder specification without a structural template. Define the binder from sequence components (fixed and designed segments) without providing a starting 3D structure.
Entities []ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityUnionBinder entities composing the design. At least one must be a designed_protein entity. Additional fixed entities (RNA, DNA, ligands) can be included as part of the complex.
Binder entities composing the design. At least one must be a designed_protein entity. Additional fixed entities (RNA, DNA, ligands) can be included as part of the complex.
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityDesignedProteinEntity struct{…}Protein binder entity with designed and/or fixed segments.
Protein binder entity with designed and/or fixed segments.
Chain IDs to assign to this entity
Binder sequence specification. Fixed amino acids are written as literal single-letter codes. Designed regions are written as a length (fixed) or a length range (min..max). Example: "MKTAYI5..10VKSHFSRQ" means fixed MKTAYI, then 5-10 designed residues, then fixed VKSHFSRQ. "20" means 20 fully designed residues. "ACDE8GHI" means fixed ACDE, then 8 designed residues, then fixed GHI.
Whether the sequence is cyclic
Modifications []ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityDesignedProteinEntityModificationUnionoptionalOptional polymer modifications. Defaults to [] when omitted.
Optional polymer modifications. Defaults to [] when omitted.
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityDesignedProteinEntityModificationCcdModification struct{…}
0-based index of the residue to modify
CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for phosphoserine)
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityDesignedProteinEntityModificationSmilesModification struct{…}
0-based index of the residue to modify
SMILES string for the modification
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedProteinEntity struct{…}A fixed protein entity whose sequence is not redesigned.
A fixed protein entity whose sequence is not redesigned.
Chain IDs to assign to this entity
Amino acid sequence (one-letter codes)
Whether the sequence is cyclic
Modifications []ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedProteinEntityModificationUnionoptionalOptional polymer modifications. Defaults to [] when omitted.
Optional polymer modifications. Defaults to [] when omitted.
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedProteinEntityModificationCcdModification struct{…}
0-based index of the residue to modify
CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for phosphoserine)
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedProteinEntityModificationSmilesModification struct{…}
0-based index of the residue to modify
SMILES string for the modification
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedRnaEntity struct{…}
Chain IDs to assign to this entity
RNA nucleotide sequence (A, C, G, U, N)
Whether the sequence is cyclic
Modifications []ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedRnaEntityModificationUnionoptionalOptional polymer modifications. Defaults to [] when omitted.
Optional polymer modifications. Defaults to [] when omitted.
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedRnaEntityModificationCcdModification struct{…}
0-based index of the residue to modify
CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for phosphoserine)
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedRnaEntityModificationSmilesModification struct{…}
0-based index of the residue to modify
SMILES string for the modification
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedDnaEntity struct{…}
Chain IDs to assign to this entity
DNA nucleotide sequence (A, C, G, T, N)
Whether the sequence is cyclic
Modifications []ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedDnaEntityModificationUnionoptionalOptional polymer modifications. Defaults to [] when omitted.
Optional polymer modifications. Defaults to [] when omitted.
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedDnaEntityModificationCcdModification struct{…}
0-based index of the residue to modify
CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for phosphoserine)
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedDnaEntityModificationSmilesModification struct{…}
0-based index of the residue to modify
SMILES string for the modification
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedLigandSmilesEntity struct{…}
Chain IDs to assign to this entity
SMILES string representing the ligand
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecEntityFixedLigandCcdEntity struct{…}
Chain IDs to assign to this entity
CCD code from RCSB PDB (e.g. 'ATP', 'ADP')
Modality ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecModality
Bonds []ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecBondoptionalCovalent bond constraints between atoms in the binder complex. If defining bonds where an atom is part of a designed protein chain, assume residue indices count designed regions as the minimum length. Example: designed protein "1..3C1..2", "C" is residue 1 (0-indexed) of the designed protein.
Covalent bond constraints between atoms in the binder complex. If defining bonds where an atom is part of a designed protein chain, assume residue indices count designed regions as the minimum length. Example: designed protein "1..3C1..2", "C" is residue 1 (0-indexed) of the designed protein.
Atom1 ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecBondAtom1UnionLigand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecBondAtom1LigandAtom struct{…}Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Standardized atom name (verifiable in CIF file on RCSB). Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
Chain ID containing the atom
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecBondAtom1PolymerAtom struct{…}
Standardized atom name (verifiable in CIF file on RCSB)
Chain ID containing the atom
0-based residue index
Atom2 ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecBondAtom2UnionLigand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecBondAtom2LigandAtom struct{…}Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Standardized atom name (verifiable in CIF file on RCSB). Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
Chain ID containing the atom
type ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecBondAtom2PolymerAtom struct{…}
Standardized atom name (verifiable in CIF file on RCSB)
Chain ID containing the atom
0-based residue index
Rules ProteinDesignEstimateCostParamsBinderSpecificationNoTemplateBinderSpecRulesoptionalConstraints applied during sequence design
Constraints applied during sequence design
Single-letter amino acid codes to exclude from design (e.g. ['C', 'P'] to exclude cysteine and proline)
Sequence motifs to exclude from designed regions. Designs containing any of these motifs are filtered out before scoring. Use X as a single-residue wildcard (e.g. "NGS", "NXS").
Maximum allowed fraction of hydrophobic residues (I, L, V, M, F, W) in designed regions. Designs exceeding this threshold are filtered out before scoring. Leave empty to disable.
type ProteinDesignEstimateCostParamsBinderSpecificationBoltzCuratedBinderSpec struct{…}Boltz-managed curated binder specification. Choose a curated nanobody or antibody family and Boltz will select from maintained template lists during design. The curated lists are managed by Boltz and may be updated over time to improve quality and coverage.
Boltz-managed curated binder specification. Choose a curated nanobody or antibody family and Boltz will select from maintained template lists during design. The curated lists are managed by Boltz and may be updated over time to improve quality and coverage.
Binder ProteinDesignEstimateCostParamsBinderSpecificationBoltzCuratedBinderSpecBinderBoltz-managed curated binder family. Boltz maintains and may update the underlying template lists on behalf of customers.
Boltz-managed curated binder family. Boltz maintains and may update the underlying template lists on behalf of customers.
Rules ProteinDesignEstimateCostParamsBinderSpecificationBoltzCuratedBinderSpecRulesoptionalConstraints applied during sequence design
Constraints applied during sequence design
Single-letter amino acid codes to exclude from design (e.g. ['C', 'P'] to exclude cysteine and proline)
Sequence motifs to exclude from designed regions. Designs containing any of these motifs are filtered out before scoring. Use X as a single-residue wildcard (e.g. "NGS", "NXS").
Maximum allowed fraction of hydrophobic residues (I, L, V, M, F, W) in designed regions. Designs exceeding this threshold are filtered out before scoring. Leave empty to disable.
Number of protein designs to generate. Must be between 10 and 1,000,000.
Target param.Field[ProteinDesignEstimateCostParamsTargetUnion]Target specification (structure template or template-free)
Target specification (structure template or template-free)
type ProteinDesignEstimateCostParamsTargetStructureTemplateTarget struct{…}Target defined by an uploaded 3D structure (CIF or PDB file). Only chains included in chain_selection are used.
Target defined by an uploaded 3D structure (CIF or PDB file). Only chains included in chain_selection are used.
ChainSelection map[string, ProteinDesignEstimateCostParamsTargetStructureTemplateTargetChainSelectionUnion]Chains selected from the uploaded structure, keyed by chain ID. Only chains listed here are included in the engine run — any chains omitted from this mapping are ignored. Each value defines which residues to keep, which are epitope residues, and which are flexible.
Chains selected from the uploaded structure, keyed by chain ID. Only chains listed here are included in the engine run — any chains omitted from this mapping are ignored. Each value defines which residues to keep, which are epitope residues, and which are flexible.
type ProteinDesignEstimateCostParamsTargetStructureTemplateTargetChainSelectionStructureTemplateTargetPolymerChainSpec struct{…}Per-chain specification for a polymer (protein/RNA/DNA) chain in a structure template target.
Per-chain specification for a polymer (protein/RNA/DNA) chain in a structure template target.
CropResidues ProteinDesignEstimateCostParamsTargetStructureTemplateTargetChainSelectionStructureTemplateTargetPolymerChainSpecCropResiduesUnion0-indexed residue indices to retain from this chain, or 'all' to keep all residues. Residues not listed are excluded from the engine run.
0-indexed residue indices to retain from this chain, or 'all' to keep all residues. Residues not listed are excluded from the engine run.
0-indexed residue indices to keep
0-indexed residue indices where binder contact is desired (the epitope). All indices must be present in crop_residues.
0-indexed residue indices allowed to move during design (e.g. flexible loop regions). All indices must be present in crop_residues.
type ProteinDesignEstimateCostParamsTargetStructureTemplateTargetChainSelectionStructureTemplateTargetLigandChainSpec struct{…}Per-chain specification for a ligand chain in a structure template target. The full ligand is always included.
Per-chain specification for a ligand chain in a structure template target. The full ligand is always included.
Structure ProteinDesignEstimateCostParamsTargetStructureTemplateTargetStructureUnionHow to provide a CIF structure file. URLs are auto-detected; base64 uploads must use chemical/x-cif media type.
How to provide a CIF structure file. URLs are auto-detected; base64 uploads must use chemical/x-cif media type.
type ProteinDesignEstimateCostParamsTargetStructureTemplateTargetStructureURLSource struct{…}
type ProteinDesignEstimateCostParamsTargetStructureTemplateTargetStructureCifBase64Source struct{…}
Base64-encoded CIF file contents
Must be chemical/x-cif for CIF files
type ProteinDesignEstimateCostParamsTargetNoTemplateTarget struct{…}Target defined by sequences only, without a 3D structure template
Target defined by sequences only, without a 3D structure template
Entities []ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityUnionEntities (proteins, RNA, DNA, ligands) defining the target complex.
Entities (proteins, RNA, DNA, ligands) defining the target complex.
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityProteinEntity struct{…}
Chain IDs for this entity
Amino acid sequence (one-letter codes)
Whether the sequence is cyclic
Modifications []ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityProteinEntityModificationUnionoptionalPost-translational modifications. Optional; defaults to an empty list when omitted.
Post-translational modifications. Optional; defaults to an empty list when omitted.
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityProteinEntityModificationCcdModification struct{…}
0-based index of the residue to modify
CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for phosphoserine)
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityProteinEntityModificationSmilesModification struct{…}
0-based index of the residue to modify
SMILES string for the modification
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityRnaEntity struct{…}
Chain IDs for this entity
RNA nucleotide sequence (A, C, G, U, N)
Whether the sequence is cyclic
Modifications []ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityRnaEntityModificationUnionoptionalChemical modifications. Optional; defaults to an empty list when omitted.
Chemical modifications. Optional; defaults to an empty list when omitted.
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityRnaEntityModificationCcdModification struct{…}
0-based index of the residue to modify
CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for phosphoserine)
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityRnaEntityModificationSmilesModification struct{…}
0-based index of the residue to modify
SMILES string for the modification
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityDnaEntity struct{…}
Chain IDs for this entity
DNA nucleotide sequence (A, C, G, T, N)
Whether the sequence is cyclic
Modifications []ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityDnaEntityModificationUnionoptionalChemical modifications. Optional; defaults to an empty list when omitted.
Chemical modifications. Optional; defaults to an empty list when omitted.
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityDnaEntityModificationCcdModification struct{…}
0-based index of the residue to modify
CCD code from RCSB PDB (e.g. 'MSE' for selenomethionine, 'SEP' for phosphoserine)
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityDnaEntityModificationSmilesModification struct{…}
0-based index of the residue to modify
SMILES string for the modification
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityLigandCcdEntity struct{…}
Chain IDs for this ligand
CCD code (e.g., ATP, ADP)
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetEntityLigandSmilesEntity struct{…}
Chain IDs for this ligand
SMILES string representing the ligand
Bonds []ProteinDesignEstimateCostParamsTargetNoTemplateTargetBondoptionalCovalent bond constraints between atoms in the target complex. Atom-level ligand references currently support ligand_ccd only; ligand_smiles is unsupported.
Covalent bond constraints between atoms in the target complex. Atom-level ligand references currently support ligand_ccd only; ligand_smiles is unsupported.
Atom1 ProteinDesignEstimateCostParamsTargetNoTemplateTargetBondAtom1UnionLigand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetBondAtom1LigandAtom struct{…}Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Standardized atom name (verifiable in CIF file on RCSB). Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
Chain ID containing the atom
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetBondAtom1PolymerAtom struct{…}
Standardized atom name (verifiable in CIF file on RCSB)
Chain ID containing the atom
0-based residue index
Atom2 ProteinDesignEstimateCostParamsTargetNoTemplateTargetBondAtom2UnionLigand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetBondAtom2LigandAtom struct{…}Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Ligand atom reference. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Standardized atom name (verifiable in CIF file on RCSB). Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
Chain ID containing the atom
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetBondAtom2PolymerAtom struct{…}
Standardized atom name (verifiable in CIF file on RCSB)
Chain ID containing the atom
0-based residue index
Constraints []ProteinDesignEstimateCostParamsTargetNoTemplateTargetConstraintUnionoptionalStructural constraints (pocket and contact). Atom-level ligand references currently support ligand_ccd only; ligand_smiles is unsupported.
Structural constraints (pocket and contact). Atom-level ligand references currently support ligand_ccd only; ligand_smiles is unsupported.
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetConstraintPocketConstraint struct{…}Constrains the binder to interact with specific pocket residues on the target.
Constrains the binder to interact with specific pocket residues on the target.
Chain ID of the binder molecule
Binding pocket residues keyed by chain ID. Each key is a chain ID (e.g. "A") and the value is an array of 0-indexed residue indices that define the pocket on that chain.
Maximum allowed distance in Angstroms between binder and pocket residues. Typical range: 4-8 A.
Whether to force the constraint
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetConstraintContactConstraint struct{…}Contact constraint between two tokens. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Contact constraint between two tokens. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Maximum distance in Angstroms
Token1 ProteinDesignEstimateCostParamsTargetNoTemplateTargetConstraintContactConstraintToken1UnionLigand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetConstraintContactConstraintToken1PolymerContactToken struct{…}
Chain ID
0-based residue index
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetConstraintContactConstraintToken1LigandContactToken struct{…}Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Atom name. Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
Chain ID
Token2 ProteinDesignEstimateCostParamsTargetNoTemplateTargetConstraintContactConstraintToken2UnionLigand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetConstraintContactConstraintToken2PolymerContactToken struct{…}
Chain ID
0-based residue index
type ProteinDesignEstimateCostParamsTargetNoTemplateTargetConstraintContactConstraintToken2LigandContactToken struct{…}Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Ligand contact token. Atom-level ligand references currently support ligand_ccd entities only; ligand_smiles is unsupported.
Atom name. Atom-level references to ligand_smiles entities are currently unsupported; use ligand_ccd instead.
Chain ID
Whether to force the constraint
Chain IDs of ligand entities that are part of the binding epitope. Ligands are marked as epitope in full (no residue-level selection).
Polymer chain residues where binder contact is desired (the epitope). Each key is a chain ID of a polymer entity, each value is an array of 0-indexed residue indices.
Client-provided key to prevent duplicate submissions on retries
Target workspace ID (admin keys only; ignored for workspace keys)
ReturnsExpand Collapse
type ProteinDesignEstimateCostResponse struct{…}Estimate response with monetary values encoded as decimal strings to preserve precision.
Estimate response with monetary values encoded as decimal strings to preserve precision.
Breakdown ProteinDesignEstimateCostResponseBreakdownCost breakdown for the billed application.
Cost breakdown for the billed application.
Application ProteinDesignEstimateCostResponseBreakdownApplication
Estimated cost per displayed unit as a decimal string, rounded up to 4 decimal places. This may include token-size multipliers or generation overhead; estimated_cost_usd is the authoritative total.
Number of units shown for the estimate. For structure-and-binding, this is the requested number of samples. For protein and small-molecule design/screen endpoints, this is the requested number of proteins or molecules.
Estimated total cost as a decimal string
Estimate cost for a protein design run
package main
import (
"context"
"fmt"
"github.com/boltz-bio/boltz-api-go"
"github.com/boltz-bio/boltz-api-go/option"
)
func main() {
client := boltzapi.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.Protein.Design.EstimateCost(context.TODO(), boltzapi.ProteinDesignEstimateCostParams{
BinderSpecification: boltzapi.ProteinDesignEstimateCostParamsBinderSpecificationUnion{
OfProteinDesignEstimateCostsBinderSpecificationStructureTemplateBinderSpec: &boltzapi.ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpec{
ChainSelection: map[string]boltzapi.ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionUnion{
"B": boltzapi.ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionUnion{
OfProteinDesignEstimateCostsBinderSpecificationStructureTemplateBinderSpecChainSelectionStructureTemplatePolymerChainSpec: &boltzapi.ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionStructureTemplatePolymerChainSpec{
CropResidues: boltzapi.ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecChainSelectionStructureTemplatePolymerChainSpecCropResiduesUnion{
OfIntArray: []int64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9},
},
},
},
},
Modality: boltzapi.ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecModalityPeptide,
Structure: boltzapi.ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecStructureUnion{
OfProteinDesignEstimateCostsBinderSpecificationStructureTemplateBinderSpecStructureURLSource: &boltzapi.ProteinDesignEstimateCostParamsBinderSpecificationStructureTemplateBinderSpecStructureURLSource{
URL: "https://example.com",
},
},
},
},
NumProteins: 10,
Target: boltzapi.ProteinDesignEstimateCostParamsTargetUnion{
OfProteinDesignEstimateCostsTargetStructureTemplateTarget: &boltzapi.ProteinDesignEstimateCostParamsTargetStructureTemplateTarget{
ChainSelection: map[string]boltzapi.ProteinDesignEstimateCostParamsTargetStructureTemplateTargetChainSelectionUnion{
"A": boltzapi.ProteinDesignEstimateCostParamsTargetStructureTemplateTargetChainSelectionUnion{
OfProteinDesignEstimateCostsTargetStructureTemplateTargetChainSelectionStructureTemplateTargetPolymerChainSpec: &boltzapi.ProteinDesignEstimateCostParamsTargetStructureTemplateTargetChainSelectionStructureTemplateTargetPolymerChainSpec{
CropResidues: boltzapi.ProteinDesignEstimateCostParamsTargetStructureTemplateTargetChainSelectionStructureTemplateTargetPolymerChainSpecCropResiduesUnion{
OfIntArray: []int64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
},
},
},
},
Structure: boltzapi.ProteinDesignEstimateCostParamsTargetStructureTemplateTargetStructureUnion{
OfProteinDesignEstimateCostsTargetStructureTemplateTargetStructureURLSource: &boltzapi.ProteinDesignEstimateCostParamsTargetStructureTemplateTargetStructureURLSource{
URL: "https://example.com",
},
},
},
},
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.Breakdown)
}
{
"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"
}