endpoint: "fold" for protein sequences or endpoint: "fold_all_atom" for complexes containing proteins, RNA, DNA, and ligands.
Supported models: esmfold2-2026-05, esmfold2-fast-2026-05, and esmfold2-2026-05-cutoff-2025.
Each task predicts one structure with your folding configuration.
Unlike fold_max_accuracy, these endpoints do not generate an MSA automatically or select the best of multiple predictions.
You can supply an MSA to esmfold2-2026-05 and esmfold2-2026-05-cutoff-2025; the fast model ignores MSAs.
Sequence length
The total input length is limited to 4096 tokens. This is the same limit as fold_max_accuracy and more than the 768 tokens that the on-demandfold and fold_all_atom operations accept.
Protein residues and RNA/DNA nucleotides count as one token each; ligands and modified residues count by heavy atom.
Fold protein sequences
ESMProtein with predicted structure and confidence metrics.
Use | to separate protein chains within a sequence.
To name chains instead, pass chains as a list of ChainInput(id, sequence) objects.
Each FoldRequest takes either sequence or chains, not both.
protein.chains lists the chain IDs in fold order.
protein.chain_plddt holds one pLDDT tensor per chain with separator slots removed.
Compute per-chain confidence from chain_plddt rather than indexing plddt, which keeps a NaN slot at each chain separator.
For molecular complexes, use client.fold_all_atom with FoldAllAtomRequest; successful results are MolecularComplexResult objects. See Fold all atom for input construction.
Both handlers also provide async_submit, async_wait, async_results, and async_run.
Save the returned batch ID before waiting so you can recover results later.
See the Batch API overview for failures, cancellation, and result retention.